vis

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

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

commit b0f6bf9833997f6bee9bb2497db0cb104f774399
parent 29b540595aead6427a8ee94006edbfbf28af2174
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 11 Oct 2021 09:55:13 +0200

filetype.lua: Add "text/x-script.python" to python

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 @@ -333,7 +333,7 @@ vis.ftdetect.filetypes = { }, python = { ext = { "%.sc$", "%.py$", "%.pyw$" }, - mime = { "text/x-python" }, + mime = { "text/x-python", "text/x-script.python" }, }, reason = { ext = { "%.re$" },