We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94894f3 commit 6c39469Copy full SHA for 6c39469
ftplugin/org.lua
@@ -65,5 +65,5 @@ vim.b.undo_ftplugin = table.concat({
65
'foldexpr<',
66
'formatexpr<',
67
'omnifunc<',
68
- '| unlet! b:org_bufnr',
+ '| unlet! b:org_bufnr b:org_tmp_edit_window',
69
}, ' ')
lua/orgmode/utils/init.lua
@@ -538,6 +538,7 @@ function utils.edit_file(filename)
538
end,
539
close = function()
540
vim.cmd('silent! w')
541
+ vim.b.org_tmp_edit_window = nil
542
if buf_not_already_loaded then
543
vim.cmd('silent! bw!')
544
else
0 commit comments