# Vimtex conceal doesn't recognize new command math environment

I recently added the vimtex plugin which includes a conceal feature which I really like; however, I found it doesn't work in custom math environments such as



I share my latex documents with other collaborators that frequently use these new commands, so I cannot unilaterally decide to drop the use of these new commands in favor of another feature (e.g) ultisnips. Is there any way I can make the conceal feature recognize these new commands as a math environment?

• FYI, concealment is defined in vim syntax files. vimtex only extends the syntax file in \$VIMRUNTIME and does not provide an alternative syntax file. This means concealment works without vimtex. vimtex only adds a few definitions for environments of amsmath. – Hotschke Jul 9 at 15:59
• Personal note: I would not use these commands in any of my documents and would strongly ask my collaborators to stick to default LaTeX with amsmath. They can use personal redefinitions in their documents and should not impose them on other people. I think this is impolite. Sorry that you are in this position. BTW What about search and replace to remove them when you get the document? I also think syntax highlighting in any latex editor will not work correctly when using these definitions. – Hotschke Jul 9 at 16:01