15 lines
329 B
Lua
15 lines
329 B
Lua
-- Load Neovim's LSP configuration module
|
|
local lspconfig = require("vim.lsp.lspconfig")
|
|
|
|
-- Configure the Lua language server
|
|
lspconfig.lua_ls.setup({
|
|
settings = {
|
|
Lua = {
|
|
diagnostics = {
|
|
globals = { "vim" }, -- avoid warnings for Neovim globals
|
|
},
|
|
},
|
|
},
|
|
})
|
|
|