KeitaNakamura / tex-conceal.vim

MIT License
128 stars 46 forks source link

texStatement wont work with the latest version of vimtex plugin #30

Open zhenjieliang opened 3 years ago

zhenjieliang commented 3 years ago

Just update my vimtex plugin, and the texStatement setup in tex-conceal will not work, but the texMathSymbol works well.

If one wants to make tex-conceal works, he/she should not update the vimtex to its latest version.

KeitaNakamura commented 3 years ago

Thanks for the report. Currently vimtex v1.6 is the latest version that tex-conceal works.

For vim-plug:

Plug 'lervag/vimtex', {'tag': 'v1.6'}
oblitum commented 3 years ago

I was about to post an issue on compatibility. Here's an statement of the author on the subject: https://github.com/lervag/vimtex/issues/1881#issuecomment-738902441.

oblitum commented 3 years ago

Meanwhile I think a note on this is really needed in README because many people use vimtex, and if they go about trying tex-conceal, it won't work, and they will have to figure out why. It's what happened to me.

oblitum commented 3 years ago

FYI, I opted to stop using vimtex, rationale is here.

KeitaNakamura commented 3 years ago

@oblitum, thank you for your information. Yeah, I definitely should write note in README. I will do it when I get some time. Thanks.

tiagovla commented 3 years ago

Disabling vimtex syntax also works. let g:vimtex_syntax_enabled = 0