From 944182b6528f732309310bb85e78b2b0f6b2e055 Mon Sep 17 00:00:00 2001 From: Rachel Date: Fri, 11 Oct 2024 22:26:05 -0700 Subject: feat: poryscript-pls (#3366) --- lua/lspconfig/configs/poryscript_pls.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/lspconfig/configs/poryscript_pls.lua (limited to 'lua') diff --git a/lua/lspconfig/configs/poryscript_pls.lua b/lua/lspconfig/configs/poryscript_pls.lua new file mode 100644 index 00000000..1cf9b975 --- /dev/null +++ b/lua/lspconfig/configs/poryscript_pls.lua @@ -0,0 +1,20 @@ +local util = require('lspconfig.util') + +return { + default_config = { + cmd = { 'poryscript-pls' }, + filetypes = { 'pory' }, + root_dir = util.find_git_ancestor, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/huderlem/poryscript-pls + +Language server for poryscript (a high level scripting language for GBA-era Pokémon decompilation projects) + ]], + default_config = { + root_dir = [[util.find_git_ancestor]], + }, + }, +} -- cgit v1.2.3-70-g09d2