vis

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 33be3a9aa143153f9b2fea7164b1c70963ed5c2c
Author: mrgrouse <bdmfegys@duck.com>
Date:   Mon,  4 Aug 2025 11:21:06 -0400

initialize repository with current vis configs

Diffstat:
Aplugins/vis-plug | 1+
Avisrc.lua | 29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/plugins/vis-plug b/plugins/vis-plug @@ -0,0 +1 @@ +Subproject commit 891f1717098f717eb4513d24ea8baf9950ffa394 diff --git a/visrc.lua b/visrc.lua @@ -0,0 +1,29 @@ +-- initializing vis' lua environment(?) +require('vis') + +-- functions to be ran on INIT event +vis.events.subscribe(vis.events.INIT, function() +end) + +-- functions to be ran in every window +vis.events.subscribe(vis.events.WIN_OPEN, function(win) + vis:command('set number') + vis:command('set autoindent on') + vis:command('set tabwidth 2') +end) + +-- vis-plug -- +local plug = require('plugins/vis-plug') + +local plugins = { + { 'thimc/vis-colorizer' }, + { 'git://repo.or.cz/vis-pairs' }, + { 'e-zk/vis-shebang'}, + { 'Nomarian/vis-remove-trailing-whitespace', alias='rtw' }, +} + +-- initialize vis-plug and all of its plugins +plug.init(plugins, true) + +-- initialize remove-trailing-whitespace plugin +plug.plugins.rtw.Subscribe()