summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/bsl_ls.lua
blob: fef15f9270929556f962b176e838fe64ca3eddb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local util = require 'lspconfig.util'

return {
  default_config = {
    filetypes = { 'bsl', 'os' },
    root_dir = util.find_git_ancestor,
  },
  docs = {
    description = [[
    https://github.com/1c-syntax/bsl-language-server

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

    ]],
    default_config = {
      root_dir = [[root_pattern(".git")]],
    },
  },
}