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 --- .gitmodules | 2 +- config/vis/plugins/vis-commentary | 2 +- config/vis/visrc.lua | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index ec40ee1..f8d9961 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,7 +28,7 @@ url = https://github.com/vktec/vis-editorconfig [submodule "config/vis/plugins/vis-commentary"] path = config/vis/plugins/vis-commentary - url = https://github.com/lutobler/vis-commentary + url = https://github.com/Nomarian/vis-commentary [submodule "config/vis/plugins/vis-modelines"] path = config/vis/plugins/vis-modelines url = https://github.com/lutobler/vis-modelines 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