diff options
author | MengChen. Huang <[email protected]> | 2021-07-31 06:22:25 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-31 00:22:25 -0400 |
commit | bfb85f96207f5f83427f466ed55a45a69f25a6d3 (patch) | |
tree | 24202c25a5759176116d9c05a255963d1e649fc3 | |
parent | 5646462a50c9e537952fba6c2faca518c3f04139 (diff) |
add gdscript lsp support (#1164)
-rw-r--r-- | ftplugin/gdscript.lua | 1 | ||||
-rw-r--r-- | lua/default-config.lua | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/ftplugin/gdscript.lua b/ftplugin/gdscript.lua new file mode 100644 index 00000000..b23a20e2 --- /dev/null +++ b/ftplugin/gdscript.lua @@ -0,0 +1 @@ +require("lsp").setup "gdscript" diff --git a/lua/default-config.lua b/lua/default-config.lua index 41636757..0ef666aa 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -1141,6 +1141,22 @@ lvim.lang = { }, }, }, + gdscript = { + formatter = {}, + linters = {}, + lsp = { + provider = "gdscript", + setup = { + cmd = { + "nc", + "localhost", + "6008", + }, + on_attach = common_on_attach, + capabilities = common_capabilities, + }, + }, + }, } require("core.which-key").config() |