From 073e4d44beb431e3846992d9145719d90d626a42 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 2 Oct 2020 10:39:03 +0200 Subject: Actually do not use ++once, fixes #573 --- autoload/polyglot/detect.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/polyglot/detect.vim') diff --git a/autoload/polyglot/detect.vim b/autoload/polyglot/detect.vim index 86783cb3..b630712d 100644 --- a/autoload/polyglot/detect.vim +++ b/autoload/polyglot/detect.vim @@ -3,7 +3,7 @@ let s:cpo_save = &cpo set cpo&vim func! s:WritePostOnce(fn) - exe 'au! filetypedetect BufWritePost ++once ' . a:fn + exe 'au! filetypedetect BufWritePost au! filetypedetect BufWritePost | ' . a:fn endfunc " DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE -- cgit v1.2.3