aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorHirokazu Hata <h.hata.ai.t@gmail.com>2020-03-06 11:03:55 +0900
committerGitHub <noreply@github.com>2020-03-06 11:03:55 +0900
commit3909679f9de4c6db4354cfcc6c82dd2d257a7a9e (patch)
tree7e40cf46268ba6c0e4ff9e38eb98d17cc01fdd15 /lua
parent[docgen] Update README.md (diff)
parentRemove log_level according to the latest changes is master (diff)
downloadnvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar.gz
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar.bz2
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar.lz
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar.xz
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.tar.zst
nvim-lspconfig-3909679f9de4c6db4354cfcc6c82dd2d257a7a9e.zip
Merge pull request #132 from Shatur95/add_gdscript
Add GDScript support
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim_lsp/gdscript.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/nvim_lsp/gdscript.lua b/lua/nvim_lsp/gdscript.lua
new file mode 100644
index 00000000..b3a6ca22
--- /dev/null
+++ b/lua/nvim_lsp/gdscript.lua
@@ -0,0 +1,22 @@
+local configs = require 'nvim_lsp/configs'
+local util = require 'nvim_lsp/util'
+
+configs.gdscript = {
+ default_config = {
+ cmd = {"nc", "localhost", "6008"};
+ filetypes = {"gd", "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");
+ };
+ };
+};
+
+-- vim:et ts=2 sw=2