diff options
| author | Rachel <lhearachel@proton.me> | 2024-10-11 22:26:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-12 13:26:05 +0800 |
| commit | 944182b6528f732309310bb85e78b2b0f6b2e055 (patch) | |
| tree | de97b55a157cba92b2089e8cab3f49e52dc56742 /lua/lspconfig/configs/poryscript_pls.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar.gz nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar.bz2 nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar.lz nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar.xz nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.tar.zst nvim-lspconfig-944182b6528f732309310bb85e78b2b0f6b2e055.zip | |
feat: poryscript-pls (#3366)
Diffstat (limited to 'lua/lspconfig/configs/poryscript_pls.lua')
| -rw-r--r-- | lua/lspconfig/configs/poryscript_pls.lua | 20 |
1 files changed, 20 insertions, 0 deletions
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]], + }, + }, +} |
