1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 02:45:48 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/dcmls.lua

20 lines
383 B
Lua
Raw Normal View History

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'dcm', 'start-server', '--client=neovim' },
filetypes = { 'dart' },
root_dir = util.root_pattern 'pubspec.yaml',
},
docs = {
description = [[
https://dcm.dev/
Language server for DCM analyzer.
]],
default_config = {
root_dir = [[root_pattern("pubspec.yaml")]],
},
},
}