From 5a118932f3de298d35a93f04cd6421a1d3aabbc5 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Fri, 24 May 2024 13:22:08 +0200 Subject: [PATCH] Add commentstring for pandoc --- lua/autocommands.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/autocommands.lua b/lua/autocommands.lua index 8ea447a..7658721 100644 --- a/lua/autocommands.lua +++ b/lua/autocommands.lua @@ -7,6 +7,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, { group = markdown, callback = function() vim.o.filetype = 'pandoc' + vim.o.commentstring = '' require('luasnip').filetype_extend("pandoc", { "markdown" }) vim.o.spell = true require('spelling').spell_keymap()