aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/bsl_ls.lua
blob: baeabe2b3fbb7f2282bda1f2cce2dd7997ba926a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
  default_config = {
    filetypes = { 'bsl', 'os' },
    root_dir = function(fname)
      return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
    end,
  },
  docs = {
    description = [[
    https://github.com/1c-syntax/bsl-language-server

    Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages.

    ]],
  },
}