html5.vim icon indicating copy to clipboard operation
html5.vim copied to clipboard

Activate html5.vim

Open Jzarecta opened this issue 9 years ago • 6 comments

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.

Jzarecta avatar Sep 30 '15 11:09 Jzarecta

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.

siancu avatar Nov 26 '15 12:11 siancu

I can use solarized with html5.vim as expect. Any more info?

othree avatar Jan 22 '16 08:01 othree

Same here. It doesn't work with vim-colors-solarized.

shanvl avatar Nov 13 '16 17:11 shanvl

@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

screen shot 2016-11-20 at 3 14 42 pm screen shot 2016-11-20 at 3 15 56 pm screen shot 2016-11-20 at 3 15 19 pm

kaylacohn avatar Nov 20 '16 20:11 kaylacohn

2017-04-09-054710_1366x768_scrot 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 avatar Apr 09 '17 00:04 kreedz

@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)

othree avatar Apr 11 '17 03:04 othree