Skip to content

Commit ae9d9fd

Browse files
Do not disable folds on file directives (#+caption, #+name, etc.). Fixes #211
1 parent b321cc9 commit ae9d9fd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lua/orgmode/org/indent.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ local Files = require('orgmode.parser.files')
44
local prev_section = nil
55
local function foldexpr()
66
local line = vim.fn.getline(vim.v.lnum)
7-
if line:find('^%s*#%+%S+:') then
8-
return 0
9-
end
107

118
local stars = line:match('^(%*+)%s+')
129

0 commit comments

Comments
 (0)