aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Lind Madsen <erlendf80@gmail.com>2022-02-04 01:27:36 +0100
committerErlend Lind Madsen <erlendf80@gmail.com>2022-02-04 01:27:36 +0100
commit5c60f2767c31606236971db090703e745754cab5 (patch)
tree6df63235c88ae747d3cca12de898308a5a840518
parentd7a46c30815855cc24619b5f7eadfb2ab537d159 (diff)
downloadvis-minimal-theme-5c60f2767c31606236971db090703e745754cab5.tar.gz
README: update simplified vis-plug conf
-rw-r--r--README.md9
1 files changed, 1 insertions, 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