This commit is contained in:
parent
d365aba3c0
commit
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