add gdscript lsp support (#1164)

This commit is contained in:
MengChen. Huang 2021-07-31 06:22:25 +02:00 committed by GitHub
parent 5646462a50
commit bfb85f9620
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

1
ftplugin/gdscript.lua Normal file
View file

@ -0,0 +1 @@
require("lsp").setup "gdscript"

View file

@ -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()