Skip to content

Commit

Permalink
feat: add support for dcm lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBrunhage committed Jan 12, 2024
1 parent f5dab13 commit 35ff20b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lua/lspconfig/server_configurations/dcmls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
local util = require 'lspconfig.util'

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

0 comments on commit 35ff20b

Please sign in to comment.