mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Lazy LSP ready
This commit is contained in:
parent
32be3a3319
commit
c56467efe8
1 changed files with 1 additions and 8 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue