Compare commits

..

2 Commits

2 changed files with 9 additions and 0 deletions

View File

@ -7,6 +7,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
group = markdown,
callback = function()
vim.o.filetype = 'pandoc'
vim.o.commentstring = '<!--%s-->'
require('luasnip').filetype_extend("pandoc", { "markdown" })
vim.o.spell = true
require('spelling').spell_keymap()

View File

@ -57,4 +57,12 @@ return {
s({ trig = "bs", dscr = "Insert a big skip" },
fmt("\\bigskip", {})
),
s({ trig = "tw", dscr = "Insert \\textwidth" },
fmt("\\textwidth", {})
),
s({ trig = "th", dscr = "Insert \\textheight" },
fmt("\\textheight", {})
),
}