mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-12-25 12:14:19 +01:00
41 lines
662 B
Lua
41 lines
662 B
Lua
return {
|
|
recommended = function()
|
|
return LazyVim.extras.wants({
|
|
ft = "dart",
|
|
root = { "pubspec.yaml" },
|
|
})
|
|
end,
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
opts = {
|
|
servers = {
|
|
dartls = {},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = { ensure_installed = { "dart" } },
|
|
},
|
|
{
|
|
"stevearc/conform.nvim",
|
|
opts = {
|
|
formatters_by_ft = {
|
|
dart = { "dart_format" },
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"nvim-neotest/neotest",
|
|
optional = true,
|
|
dependencies = {
|
|
"sidlatau/neotest-dart",
|
|
},
|
|
opts = {
|
|
adapters = {
|
|
["neotest-dart"] = {},
|
|
},
|
|
},
|
|
},
|
|
}
|