-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Currently I'm using the following in my config:
init = function()
vim.api.nvim_create_autocmd("BufEnter", {
pattern = "__FLUTTER_DEV_LOG__", -- Flutter log buffers have this pattern
callback = function()
vim.wo.winfixheight = true -- Lock height
end,
})
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
Metadata
Metadata
Assignees
Labels
No labels