X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=dotfiles_user_minimal%2Fvimrc;h=74b24865cf659f3002985ce06aa9c24ba5f139d6;hb=70fe8aaca5e544c5eb85cd5eff0133264ea5b1e9;hp=107aef98c9bb5bfb9d840a88c1edb1d13bfc96b0;hpb=e92f47f3957789c6b66c75c8ffd5b6520139a462;p=config
diff --git a/dotfiles_user_minimal/vimrc b/dotfiles_user_minimal/vimrc
index 107aef9..74b2486 100644
--- a/dotfiles_user_minimal/vimrc
+++ b/dotfiles_user_minimal/vimrc
@@ -16,3 +16,9 @@ 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
+
+" Mark the 80-th column.
+set colorcolumn=80