vis

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

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

commit 289eafe094a1b5e74a7dc9f35afcd57ae2474251
parent 2621fab52c92935704add929a4e75b1052dfdf9b
Author: Larry Hynes <larry@larryhynes.com>
Date:   Fri, 21 Oct 2016 20:58:01 +0100

Add app definitions for awk in vis.lua

Diffstat:
Mvis.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vis.lua b/vis.lua @@ -84,7 +84,7 @@ vis.ftdetect.filetypes = { asm = { ext = ".asm|.ASM|.s|.S" }, asp = { ext = ".asa|.asp|.hta" }, autoit = { ext = ".au3|.a3x" }, - awk = { ext = ".awk" }, + awk = { ext = ".awk", app = "awk|nawk|mawk|gawk" }, bash = { ext = ".bash|.csh|.sh|.zsh", name = "%.bashrc|%.bash_profile|%.configure", app = "bash|csh|sh|zsh|ash|dash|tcsh" }, batch = { ext = ".bat|.cmd" }, bibtex = { ext = ".bib" },