vis

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

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

commit 271ac6f8202ee7575394cb9f1f8e9f636f4bcd77
parent 13ea8999be77e9515eaaa96783944d20dfc618d4
Author: Matěj Cepl <mcepl@cepl.eu>
Date:   Sat, 12 Oct 2024 20:43:46 +0200

fix[filetype]: Recognize Cython source files as Python as well

Diffstat:
Mlua/plugins/filetype.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -358,7 +358,7 @@ vis.ftdetect.filetypes = { }, python = { utility = { "^python%d?" }, - ext = { "%.sc$", "%.py[iw]?$" }, + ext = { "%.sc$", "%.py[iwx]?$" }, mime = { "text/x-python", "text/x-script.python" }, }, reason = {