diff options
| author | dacctal <dacctal@symlinx.net> | 2026-04-27 02:27:14 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-04-27 02:27:14 +0000 |
| commit | 66254d01e923e9eac16798ebf9cecb19d1d4d6a2 (patch) | |
| tree | bbd53de52d9426ebdf8bffc84876887dbb31baca /.config/vis/visrc.lua | |
| parent | fdca05503614c6eecbb1401088351710337ae9ce (diff) | |
added custom modal plugin to vis
Diffstat (limited to '.config/vis/visrc.lua')
| -rw-r--r-- | .config/vis/visrc.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua index 8e16776..74bfa51 100644 --- a/.config/vis/visrc.lua +++ b/.config/vis/visrc.lua @@ -1,11 +1,14 @@ --- load standard vis module, providing parts of the Lua API, sets _G.vis require('vis') --- global configuration options +local lightyellow = '#efbf71' +local lightgray = '#9a9c8b' +local darkgray = '#1e1f1e' + +-- global config vis.events.subscribe(vis.events.INIT, function() vis:command("set theme caelus") end) --- per-window configuration options +-- per-window config vis.events.subscribe(vis.events.WIN_OPEN, function(win) vis:command("set tabwidth 2") vis:command("set numbers true") @@ -18,6 +21,8 @@ end) -- plugins -- +-- modal +require('plugins/modal') -- vis-autoclose local autoclose = require('plugins/vis-autoclose') -- colorizer |
