AutoYADM commit: 2024-12-11 17:55:04
This commit is contained in:
parent
3a30d1aa21
commit
509107ed0a
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue