added highlighting for html/css within javascript strings

This commit is contained in:
ManjaroOne666 2017-09-24 00:58:48 +01:00
commit 138d0bf57f
2 changed files with 399 additions and 1 deletions

3
vimrc
View file

@ -188,7 +188,7 @@ set statusline+=%*
set laststatus=2
" set a right margin and it's colour
set colorcolumn=100
set colorcolumn=80
set foldmethod=manual
@ -222,6 +222,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 *.js set syntax=pangloss_javascript_custom
" fix higlight problems such as vertical-align etc
augroup VimCSS3Syntax