dotfiles/symlinks/config/nvim/lua/lsp/extra_servers/cucumber.lua

20 lines
456 B
Lua
Raw Normal View History

2021-09-22 15:54:35 +00:00
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
configs.cucumberls = {
default_config = {
cmd = { 'cucumber-language-server', '--stdio' },
filetypes = { 'cucumber' },
root_dir = util.root_pattern('.git'),
},
docs = {
description = [[
https://www.npmjs.com/package/@cucumber/language-server
Cucumber Language Server
]],
default_config = {
root_dir = [[root_pattern(".git")]],
},
},
}