From b0df1782494dc67ba3bdd95e8283843e97ad675d Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Wed, 14 Mar 2018 13:02:17 +0000 Subject: [PATCH] syntax highlight files working --- vimrc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/vimrc b/vimrc index 902b889..153cebe 100644 --- a/vimrc +++ b/vimrc @@ -339,15 +339,6 @@ augroup AutoSaveFolds autocmd BufWinEnter *.* silent loadview augroup END -" set custom syntax highlighting -augroup syntaxhighlighting - autocmd BufNewFile,BufRead *.html set syntax=html - autocmd BufNewFile,BufRead *.php set syntax=php - autocmd BufNewFile,BufRead *.vue set syntax=vue - autocmd BufNewFile,BufRead *.vue syntax sync fromstart - autocmd BufNewFile,BufRead *.js set syntax=pangloss_javascript -augroup END - " fix higlight problems such as vertical-align etc augroup VimCSS3Syntax autocmd! @@ -483,6 +474,11 @@ let g:taboo_modified_tab_flag = '+' " vue-vim " disable preprocessor checking for vue files - increases speed let g:vue_disable_pre_processors=1 +" set custom syntax highlighting +augroup fixhighlighting + autocmd BufNewFile,BufRead *.vue syntax sync fromstart +augroup END + " ALE nnoremap ne :lnext