aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/glslls.lua
diff options
context:
space:
mode:
authorItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com>2023-10-16 00:41:15 +1300
committerGitHub <noreply@github.com>2023-10-15 19:41:15 +0800
commit28e449c31ce39cfc9652b2ecd3a251f52fc7c75b (patch)
treed79296aff87c1b9fd4bad20be114cca60a3493f9 /lua/lspconfig/server_configurations/glslls.lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar.gz
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar.bz2
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar.lz
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar.xz
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.tar.zst
nvim-lspconfig-28e449c31ce39cfc9652b2ecd3a251f52fc7c75b.zip
feat: add more filetype support on gls servers (#2865)
* fix(glsl_analyzer): add other common file types * fix(glslls): add other common file types
Diffstat (limited to 'lua/lspconfig/server_configurations/glslls.lua')
-rw-r--r--lua/lspconfig/server_configurations/glslls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/glslls.lua b/lua/lspconfig/server_configurations/glslls.lua
index fd6de7f8..7d1c3634 100644
--- a/lua/lspconfig/server_configurations/glslls.lua
+++ b/lua/lspconfig/server_configurations/glslls.lua
@@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'glslls', '--stdin' },
- filetypes = { 'glsl' },
+ filetypes = { 'glsl', 'vert', 'tesc', 'tese', 'frag', 'geom', 'comp' },
root_dir = util.find_git_ancestor,
single_file_support = true,
capabilities = {