fixed vue syntax sync fromstart
This commit is contained in:
parent
dae8818696
commit
066d50d9a1
4
vimrc
4
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue