WIP - add checkhealth, LSP, setup and onattach keymaps

This commit is contained in:
mathijs-bakker
2025-08-19 13:45:12 +02:00
parent a2c3fdc7d6
commit 04bbec67cb
8 changed files with 228 additions and 0 deletions

19
lua/init.lua Normal file
View File

@@ -0,0 +1,19 @@
local M = {}
M.config = {
lint_mode = false,
}
M.setup = function(user_config)
if user_config then
M.config = vim.tbl_deep_extend("force", M.config, user_config)
end
-- load submodules
require("godotdev.lsp").setup(M.config)
package.loaded["godotdev.keymaps"] = nil
require("godotdev.keymaps").setup()
end
return M