diff options
| author | GodOfAvacyn <59858208+GodOfAvacyn@users.noreply.github.com> | 2024-02-20 22:15:47 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 14:15:47 +0800 |
| commit | 41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4 (patch) | |
| tree | 86eb0c83c884306fdf06323ab3250da7f88c2c45 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar.gz nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar.bz2 nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar.lz nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar.xz nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.tar.zst nvim-lspconfig-41406a7cd95f41fe96f0ae17e6ee5a5f9a3a8bf4.zip | |
feat: add gdshader-lsp support (#3018)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/gdshader_lsp.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/gdshader_lsp.lua b/lua/lspconfig/server_configurations/gdshader_lsp.lua new file mode 100644 index 00000000..a01efa8e --- /dev/null +++ b/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. +]], + }, +} |
