Compare commits

...

2 Commits

Author SHA1 Message Date
37bc89fe35 [LSP] Add rust LS 2025-06-03 09:06:39 +02:00
c63aa24fa9 [Mason] Fix auto-install servers 2025-06-03 09:06:32 +02:00
2 changed files with 17 additions and 3 deletions

View File

@ -14,8 +14,8 @@ return {
-- import cmp-nvim-lsp plugin
local cmp_nvim_lsp = require("cmp_nvim_lsp")
local capabilities = require('lsp-options').capabilities
local on_attach = require('lsp-options').on_attach
local capabilities = require("lsp-options").capabilities
local on_attach = require("lsp-options").on_attach
-- Change the Diagnostic symbols in the sign column (gutter)
local signs = { Error = "󰅚 ", Warn = "󰀪 ", Hint = "󰌶", Info = "󰋽 " }
@ -46,6 +46,19 @@ return {
on_attach = on_attach,
})
-- ┌ ┐
-- │ Rust │
-- └ ┘
vim.lsp.config("rust_analyzer", {
settings = {
["rust-analyzer"] = {
diagnostics = {
enable = false,
},
},
},
})
-- ┌ ┐
-- │ HTML, CSS, JSON │
-- └ ┘

View File

@ -32,8 +32,9 @@ return {
"marksman",
-- "lua_ls",
-- "pyright",
-- "rust_analyzer"
-- "tsserver",
"vue-language-server"
"vue_ls"
},
-- auto-install configured servers (with lspconfig)
automatic_installation = false,