-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
32 lines (31 loc) · 1014 Bytes
/
init.lua
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
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.functions")
require("config.lazy")
require("flutter-tools").setup({
debugger = { -- integrate with nvim dap + install dart code debugger
enabled = false,
run_via_dap = false, -- use dap instead of a plenary job to run flutter apps
-- if empty dap will not stop on any exceptions, otherwise it will stop on those specified
-- see |:help dap.set_exception_breakpoints()| for more info
exception_breakpoints = {},
register_configurations = function(paths)
require("dap").configurations.dart = {
{
type = "dart",
name = "Dev Mobile",
request = "launch",
program = "lib/main.dart",
args = {
"--flavor",
"dev",
"--dart-define=DEV_BUILD=true",
},
},
}
end,
},
}) -- use defaults
-- NVR
if vim.fn.executable("nvr") == 1 then
vim.env.GIT_EDITOR = "nvr --remote-tab-wait +'set bufhidden=delete'"
end