Skip to content

Commit 173d564

Browse files
Disable modeline in org buffers
1 parent 6a7b151 commit 173d564

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ftplugin/org.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function OrgmodeFormatExpr()
2222
return luaeval('require("orgmode.org.format")()')
2323
endfunction
2424

25+
setlocal nomodeline
2526
setlocal fillchars+=fold:\
2627
setlocal foldmethod=expr
2728
setlocal foldexpr=OrgmodeFoldExpr()

0 commit comments

Comments
 (0)