initial commit
This commit is contained in:
commit
179e92ee04
17 changed files with 2377 additions and 0 deletions
15
lsp/lua_ls.lua
Normal file
15
lsp/lua_ls.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
cmd = { "lua-language-server" },
|
||||
filetypes = { "lua" },
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = { version = "LuaJIT" },
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = vim.api.nvim_get_runtime_file("", true),
|
||||
},
|
||||
diagnostics = { globals = { "vim" } },
|
||||
telemetry = { enable = false }
|
||||
},
|
||||
},
|
||||
}
|
||||
11
lsp/nixd.lua
Normal file
11
lsp/nixd.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
return {
|
||||
cmd = { "nixd" },
|
||||
filetypes = { "nix" },
|
||||
settings = {
|
||||
nixd = {
|
||||
formatting = {
|
||||
command = { "nixfmt" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue