Initial commit

This commit is contained in:
2025-04-18 12:43:43 -07:00
commit afe167a752
14 changed files with 304 additions and 0 deletions

22
lua/plugins/ale.lua Normal file
View File

@ -0,0 +1,22 @@
return {
{
"dense-analysis/ale",
config = function()
-- Make the Lua LS not freak out about the undefined globals
vim.g.ale_linters = {
lua = { 'sumneko_lua' },
}
vim.g.ale_lua_sumneko_lua_executable = 'lua-language-server'
vim.g.ale_lua_sumneko_lua_options = {
settings = {
Lua = {
diagnostics = {
globals = { 'vim', 'Snacks' },
},
},
},
}
end
},
}