diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
| commit | b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch) | |
| tree | 366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/gdscript.lua | |
Nixos
Diffstat (limited to 'nvim/lsp/gdscript.lua')
| -rwxr-xr-x | nvim/lsp/gdscript.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim/lsp/gdscript.lua b/nvim/lsp/gdscript.lua new file mode 100755 index 0000000..79fe975 --- /dev/null +++ b/nvim/lsp/gdscript.lua @@ -0,0 +1,14 @@ +---@brief +--- +--- https://github.com/godotengine/godot +--- +--- Language server for GDScript, used by Godot Engine. + +local port = os.getenv 'GDScript_Port' or '6005' +local cmd = vim.lsp.rpc.connect('127.0.0.1', tonumber(port)) + +return { + cmd = cmd, + filetypes = { 'gd', 'gdscript', 'gdscript3' }, + root_markers = { 'project.godot', '.git' }, +} |
