From 0224389cdb3a3625a2e047ee44369d686431ba67 Mon Sep 17 00:00:00 2001 From: Samyak Sarnayak Date: Tue, 23 May 2023 11:32:08 +0530 Subject: feat: add pest_ls support (#2629) --- lua/lspconfig/server_configurations/pest_ls.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/lspconfig/server_configurations/pest_ls.lua diff --git a/lua/lspconfig/server_configurations/pest_ls.lua b/lua/lspconfig/server_configurations/pest_ls.lua new file mode 100644 index 00000000..4a56ea9f --- /dev/null +++ b/lua/lspconfig/server_configurations/pest_ls.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'pest-language-server' }, + filetypes = { 'pest' }, + root_dir = util.find_git_ancestor, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/pest-parser/pest-ide-tools + +Language server for pest grammars. +]], + }, +} -- cgit v1.2.3-70-g09d2