As shown in the picture, part of it is highlighted, and some DOM attributes are not highlighted. Is this the reason?
Do I need to set anything in .vimrc?
阿神2017-05-16 16:44:12
.vimrc 加入以下3句:
syntax enable " enable syntax hightlight and completion
syntax on " syntax highlighing
filetype on " try to detect file types
習慣沉默2017-05-16 16:44:12
js highlighting (including js embedded in html, including independent js files), only uses a plug-in. https://github.com/pangloss/vim-javas...
曾经蜡笔没有小新2017-05-16 16:44:12
VIM’s default js syntax highlighting is quite unsatisfactory. You can find a better one online. However, I don’t recommend using too many plugins. Just take a look. However, it is recommended that you highlight the highlights, various parentheses, and various symbols, because these are the real delimiters in the code.