nvim/pack/acp/opt/nvim-lspconfig/lua/lspconfig/server_configurations/gdscript.lua

19 lines
453 B
Lua

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'nc', 'localhost', '6008' },
filetypes = { 'gd', 'gdscript', 'gdscript3' },
root_dir = util.root_pattern('project.godot', '.git'),
},
docs = {
description = [[
https://github.com/godotengine/godot
Language server for GDScript, used by Godot Engine.
]],
default_config = {
root_dir = [[util.root_pattern("project.godot", ".git")]],
},
},
}