Skip to content

Commit e448c72

Browse files
tweak(edit_file): hide tmp buffer window (#1101)
1 parent 0e8cba3 commit e448c72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lua/orgmode/utils/init.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,12 +524,13 @@ function utils.edit_file(filename)
524524
vim.api.nvim_open_win(bufnr, true, {
525525
relative = 'editor',
526526
width = 1,
527-
-- TODO: Revert to 1 once the https://github.com/neovim/neovim/issues/19464 is fixed
528-
height = 2,
527+
height = 1,
529528
row = 99999,
530529
col = 99999,
531530
zindex = 1,
532531
style = 'minimal',
532+
focusable = false,
533+
hide = true,
533534
})
534535
vim.api.nvim_set_option_value('swapfile', false, { buf = bufnr })
535536
end,

0 commit comments

Comments
 (0)