AutoYADM commit: 2024-12-11 17:55:04

This commit is contained in:
Daniel Fichtinger 2024-12-11 17:55:04 -05:00
parent 3a30d1aa21
commit 509107ed0a
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = "markdown", pattern = "markdown",
callback = function() callback = function()
vim.opt_local.breakindent = true
vim.cmd([[ vim.cmd([[
syn region mathBlock start=/\$\$/ end=/\$\$/ contains=@tex syn region mathBlock start=/\$\$/ end=/\$\$/ contains=@tex
" inline math " inline math

View file

@ -5,5 +5,6 @@ local opt = vim.opt
opt.scrolloff = 0 opt.scrolloff = 0
opt.spell = true opt.spell = true
opt.wrap = true
opt.spelllang = { "en", "en-academic" } opt.spelllang = { "en", "en-academic" }
-- opt.spelloptions = "camel" -- opt.spelloptions = "camel"