Activate html5.vim
Please help, I have a solarized theme and the html5.vim but I am not sure if they work well together or I just need to verify html5.vim is activated on my rc.
Is anyone else using solarized dark theme, could you verify if that breaks html5 color scheme somehow?
Please advice.
I have the same issue. I've switched to another theme and now the plugin gets loaded.
I've installed the html5 plugin via vim-plug: Plug 'othree/html5.vim'
Run vim with solarized dark, see the output of :scriptnames (doesn't include html5). Change the theme (to onedark but I don't know if it matters), run :scriptnames again and confirm that html5 was loaded.
I can use solarized with html5.vim as expect. Any more info?
Same here. It doesn't work with vim-colors-solarized.
@othree experiencing a similar issue with OceanicNext theme, tags don't seem to have any color associated with them.
Here is what my theme looks like, and as well as my vimrc
Is it the same issue?
I just find on SO that html5.vim plugin can deal with that custom tags like <hello></hello>.
But it doesn't work for me.
As I understood from here #63 html5.vim plugin doesn't provide highlight for the single word tags.
I don't know what exactly next thing can break, but changing this to "\<[a-z][-.0-9_a-z]*\>" give me what I needed.
@kreedz You can copy that line to vimrc and modify to what you want. It wont break anything. (use autocmd to only add to HTML file)