New answers tagged filetype-html
3
To shed some light on what's going on. As you probably know, HTML originates from SGML. In SGML they could write something like that:
<!ELEMENT some serious stuff
--
Some stupid comments
that can even spread across multiple lines
--
more serious stuff
-- More stupid comments --
>
BTW. Note there's no space between <! and ELEMENT, but ...
3
This was a bug in Vim's HTML syntax, which @Matt has fixed with lightning-speed.
Upgrade to an upcoming version of Vim to fix this, or simply copy runtime/syntax/html.vim from Matt's fork into ~/.vim/syntax to try out his fix immediately.
Top 50 recent answers are included
Related Tags
filetype-html × 54indentation × 16
syntax-highlighting × 8
vimrc × 6
vimscript × 3
search × 3
formatting × 3
filetype-xml × 3
filetype-scss × 3
autocompletion × 2
folding × 2
plugin-ale × 2
key-bindings × 1
neovim × 1
cut-copy-paste × 1
substitute × 1
cursor-movement × 1
insert-mode × 1
visual-mode × 1
colorscheme × 1
replace × 1
cursor-motions × 1
plugin-system × 1
filetype × 1
spell-checking × 1