-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathflutter_tools.lua
More file actions
35 lines (33 loc) · 896 Bytes
/
flutter_tools.lua
File metadata and controls
35 lines (33 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
local M = {}
M.config = function()
local status_ok, flt = pcall(require, "flutter-tools")
if not status_ok then
return
end
flt.setup {
ui = { border = "rounded" },
debugger = { enabled = true, run_via_dap = true, exception_breakpoints = {} },
outline = { auto_open = false },
decorations = {
statusline = { device = true, app_version = true },
},
widget_guides = { enabled = true, debug = true },
dev_log = { enabled = false, open_cmd = "tabedit" },
lsp = {
color = {
enabled = true,
background = true,
virtual_text = false,
},
settings = {
showTodos = false,
renameFilesWithClasses = "prompt",
updateImportsOnRename = true,
completeFunctionCalls = true,
lineLength = 100,
},
on_attach = require("lvim.lsp").common_on_attach,
},
}
end
return M