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/plugins/vis-commentary | 2 +- config/vis/visrc.lua | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/vis/plugins/vis-commentary b/config/vis/plugins/vis-commentary index 3a9ddf3..498c403 160000 --- a/config/vis/plugins/vis-commentary +++ b/config/vis/plugins/vis-commentary @@ -1 +1 @@ -Subproject commit 3a9ddf3b3df3bc644c982c5d992377dfffaeba8c +Subproject commit 498c403a659ce551ba546ea697a5e96360c158a7 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