aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/filetype.lua
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2024-10-12 20:43:46 +0200
committerFelix Van der Jeugt <felix.vanderjeugt@posteo.net>2024-10-26 10:33:39 +0200
commit7bee661077544162821d60075caa172ad5cdca21 (patch)
treef7e7ac9afa35548fc173de3183cf26256eef2ea4 /lua/plugins/filetype.lua
parent8fa44ce7e2d25634dcced26b2990eb0aa2b1af11 (diff)
downloadvis-7bee661077544162821d60075caa172ad5cdca21.tar.gz
vis-7bee661077544162821d60075caa172ad5cdca21.tar.xz
fix[filetype]: Recognize Cython source files as Python as well
Diffstat (limited to 'lua/plugins/filetype.lua')
-rw-r--r--lua/plugins/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index fe0fd3a..fd3aa0f 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 = {