syntax highlight files working

This commit is contained in:
ManjaroOne666 2018-03-14 13:02:17 +00:00
parent 601c258e73
commit b0df178249
1 changed files with 5 additions and 9 deletions

14
vimrc
View File

@ -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 <leader>ne :lnext<cr>