Skip to content

Commit

Permalink
NeoVim LSP update
Browse files Browse the repository at this point in the history
  • Loading branch information
arg committed Jan 30, 2025
1 parent f2b2d30 commit 9e7172d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions home/.config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ require("lazy").setup({
require("cmp_nvim_lsp").default_capabilities()
)
local flags = { debounce_text_changes = 500 }
-- nvim_lsp.solargraph.setup({
-- capabilities = capabilities,
-- flags = flags
-- })
nvim_lsp.ruby_lsp.setup({
capabilities = capabilities,
flags = flags,
Expand Down Expand Up @@ -211,10 +207,10 @@ require("lazy").setup({
stylelintplus = { autoFixOnFormat = true }
}
})
-- to install: npm install -g @cucumber/language-server (Node.js v22 required)
nvim_lsp.cucumber_language_server.setup({
capabilities = capabilities,
flags = flags,
cmd = { "npx", "cucumber-language-server", "--stdio" }
flags = flags
})
nvim_lsp.rust_analyzer.setup({
capabilities = capabilities,
Expand All @@ -233,7 +229,7 @@ require("lazy").setup({
}
}
})
-- efm-langserver must be installed: brew install efm-langserver
-- to install: brew install efm-langserver
nvim_lsp.efm.setup({
capabilities = capabilities,
init_options = { documentFormatting = true, formatting = true },
Expand Down

0 comments on commit 9e7172d

Please sign in to comment.