add lazydev; rename lsp.lua

This commit is contained in:
2025-05-13 18:33:28 -05:00
parent 3ef334190a
commit fcd7a1e036
3 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
return {
"folke/lazydev.nvim",
ft = "lua", -- only load in Lua files
opts = {}, -- can pass options if needed
}

View File

@@ -138,6 +138,19 @@ return {
capabilities = capabilities,
settings = {
Lua = {
runtime = {
version = "LuaJIT",
},
diagnostics = {
globals = { "vim" },
},
workspace = {
library = vim.api.nvim_get_runtime_file("", true),
checkThirdParty = false,
},
telemetry = {
enable = false,
},
format = {
enable = true,
-- Put format options here