chore: update config

This commit is contained in:
Kiruel 2023-10-27 15:27:08 +02:00
parent 584ba6e536
commit cb2ff3574e
13 changed files with 270 additions and 204 deletions

View file

@ -0,0 +1,22 @@
return {
"nvim-neotest/neotest",
dependencies = {
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
"sidlatau/neotest-dart"
},
config = function()
require('neotest').setup({
adapters = {
require('neotest-dart') {
command = 'fvm flutter', -- Command being used to run tests. Defaults to `flutter`
-- Change it to `fvm flutter` if using FVM
-- change it to `dart` for Dart only tests
use_lsp = true, -- When set Flutter outline information is used when constructing test name.
-- Useful when using custom test names with @isTest annotation
custom_test_method_names = {},
},
},
})
end
}