Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d4b0cb9

Browse files
authored
fix: Buffer is not 'modifiable' (#477)
1 parent d1022db commit d4b0cb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/flutter-tools/ui.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ function M.open_win(opts, on_open)
149149
vim.bo[buf].filetype = opts.filetype
150150
vim.bo[buf].swapfile = false
151151
vim.bo[buf].buftype = "nofile"
152+
vim.bo[buf].buflisted = false
152153
if on_open then on_open(buf, win) end
153154
if not opts.focus_on_open then
154155
-- Switch back to the previous window

0 commit comments

Comments
 (0)