vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 1bc5444a79c5999223bdb6f85dcdcb2562df5d9e
parent 089c6cb57e591d44e7562097ae58023b398fdee4
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 16 Feb 2017 13:59:21 +0100

test/vis: patch Lua package.path to include source repository

This might fix the tests on systems where /proc/self/exe is not available.

Diffstat:
Mvis/visrc.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vis/visrc.lua b/vis/visrc.lua @@ -1,3 +1,4 @@ +package.path = '../../lua/?.lua;'..package.path dofile("../../lua/visrc.lua") vis.events.subscribe(vis.events.WIN_OPEN, function(win)