AutoYADM commit: 2024-11-12 20:45:02
This commit is contained in:
parent
2a3bb4e6f4
commit
c317386863
2 changed files with 12 additions and 1 deletions
|
@ -24,6 +24,17 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||
-- })
|
||||
-- This autocommand fixes syntax highlighting for inline math in markdown files
|
||||
-- Together with vimtex, it will apply very sexy good stuff here!
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- patterm = "tex",
|
||||
-- callback = function()
|
||||
-- vim.api.nvim_create_autocmd("BufWrite", {
|
||||
-- buffer = 0,
|
||||
-- callback = function()
|
||||
-- vim.api.nvim_command("VimtexCompile")
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
-- })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "markdown",
|
||||
callback = function()
|
||||
|
|
|
@ -8,7 +8,7 @@ return {
|
|||
-- vim.g.vimtex_view_general_viewer = "zathura"
|
||||
vim.g.vimtex_quickfix_open_on_warning = 0
|
||||
-- vim.g.vimtex_compiler_silent = 1
|
||||
vim.g.vimtex_compiler_method = "xelatex"
|
||||
vim.g.vimtex_compiler_method = "tectonic"
|
||||
end,
|
||||
keys = {
|
||||
{ "<localLeader>l", "", desc = "+vimtex" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue