Skip to content

Commit c91fb47

Browse files
Fix ftplugin/indent checks being swaped.
1 parent 7b25ad0 commit c91fb47

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ftplugin/org.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
if exists('b:did_indent')
1+
if exists('b:did_ftplugin')
22
finish
33
endif
4-
let b:did_indent = 1
4+
let b:did_ftplugin = 1
55

66
lua require('orgmode.config'):setup_mappings('org')
77
function OrgmodeOmni(findstart, base)

indent/org.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
if exists('b:did_ftplugin')
1+
if exists('b:did_indent')
22
finish
33
endif
4-
let b:did_ftplugin = 1
4+
let b:did_indent = 1
55

66
function! OrgmodeFoldExpr()
77
return luaeval('require("orgmode.org.indent").foldexpr()')

0 commit comments

Comments
 (0)