Add commentstring for pandoc

This commit is contained in:
Fabrice Mouhartem 2024-05-24 13:22:08 +02:00
parent 146083e981
commit 5a118932f3
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

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()