Actually do not use ++once, fixes #573

This commit is contained in:
Adam Stankiewicz
2020-10-02 10:39:03 +02:00
parent 5bd9f16476
commit 073e4d44be

View File

@@ -3,7 +3,7 @@ let s:cpo_save = &cpo
set cpo&vim
func! s:WritePostOnce(fn)
exe 'au! filetypedetect BufWritePost <buffer> ++once ' . a:fn
exe 'au! filetypedetect BufWritePost <buffer> au! filetypedetect BufWritePost <buffer> | ' . a:fn
endfunc
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE