Lazy LSP ready

This commit is contained in:
Bryan Ramos 2023-04-21 18:49:44 -04:00
parent 32be3a3319
commit c56467efe8

View file

@ -1,6 +1,3 @@
-- Define vim
vim = vim or {}
-- Line Numbering
vim.o.relativenumber = true
vim.o.number = true
@ -53,16 +50,12 @@
},
configs = {
-- tsserver = { cmd = { "tsserver", "--stdio" } },
-- pyright = { cmd = { "pyright-langserver", "--stdio" } },
lua_ls = {
settings = { Lua = { diagnostics = { globals = { "vim" }}}},
cmd = { "lua-language-server" } },
-- rnix = { cmd = { "rnix-lsp" } },
},
},
}
-- TODO: This is supposed to change the opacity for the LSP in-line error messages but it is not.
vim.cmd('highlight! link LspDiagnosticsVirtualTextError LspDiagnosticsVirtualTextErrorTransparent')
vim.cmd('highlight! LspDiagnosticsVirtualTextErrorTransparent guibg=none gui=none blend=50')