Skip to content

Commit

Permalink
Disable modeline in org buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
kristijanhusak committed Sep 10, 2022
1 parent 6a7b151 commit 173d564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftplugin/org.vim
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function OrgmodeFormatExpr()
return luaeval('require("orgmode.org.format")()')
endfunction

setlocal nomodeline
setlocal fillchars+=fold:\
setlocal foldmethod=expr
setlocal foldexpr=OrgmodeFoldExpr()
Expand Down

0 comments on commit 173d564

Please sign in to comment.