aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_python.lua
diff options
context:
space:
mode:
authorPerilousBooklet <raffaele.orabona@protonmail.com>2024-02-24 01:46:28 +0100
committerjgmdev <jgmdev@gmail.com>2024-02-26 18:59:47 -0400
commita3d35222846a7a25e0508f9d7ad5d682228653e7 (patch)
tree79e564c1ec1892673a72d02a129163aede96bd7c /data/plugins/language_python.lua
parent07d27a6b2f192905c5b91e034fc42ff2cb7ccd80 (diff)
downloadpragtical-a3d35222846a7a25e0508f9d7ad5d682228653e7.tar.gz
pragtical-a3d35222846a7a25e0508f9d7ad5d682228653e7.zip
Added .pyi extension to python. (#1728)
Diffstat (limited to 'data/plugins/language_python.lua')
-rw-r--r--data/plugins/language_python.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/language_python.lua b/data/plugins/language_python.lua
index 220ddd54..f7c09ac3 100644
--- a/data/plugins/language_python.lua
+++ b/data/plugins/language_python.lua
@@ -3,7 +3,7 @@ local syntax = require "core.syntax"
syntax.add {
name = "Python",
- files = { "%.py$", "%.pyw$", "%.rpy$" },
+ files = { "%.py$", "%.pyw$", "%.rpy$", "%.pyi$" },
headers = "^#!.*[ /]python",
comment = "#",
block_comment = { '"""', '"""' },