Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate html5.vim #67

Open
Jzarecta opened this issue Sep 30, 2015 · 6 comments
Open

Activate html5.vim #67

Jzarecta opened this issue Sep 30, 2015 · 6 comments

Comments

@Jzarecta
Copy link

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.

@siancu
Copy link

siancu commented Nov 26, 2015

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.

@othree
Copy link
Owner

othree commented Jan 22, 2016

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

@shanvl
Copy link

shanvl commented Nov 13, 2016

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

@kaylacohn
Copy link

kaylacohn commented Nov 20, 2016

@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

@kreedz
Copy link

kreedz commented Apr 9, 2017

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.

@othree
Copy link
Owner

othree commented Apr 11, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants