aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2023-05-16 08:57:39 +0800
committerGitHub <noreply@github.com>2023-05-16 08:57:39 +0800
commitb5bf376dcdd4a9820fd8bb075f8c88b4623666b4 (patch)
tree6b606d6532e11bd2e83dec984e7a929442c87bb4 /lua
parentci: bump leafo/gh-actions-lua from 8 to 10 (#2606) (diff)
downloadnvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar.gz
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar.bz2
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar.lz
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar.xz
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.tar.zst
nvim-lspconfig-b5bf376dcdd4a9820fd8bb075f8c88b4623666b4.zip
feat: add cobol language support (#2616)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/server_configurations/cobol_ls.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/cobol_ls.lua b/lua/lspconfig/server_configurations/cobol_ls.lua
new file mode 100644
index 00000000..867271b9
--- /dev/null
+++ b/lua/lspconfig/server_configurations/cobol_ls.lua
@@ -0,0 +1,17 @@
+local util = require 'lspconfig.util'
+
+return {
+ default_config = {
+ cmd = { 'cobol-language-support' },
+ filetypes = { 'cobol' },
+ root_dir = util.find_git_ancestor,
+ },
+ docs = {
+ description = [[
+Cobol language support
+ ]],
+ default_config = {
+ root_dir = [[util.find_git_ancestor]],
+ },
+ },
+}