Add nvim-lazy submodule and add plugin configuration.
This commit is contained in:
parent
f545e30831
commit
b1ad0b623a
39 changed files with 1599 additions and 0 deletions
26
pkgsets/nvim/lsp/lua.nix
Normal file
26
pkgsets/nvim/lsp/lua.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.optionalString (lib.elem "nvim::lsp::lua" config.machine.pkgs) # lua
|
||||
''
|
||||
lspconfig.lua_ls.setup({
|
||||
cmd = {"${pkgs.lua-language-server}/bin/lua-language-server"},
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = 'LuaJIT'
|
||||
},
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue