added highlighting for html/css within javascript strings
This commit is contained in:
parent
13a323b19c
commit
138d0bf57f
2 changed files with 399 additions and 1 deletions
3
vimrc
3
vimrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue