added dart language support
This commit is contained in:
@@ -122,7 +122,8 @@ local function lsp_setup()
|
||||
'clangd',
|
||||
'eslint',
|
||||
'nushell',
|
||||
'tinymist'
|
||||
'tinymist',
|
||||
'dartls'
|
||||
-- 'jdtls'
|
||||
})
|
||||
|
||||
@@ -160,6 +161,8 @@ local function lsp_setup()
|
||||
cmd = { "tinymist" }
|
||||
}))
|
||||
|
||||
vim.lsp.config('dartls', with_defaults(require("plugins.spec.server_configurations.dart")))
|
||||
|
||||
vim.diagnostic.config({
|
||||
virtual_text = {
|
||||
prefix = '●', -- or '■', '▎', 'x', '' whatever you want
|
||||
|
||||
Reference in New Issue
Block a user