aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/poryscript_pls.lua
blob: 43b2a503f773e049623e8fc59978f029229d159c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
  default_config = {
    cmd = { 'poryscript-pls' },
    filetypes = { 'pory' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
    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)
    ]],
  },
}