We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 956897b commit 94894f3Copy full SHA for 94894f3
lua/orgmode/utils/init.lua
@@ -417,7 +417,7 @@ end
417
function utils.open_tmp_org_window(height, split_mode, border, on_close)
418
local prev_winnr = vim.api.nvim_get_current_win()
419
utils.open_window(vim.fn.tempname() .. '.org', height or 16, split_mode, border)
420
- vim.cmd([[setlocal bufhidden=wipe nobuflisted nolist noswapfile nofoldenable]])
+ vim.cmd([[setlocal filetype=org bufhidden=wipe nobuflisted nolist noswapfile nofoldenable]])
421
local bufnr = vim.api.nvim_get_current_buf()
422
423
if on_close then
@@ -476,7 +476,6 @@ function utils.open_float(name, opts)
476
height = height,
477
row = row,
478
col = col,
479
- style = 'minimal',
480
border = opts.border,
481
})
482
end
0 commit comments