From 7bee661077544162821d60075caa172ad5cdca21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Sat, 12 Oct 2024 20:43:46 +0200 Subject: [PATCH] fix[filetype]: Recognize Cython source files as Python as well --- lua/plugins/filetype.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua index fe0fd3aac..fd3aa0f5d 100644 --- 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 = {