diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-03-06 11:03:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-06 11:03:55 +0900 |
| commit | 3909679f9de4c6db4354cfcc6c82dd2d257a7a9e (patch) | |
| tree | 7e40cf46268ba6c0e4ff9e38eb98d17cc01fdd15 /lua/nvim_lsp/gdscript.lua | |
| parent | [docgen] Update README.md (diff) | |
| parent | Remove log_level according to the latest changes is master (diff) | |
| download | nvim-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/nvim_lsp/gdscript.lua')
| -rw-r--r-- | lua/nvim_lsp/gdscript.lua | 22 |
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 |
