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

This commit is contained in:
Daniel Fichtinger 2024-11-08 03:50:01 -05:00
parent ebc0ced281
commit 529ca8395e
2 changed files with 1 additions and 16 deletions

View file

@ -1,6 +1,6 @@
lastupdatecheck: 0 lastupdatecheck: 0
recentrepos: recentrepos:
- /home/fic/cisc/indiv-project - /home/fic
- /home/fic/scripts - /home/fic/scripts
startuppopupversion: 5 startuppopupversion: 5
lastversion: 0.44.1 lastversion: 0.44.1

View file

@ -3,14 +3,6 @@
-- Add any additional autocmds here -- Add any additional autocmds here
vim.opt_local.breakindent = true vim.opt_local.breakindent = true
vim.opt_local.wrap = true vim.opt_local.wrap = true
vim.api.nvim_create_autocmd("FileType", {
pattern = "tex",
callback = function()
vim.cmd([[
syntax match texMathSymbol "\\oplus" conceal cchar=
]])
end,
})
-- This autocommand fixes syntax highlighting for inline math in markdown files -- This autocommand fixes syntax highlighting for inline math in markdown files
-- Together with vimtex, it will apply very sexy good stuff here! -- Together with vimtex, it will apply very sexy good stuff here!
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
@ -25,13 +17,6 @@ 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_custom_cmds = vim.tbl_extend("force", vim.g.vimtex_syntax_custom_cmds or {}, { vim.g.vimtex_syntax_custom_cmds = vim.tbl_extend("force", vim.g.vimtex_syntax_custom_cmds or {}, {
-- { name = "oplus", mathmode = 1, concealchar = "⊕" }, -- { name = "oplus", mathmode = 1, concealchar = "⊕" },