Skip to content

Commit

Permalink
Setup flutter-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
avocadeys committed Apr 19, 2023
1 parent 35ef650 commit a4c303c
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion lua/plugins/flutter-tools.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,40 @@ return {
},

config = function()
require("flutter-tools").setup {}
require("flutter-tools").setup ({
debugger = {
enabled = true,
run_via_dap = true,
},
outline = {
auto_open = false
},
decorations = {
statusline = {
device = true, app_version = true
},
},
widget_guides = {
enabled = true, debug = true
},
dev_log = {
enabled = true, open_cmd = "tabedit"
},
flutter_path = "/home/zubarev/fvm/default/bin",
fvm = true,
lsp = {
color = {
enabled = true,
background = true,
virtual_text = false,
},
settings = {
showTodos = true,
renameFilesWithClasses = "prompt",
},
capabilities = require("cmp_nvim_lsp").default_capabilities,
},
})
end
}
}

0 comments on commit a4c303c

Please sign in to comment.