mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -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
|
-- 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')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue