diff options
| author | Shatur95 <genaloner@gmail.com> | 2020-02-20 02:57:54 +0200 |
|---|---|---|
| committer | Shatur95 <genaloner@gmail.com> | 2020-02-20 02:57:54 +0200 |
| commit | 66167f0c735464cbb731b23a4dce9a4a3c6159b6 (patch) | |
| tree | 825a7af01c922c6b6af43efc06e861166fc74a63 /lua/nvim_lsp/gdscript.lua | |
| parent | Merge pull request #128 from h-michael/rust-analyzer (diff) | |
| download | nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar.gz nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar.bz2 nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar.lz nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar.xz nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.tar.zst nvim-lspconfig-66167f0c735464cbb731b23a4dce9a4a3c6159b6.zip | |
Add GDScript support
Diffstat (limited to 'lua/nvim_lsp/gdscript.lua')
| -rw-r--r-- | lua/nvim_lsp/gdscript.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lua/nvim_lsp/gdscript.lua b/lua/nvim_lsp/gdscript.lua new file mode 100644 index 00000000..82917a27 --- /dev/null +++ b/lua/nvim_lsp/gdscript.lua @@ -0,0 +1,26 @@ +local configs = require 'nvim_lsp/configs' +local util = require 'nvim_lsp/util' +local lsp = vim.lsp + +configs.gdscript = { + default_config = { + cmd = {"nc", "localhost", "6008"}; + filetypes = {"gd", "gdscript3"}; + root_dir = util.root_pattern("project.godot", ".git"); + log_level = lsp.protocol.MessageType.Warning; + }; + -- on_new_config = function(new_config) end; + -- on_attach = function(client, bufnr) end; + docs = { + description = [[ +https://github.com/godotengine/godot + +Language server for GDScript, used by Godot Engine. +]]; + default_config = { + root_dir = "vim's starting directory"; + }; + }; +}; + +-- vim:et ts=2 sw=2 |
