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