diff --git a/users/simon/modules/neovim/init.lua b/users/simon/modules/neovim/init.lua index 4c1e7be..b37df9e 100644 --- a/users/simon/modules/neovim/init.lua +++ b/users/simon/modules/neovim/init.lua @@ -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