AutoYADM commit: 2024-12-21 01:00:01

This commit is contained in:
Daniel Fichtinger 2024-12-21 01:00:01 -05:00
parent 02fd92ff1d
commit 128614d200
2 changed files with 8 additions and 5 deletions

View file

@ -17,6 +17,7 @@ vim.api.nvim_create_autocmd("VimEnter", {
vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown",
callback = function()
if vim.g.md_tex then
vim.opt_local.breakindent = true
vim.cmd([[
syn region mathBlock start=/\$\$/ end=/\$\$/ contains=@tex
@ -27,8 +28,10 @@ vim.api.nvim_create_autocmd("FileType", {
hi def link mathBlock Statement
hi def link mathInline Statement
]])
end
end,
})
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "markdown" },
callback = function()

View file

@ -6,9 +6,9 @@ return {
enabled = true,
},
code = {
sign = false,
width = "block",
right_pad = 1,
-- sign = false,
-- width = "block",
-- right_pad = 1,
},
heading = {
-- width = "block",