diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/bsl_ls.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lua/lspconfig/bsl_ls.lua b/lua/lspconfig/bsl_ls.lua new file mode 100644 index 00000000..048e20e5 --- /dev/null +++ b/lua/lspconfig/bsl_ls.lua @@ -0,0 +1,22 @@ +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' + +local name = 'bsl_ls' + +configs[name] = { + 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")]], + }, + }, +} |
