summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index c618fef..089c7b4 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -83,6 +83,9 @@ set shiftwidth=4
set softtabstop=4
set noexpandtab
+" Check if file has changed
+au FocusGained,BufEnter * :checktime
+
let g:tex_flavor='latex'
if has('nvim')