use markdown friendly-snippets in pandoc documents

This commit is contained in:
Fabrice Mouhartem 2023-12-24 23:36:46 +01:00
parent 34de9c7f85
commit 00aa5e7ce8

View File

@ -6,6 +6,7 @@ vim.api.nvim_create_autocmd({"BufEnter", "BufWinEnter"}, {
group = markdown, group = markdown,
callback = function() callback = function()
vim.o.filetype = 'pandoc' vim.o.filetype = 'pandoc'
require('luasnip').filetype_extend("pandoc", {"markdown"})
vim.o.spell = true vim.o.spell = true
vim.o.spelllang = 'en' vim.o.spelllang = 'en'
vim.o.formatoptions = "qj" vim.o.formatoptions = "qj"