From ec902f5579a910fb540655dc79240fa29bb2cd35 Mon Sep 17 00:00:00 2001 From: Christofer Nolander Date: Sat, 30 Sep 2023 16:11:44 +0200 Subject: [PATCH] feat: add server configuration for glsl_analyzer This is a language server for GLSL (OpenGL Shading Language) I have written over the last few weeks. --- .../server_configurations/glsl_analyzer.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lua/lspconfig/server_configurations/glsl_analyzer.lua diff --git a/lua/lspconfig/server_configurations/glsl_analyzer.lua b/lua/lspconfig/server_configurations/glsl_analyzer.lua new file mode 100644 index 0000000000..0865cc8394 --- /dev/null +++ b/lua/lspconfig/server_configurations/glsl_analyzer.lua @@ -0,0 +1,19 @@ +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 + ]], + }, +} +