Compare commits
2 Commits
1be9e1875e
...
37bc89fe35
Author | SHA1 | Date | |
---|---|---|---|
37bc89fe35 | |||
c63aa24fa9 |
@ -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 │
|
||||
-- └ ┘
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user