neovim: Add conceal for stmaryrd symbols

nazuna
Simon Bruder 2022-11-02 00:26:16 +01:00
parent dd6e8078dd
commit c906e208e2
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 13 additions and 0 deletions

View File

@ -333,6 +333,19 @@ g.vimtex_quickfix_ignore_filters = {
[[Package typearea Warning: Bad type area settings!]],
}
g.vimtex_syntax_custom_cmds = {
{
name = 'llbracket',
mathmode = true,
concealchar = '',
},
{
name = 'rrbracket',
mathmode = true,
concealchar = '',
},
}
-- When using math environments vim does not know if if it currently is in one or outside of one
-- unless it parses the file from the start.
-- Parsing the file from the start each time fixes this