vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit f78bcf2a54fdd1006b509474c3b8b25a9b76d5f6 parent ca2b587c9e3405546780c8dbca00710e0c31974c Author: David B. Lamkins <david@lamkins.net> Date: Tue, 7 Mar 2017 08:15:18 +0100 lua: add filetype detection for Plan9 rc and derivatives Close #513 Diffstat:
| M | lua/plugins/filetype.lua | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -294,6 +294,9 @@ vis.ftdetect.filetypes = { ext = { "%.sc$", "%.py$", "%.pyw$" }, mime = { "text/x-python" }, }, + rc = { + ext = { "%.rc$", "%.es$", "%.xs" }, + }, rebol = { ext = { "%.r$", "%.reb$" }, },