vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 86aad6e9b83bb8c6b43a09236e331a0f22f43e39 parent 17a9ee170624338c1a440b1d084f1b3565c46727 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 5 Mar 2017 11:08:58 +0100 lua: fix more luacheck warnings Diffstat:
| M | Makefile | | | 2 | +- |
| M | lua/plugins/filetype.lua | | | 18 | +++++++++++++++--- |
| M | lua/themes/solarized.lua | | | 2 | +- |
3 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -102,7 +102,7 @@ luadoc-all: @cd lua/doc && ldoc -a . && sed -e "s/RELEASE/${VERSION}/" -i index.html luacheck: - @luacheck --config .luacheckrc lua test/lua | less -R + @luacheck --config .luacheckrc lua test/lua | less -RFX install: $(ELF) @echo stripping executable diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -223,7 +223,11 @@ vis.ftdetect.filetypes = { mime = { "text/x-makefile" }, }, man = { - ext = { "%.1$", "%.2$", "%.3$", "%.4$", "%.5$", "%.6$", "%.7$", "%.8$", "%.9$", "%.1x$", "%.2x$", "%.3x$", "%.4x$", "%.5x$", "%.6x$", "%.7x$", "%.8x$", "%.9x$" }, + ext = { + "%.1$", "%.2$", "%.3$", "%.4$", "%.5$", "%.6$", "%.7$", + "%.8$", "%.9$", "%.1x$", "%.2x$", "%.3x$", "%.4x$", + "%.5x$", "%.6x$", "%.7x$", "%.8x$", "%.9x$" + }, }, markdown = { ext = { "%.md$", "%.markdown$" }, @@ -340,7 +344,11 @@ vis.ftdetect.filetypes = { ext = { "%.ddl$", "%.sql$" }, }, systemd = { - ext = { "%.automount$", "%.device$", "%.mount$", "%.path$", "%.scope$", "%.service$", "%.slice$", "%.socket$", "%.swap$", "%.target$", "%.timer$" }, + ext = { + "%.automount$", "%.device$", "%.mount$", "%.path$", + "%.scope$", "%.service$", "%.slice$", "%.socket$", + "%.swap$", "%.target$", "%.timer$" + }, }, taskpaper = { ext = { "%.taskpaper$" }, @@ -358,7 +366,11 @@ vis.ftdetect.filetypes = { ext = { "%.vala$" } }, vb = { - ext = { "%.asa$", "%.bas$", "%.cls$", "%.ctl$", "%.dob$", "%.dsm$", "%.dsr$", "%.frm$", "%.pag$", "%.vb$", "%.vba$", "%.vbs$" }, + ext = { + "%.asa$", "%.bas$", "%.cls$", "%.ctl$", "%.dob$", + "%.dsm$", "%.dsr$", "%.frm$", "%.pag$", "%.vb$", + "%.vba$", "%.vbs$" + }, }, vcard = { ext = { "%.vcf$", "%.vcard$" }, diff --git a/lua/themes/solarized.lua b/lua/themes/solarized.lua @@ -18,7 +18,7 @@ local colors = { ['blue'] = '#268bd2', ['cyan'] = '#2aa198', ['green'] = '#859900', -} +} lexers.colors = colors -- dark