summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-02 10:39:03 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-02 10:39:03 +0200
commit073e4d44beb431e3846992d9145719d90d626a42 (patch)
treeb17c71f4ae182193d2a72af0a9155414ca1f84c8
parent5bd9f16476dbefc44ad23df08268d66bb938107f (diff)
downloadvim-polyglot-073e4d44beb431e3846992d9145719d90d626a42.tar.gz
vim-polyglot-073e4d44beb431e3846992d9145719d90d626a42.zip
Actually do not use ++once, fixes #573
Diffstat (limited to '')
-rw-r--r--autoload/polyglot/detect.vim2
1 files changed, 1 insertions, 1 deletions
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 <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