From 5c60f2767c31606236971db090703e745754cab5 Mon Sep 17 00:00:00 2001 From: Erlend Lind Madsen Date: Fri, 4 Feb 2022 01:27:36 +0100 Subject: README: update simplified vis-plug conf --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index f23e954..49f611b 100644 --- a/README.md +++ b/README.md @@ -22,16 +22,9 @@ Example `visrc.lua`: local plug = require('plugins/vis-plug') local conf = { - { url = 'erf/vis-minimal-theme', theme = true }, + { url = 'erf/vis-minimal-theme', theme = true, file = 'dark' }, } plug.init(conf, true) -vis.events.subscribe(vis.events.INIT, function() - - --vis:command('set theme vis-minimal-theme/light') - vis:command('set theme vis-minimal-theme/dark') - -end) - ``` \ No newline at end of file -- cgit