Auto commit: 2024-11-08 03:25:01

This commit is contained in:
Daniel Fichtinger 2024-11-08 03:25:01 -05:00
parent 67009e9e31
commit 41a51ed692
2 changed files with 7 additions and 4 deletions

View file

@ -18,6 +18,13 @@ vim.api.nvim_create_autocmd("FileType", {
syn include @tex syntax/tex.vim syn include @tex syntax/tex.vim
hi def link mathBlock Statement hi def link mathBlock Statement
hi def link mathInline Statement hi def link mathInline Statement
let g:vimtex_syntax_custom_cmds = [
" \ {'name': 'vct', 'mathmode': 1, 'argstyle': 'bold'},
" \ {'name': 'R', 'cmdre': 'R>', 'mathmode': 1, 'concealchar': ''},
\ {'name': 'R', 'mathmode': 1, 'concealchar': ''},
" \ {'name': 'mathnote', 'mathmode': 1, 'nextgroup': 'texMathTextArg'},
" \ {'name': 'nospell', 'argspell': 0},
\]
]]) ]])
-- vim.g.vimtex_syntax_conceal = { -- vim.g.vimtex_syntax_conceal = {
-- math = 1, -- math = 1,

View file

@ -7,10 +7,6 @@ return {
vim.g.vimtex_viewer_method = "zathura" vim.g.vimtex_viewer_method = "zathura"
vim.g.vimtex_quickfix_open_on_warning = 0 vim.g.vimtex_quickfix_open_on_warning = 0
vim.g.vimtex_compiler_silent = 1 vim.g.vimtex_compiler_silent = 1
vim.g.vimtex_syntax_conceal = {
math = 1,
oplus = "",
}
end, end,
keys = { keys = {
{ "<localLeader>l", "", desc = "+vimtex" }, { "<localLeader>l", "", desc = "+vimtex" },