home · contact · privacy
Grow vimrc.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 15 Sep 2015 19:47:13 +0000 (21:47 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 15 Sep 2015 19:47:13 +0000 (21:47 +0200)
dotfiles_user_minimal/vimrc

index 107aef98c9bb5bfb9d840a88c1edb1d13bfc96b0..0110b6e72c3a50747a4ffc5acef83342b04393f7 100644 (file)
@@ -16,3 +16,6 @@ set backupdir=~/.vimbackups
 let myvar = strftime("%Y-%m-%d_%H-%M-%S")
 let myvar = "set backupext=_". myvar
 execute myvar
 let myvar = strftime("%Y-%m-%d_%H-%M-%S")
 let myvar = "set backupext=_". myvar
 execute myvar
+
+" Keep syntax highlighting healthy.
+autocmd BufEnter * :syntax sync fromstart