Skip to content

Commit d26d52b

Browse files
fix: Set tmp edit window height to 2 until upstream issue is fixed
Closes #482
1 parent 8b2bf5d commit d26d52b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lua/orgmode/capture/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ function Capture:_refile_to(file, lines, item, destination_line)
286286
vim.api.nvim_open_win(bufnr, true, {
287287
relative = 'editor',
288288
width = 1,
289-
height = 1,
289+
-- TODO: Revert to 1 once the https://github.com/neovim/neovim/issues/19464 is fixed
290+
height = 2,
290291
row = 99999,
291292
col = 99999,
292293
zindex = 1,

lua/orgmode/parser/files.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ function Files.update_file(filename, action)
190190
vim.api.nvim_open_win(bufnr, true, {
191191
relative = 'editor',
192192
width = 1,
193-
height = 1,
193+
-- TODO: Revert to 1 once the https://github.com/neovim/neovim/issues/19464 is fixed
194+
height = 2,
194195
row = 99999,
195196
col = 99999,
196197
zindex = 1,

0 commit comments

Comments
 (0)