Added autocmd to sync file syntax

This commit is contained in:
Bruno Miguel Silva
2016-05-17 10:45:25 +01:00
parent 4912687c6c
commit 7690b9ea58
+1
View File
@@ -121,3 +121,4 @@ autocmd Filetype htmldjango setlocal ts=2 sw=2 sts=2 expandtab
autocmd Filetype python setlocal ts=4 sw=4 sts=4 expandtab
autocmd Filetype javascript setlocal ts=2 sw=2 sts=2 expandtab
autocmd Filetype javascript.jsx setlocal ts=2 sw=2 sts=2 expandtab
autocmd BufEnter * :syntax sync fromstart