Attach Godot LSP server to Neovim on Linux/MacOS

This commit is contained in:
mathijs-bakker
2025-08-20 17:17:59 +02:00
parent 04bbec67cb
commit 70fec979b3
6 changed files with 168 additions and 0 deletions

14
lua/godotdev/setup.lua Normal file
View File

@@ -0,0 +1,14 @@
local M = {}
M.opts = {
editor_host = "127.0.0.1",
editor_port = 6005,
}
function M.setup(opts)
M.opts = vim.tbl_extend("force", M.opts, opts or {})
require("godotdev.lsp").setup({ editor_host = M.opts.editor_host, editor_port = M.opts.editor_port })
require("godotdev.health").setup({ port = M.opts.editor_port })
end
return M