mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-11 02:45:48 +08:00
20 lines
383 B
Lua
20 lines
383 B
Lua
|
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")]],
|
||
|
},
|
||
|
},
|
||
|
}
|