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 -- Line Numbering
vim.o.relativenumber = true vim.o.relativenumber = true
vim.o.number = true vim.o.number = true
@ -53,16 +50,12 @@
}, },
configs = { configs = {
-- tsserver = { cmd = { "tsserver", "--stdio" } },
-- pyright = { cmd = { "pyright-langserver", "--stdio" } },
lua_ls = { lua_ls = {
settings = { Lua = { diagnostics = { globals = { "vim" }}}}, 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. -- 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! link LspDiagnosticsVirtualTextError LspDiagnosticsVirtualTextErrorTransparent')
vim.cmd('highlight! LspDiagnosticsVirtualTextErrorTransparent guibg=none gui=none blend=50') vim.cmd('highlight! LspDiagnosticsVirtualTextErrorTransparent guibg=none gui=none blend=50')