vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit fd5b854d1f0713c80a72cad0b3e52aee9412f4be parent 0b39a59cc9ca6a7d296c5f4e0c986d3681874e9a Author: Marc André Tanner <mat@brain-dump.org> Date: Mon, 30 Oct 2017 15:05:43 +0100 lexer: fix file type association for xs lexer Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -399,7 +399,7 @@ vis.ftdetect.filetypes = { ext = { "%.wsf$" }, }, xs = { - ext = { "%.xs$", "%.xsin", "%.xsrc" }, + ext = { "%.xs$", "^%.xsin$", "^%.xsrc$" }, }, xml = { ext = { "%.dtd$", "%.svg$", "%.xml$", "%.xsd$", "%.xsl$", "%.xslt$", "%.xul$" },