Skip to content

Commit b9e469c

Browse files
committed
Use standard auto-group clearing to make it easier to add rules
1 parent be5b047 commit b9e469c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin/criticmarkup.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
augroup criticmarkup
2-
au! Filetype pandoc,markdown,mkd,txt call criticmarkup#Init()
3-
au! Syntax pandoc,markdown,mkd,txt call criticmarkup#InjectHighlighting()
2+
autocmd!
3+
autocmd Filetype pandoc,markdown,mkd,txt call criticmarkup#Init()
4+
autocmd Syntax pandoc,markdown,mkd,txt call criticmarkup#InjectHighlighting()
45
augroup END

0 commit comments

Comments
 (0)