diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/gdshader_lsp.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/gdshader_lsp.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/gdshader_lsp.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/gdshader_lsp.lua new file mode 100644 index 0000000..a01efa8 --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/gdshader_lsp.lua @@ -0,0 +1,16 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'gdshader-lsp', '--stdio' }, + filetypes = { 'gdshader', 'gdshaderinc' }, + root_dir = util.root_pattern 'project.godot', + }, + docs = { + description = [[ +https://github.com/godofavacyn/gdshader-lsp + +A language server for the Godot Shading language. +]], + }, +} |