From 81fff8608a0f30482c9df8cc3cca78d5c574ad34 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 7 Mar 2026 17:16:31 +0100 Subject: vis: add custom slides syntax to commentary --- config/vis/visrc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/vis/visrc.lua') diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index 20ff805..e40978c 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -12,7 +12,10 @@ local spellcheck = require('plugins/vis-spellcheck') spellcheck.list_cmd = 'hunspell -l -d %s' spellcheck.cmd = 'hunspell -d %s' -require('plugins/vis-commentary') +local commentary = require('plugins/vis-commentary') +commentary.comments_repl['slides'] = commentary.comments_repl.markdown +commentary() + require('plugins/vis-ctags') -- This hooks vis.events.START so its fine to load it before the default settings require('plugins/vis-modelines/vis-modelines') -- cgit v1.2.3