From 710d5386df1894ff5c84da48836e959b47294b5e Mon Sep 17 00:00:00 2001 From: Christofer Nolander Date: Sun, 1 Oct 2023 01:45:20 +0200 Subject: 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. --- lua/lspconfig/server_configurations/glsl_analyzer.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/lspconfig/server_configurations/glsl_analyzer.lua (limited to 'lua') 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 + ]], + }, +} -- cgit v1.2.3-70-g09d2