fixed vue syntax sync fromstart

This commit is contained in:
ManjaroOne666 2017-12-03 16:19:56 +00:00
parent dae8818696
commit 066d50d9a1
1 changed files with 1 additions and 3 deletions

4
vimrc
View File

@ -230,9 +230,6 @@ set formatoptions=cq
" disable wrapping based on terminal size
set wrapmargin=0
" highlight text from start for .vue files
autocmd FileType vue syntax sync fromstart
set t_Co=255 " number of colours
set t_Sf=<Esc>[3%p1%dm " foreground colour
set t_Sb=<Esc>[4%p1%dm " background coloru
@ -246,6 +243,7 @@ set showmode
autocmd BufNewFile,BufRead *.html set syntax=html_custom
autocmd BufNewFile,BufRead *.php set syntax=php_custom
autocmd BufNewFile,BufRead *.vue set syntax=vue_custom
autocmd BufNewFile,BufRead *.vue syntax sync fromstart
autocmd BufNewFile,BufRead *.js set syntax=pangloss_javascript_custom
" fix higlight problems such as vertical-align etc