You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
init=function()
vim.api.nvim_create_autocmd("BufEnter", {
pattern="__FLUTTER_DEV_LOG__", -- Flutter log buffers have this patterncallback=function()
vim.wo.winfixheight=true-- Lock heightend,
})
end,
This locks the height according to what I've specified here:
dev_log= {
open_cmd="botright 10split", -- command to use to open the log buffer
}
The good thing about this is ff your terminal window resizes, the dev log buffer remains at its fixed height.
The problem:
Debugging flutter apps often require restarting or resizing the window of the application being debugged which if you're using a WTM can become super annoying having to manually resize the dev log window every time.
Would be super convenient if we're able to have this built in to the config opts for dev_log though.
Cheers
The text was updated successfully, but these errors were encountered:
Currently I'm using the following in my config:
This locks the height according to what I've specified here:
The good thing about this is ff your terminal window resizes, the dev log buffer remains at its fixed height.
The problem:
Debugging flutter apps often require restarting or resizing the window of the application being debugged which if you're using a WTM can become super annoying having to manually resize the dev log window every time.
Would be super convenient if we're able to have this built in to the config opts for
dev_log
though.Cheers
The text was updated successfully, but these errors were encountered: