summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 17:29:57 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-06 17:29:57 +0900
commit58b470132119f01883ef68411adf62f65d91a0e9 (patch)
tree307fbb954892feeea35e6fe343032e59893df714 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua
parent7abaacdd7b7ebadaa6833c200eead4e84cb236d8 (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua28
1 files changed, 23 insertions, 5 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua
index c6fc158..b265f5b 100644
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lsp.lua
@@ -3,8 +3,8 @@ return {
"neovim/nvim-lspconfig",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
- "williamboman/mason.nvim",
- "williamboman/mason-lspconfig.nvim",
+ "mason-org/mason.nvim",
+ "mason-org/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
@@ -90,6 +90,7 @@ return {
"bashls",
"dockerls",
"docker_compose_language_service",
+ "harper_ls",
"jdtls",
"jsonls",
"lua_ls",
@@ -189,6 +190,23 @@ return {
-- },
})
end,
+ ["harper_ls"] = function()
+ lspconfig.harper_ls.setup({
+ capabilities = capabilities,
+ filetypes = { "markdown", "python" },
+ settings = {
+ ToDoHyphen = false,
+ -- SentenceCapitalization = true,
+ -- SpellCheck = true,
+ isolateEnglish = true,
+ markdown = {
+ -- [ignores this part]()
+ -- [[ also ignores my marksman links ]]
+ IgnoreLinkTitle = true,
+ },
+ },
+ })
+ end,
},
})
@@ -283,7 +301,7 @@ return {
})
vim.diagnostic.config({
- -- update_in_insert = true,
+ update_in_insert = true,
float = {
header = "",
border = "rounded",
@@ -381,8 +399,8 @@ return {
-- "neovim/nvim-lspconfig",
-- event = { "BufReadPre", "BufNewFile" },
-- dependencies = {
- -- "williamboman/mason.nvim",
- -- "williamboman/mason-lspconfig.nvim",
+ -- "mason-org/mason.nvim",
+ -- "mason-org/mason-lspconfig.nvim",
-- "WhoIsSethDaniel/mason-tool-installer.nvim",
-- "hrsh7th/cmp-nvim-lsp",
-- "hrsh7th/cmp-buffer",