lsp
This commit is contained in:
14
lua/config/lsp.lua
Normal file
14
lua/config/lsp.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
-- 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
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user