syntax highlight files working
This commit is contained in:
parent
601c258e73
commit
b0df178249
14
vimrc
14
vimrc
|
@ -339,15 +339,6 @@ augroup AutoSaveFolds
|
||||||
autocmd BufWinEnter *.* silent loadview
|
autocmd BufWinEnter *.* silent loadview
|
||||||
augroup END
|
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
|
" fix higlight problems such as vertical-align etc
|
||||||
augroup VimCSS3Syntax
|
augroup VimCSS3Syntax
|
||||||
autocmd!
|
autocmd!
|
||||||
|
@ -483,6 +474,11 @@ let g:taboo_modified_tab_flag = '+'
|
||||||
" vue-vim
|
" vue-vim
|
||||||
" disable preprocessor checking for vue files - increases speed
|
" disable preprocessor checking for vue files - increases speed
|
||||||
let g:vue_disable_pre_processors=1
|
let g:vue_disable_pre_processors=1
|
||||||
|
" set custom syntax highlighting
|
||||||
|
augroup fixhighlighting
|
||||||
|
autocmd BufNewFile,BufRead *.vue syntax sync fromstart
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
" ALE
|
" ALE
|
||||||
nnoremap <leader>ne :lnext<cr>
|
nnoremap <leader>ne :lnext<cr>
|
||||||
|
|
Loading…
Reference in New Issue