aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e8564c5..aa00dc3 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -351,7 +351,7 @@ vis.ftdetect.filetypes = {
},
python = {
utility = { "^python%d?" },
- ext = { "%.sc$", "%.py$", "%.pyw$" },
+ ext = { "%.sc$", "%.py[iw]?$" },
mime = { "text/x-python", "text/x-script.python" },
},
reason = {