Compare commits
1 commit
main
...
nvim-lua-l
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 42ea0f97b1 |
18
.nvim.lua
Normal file
18
.nvim.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
local lspconfig = require("lspconfig")
|
||||
|
||||
-- FIXME: https://github.com/folke/neodev.nvim ?
|
||||
lspconfig.lua_ls.setup({
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = "LuaJIT",
|
||||
},
|
||||
workspace = {
|
||||
checkThirdParty = false,
|
||||
library = {
|
||||
vim.env.VIMRUNTIME,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
gitAndTools.pre-commit
|
||||
lua-language-server
|
||||
nixpkgs-fmt
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue