From 336f66cbba6cb5a97edc7b56bcf5ea93565573b7 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 11 Oct 2021 09:55:13 +0200 Subject: filetype.lua: Add "text/x-script.python" to python --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index 3cd234e..ef28fae 100644 --- 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$" }, -- cgit v1.2.3