Compare commits
2 Commits
1be9e1875e
...
37bc89fe35
Author | SHA1 | Date | |
---|---|---|---|
37bc89fe35 | |||
c63aa24fa9 |
@ -14,8 +14,8 @@ return {
|
|||||||
-- import cmp-nvim-lsp plugin
|
-- import cmp-nvim-lsp plugin
|
||||||
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||||
|
|
||||||
local capabilities = require('lsp-options').capabilities
|
local capabilities = require("lsp-options").capabilities
|
||||||
local on_attach = require('lsp-options').on_attach
|
local on_attach = require("lsp-options").on_attach
|
||||||
|
|
||||||
-- Change the Diagnostic symbols in the sign column (gutter)
|
-- Change the Diagnostic symbols in the sign column (gutter)
|
||||||
local signs = { Error = " ", Warn = " ", Hint = "", Info = " " }
|
local signs = { Error = " ", Warn = " ", Hint = "", Info = " " }
|
||||||
@ -46,6 +46,19 @@ return {
|
|||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- ┌ ┐
|
||||||
|
-- │ Rust │
|
||||||
|
-- └ ┘
|
||||||
|
vim.lsp.config("rust_analyzer", {
|
||||||
|
settings = {
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
diagnostics = {
|
||||||
|
enable = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
-- ┌ ┐
|
-- ┌ ┐
|
||||||
-- │ HTML, CSS, JSON │
|
-- │ HTML, CSS, JSON │
|
||||||
-- └ ┘
|
-- └ ┘
|
||||||
|
@ -32,8 +32,9 @@ return {
|
|||||||
"marksman",
|
"marksman",
|
||||||
-- "lua_ls",
|
-- "lua_ls",
|
||||||
-- "pyright",
|
-- "pyright",
|
||||||
|
-- "rust_analyzer"
|
||||||
-- "tsserver",
|
-- "tsserver",
|
||||||
"vue-language-server"
|
"vue_ls"
|
||||||
},
|
},
|
||||||
-- auto-install configured servers (with lspconfig)
|
-- auto-install configured servers (with lspconfig)
|
||||||
automatic_installation = false,
|
automatic_installation = false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user