Skip to content

Commit

Permalink
Recognize also Python type stub files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcepl authored and rnpnr committed Dec 2, 2023
1 parent 7d0baa4 commit cbdcdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit cbdcdce

Please sign in to comment.