diff options
| author | Nikita Ivanchenko <36507839+Nivanchenko@users.noreply.github.com> | 2021-11-14 20:20:00 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-14 09:20:00 -0800 |
| commit | 6b506456e2058ebd206bc0c879c83832e936d332 (patch) | |
| tree | c8cfb7d3283138dd81bca7fbeff044c7ccb83fa1 /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar.gz nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar.bz2 nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar.lz nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar.xz nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.tar.zst nvim-lspconfig-6b506456e2058ebd206bc0c879c83832e936d332.zip | |
feat: add BSL language server (#1269)
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
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")]], + }, + }, +} |
