add lazydev; rename lsp.lua
This commit is contained in:
5
lua/dkelly/plugins/lazydev.lua
Normal file
5
lua/dkelly/plugins/lazydev.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"folke/lazydev.nvim",
|
||||
ft = "lua", -- only load in Lua files
|
||||
opts = {}, -- can pass options if needed
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user