From: Christian Heller Date: Tue, 15 Sep 2015 19:47:13 +0000 (+0200) Subject: Grow vimrc. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance2?a=commitdiff_plain;h=00f803f9556037919ad5704300306acc64da7266;p=config Grow vimrc. --- diff --git a/dotfiles_user_minimal/vimrc b/dotfiles_user_minimal/vimrc index 107aef9..0110b6e 100644 --- a/dotfiles_user_minimal/vimrc +++ b/dotfiles_user_minimal/vimrc @@ -16,3 +16,6 @@ set backupdir=~/.vimbackups 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