aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorChristofer Nolander <christofer@nolander.me>2023-10-01 01:45:20 +0200
committerGitHub <noreply@github.com>2023-10-01 07:45:20 +0800
commit710d5386df1894ff5c84da48836e959b47294b5e (patch)
tree0af81d316b142c04563c1efe7e9c8dc7bd04f472 /lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar.gz
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar.bz2
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar.lz
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar.xz
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.tar.zst
nvim-lspconfig-710d5386df1894ff5c84da48836e959b47294b5e.zip
feat: add server configuration for glsl_analyzer (#2840)
This is a language server for GLSL (OpenGL Shading Language) I have written over the last few weeks.
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/glsl_analyzer.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/glsl_analyzer.lua b/lua/lspconfig/server_configurations/glsl_analyzer.lua
new file mode 100644
index 00000000..b948c36f
--- /dev/null
+++ b/lua/lspconfig/server_configurations/glsl_analyzer.lua
@@ -0,0 +1,18 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'glsl_analyzer' },
+ filetypes = { 'glsl' },
+ root_dir = util.find_git_ancestor,
+ single_file_support = true,
+ capabilities = {},
+ },
+ docs = {
+ description = [[
+https://github.com/nolanderc/glsl_analyzer
+
+Language server for GLSL
+ ]],
+ },
+}