Added .pyi extension to python. (#1728)
This commit is contained in:
parent
8fd5c78312
commit
cf76b5857a
|
@ -3,7 +3,7 @@ local syntax = require "core.syntax"
|
||||||
|
|
||||||
syntax.add {
|
syntax.add {
|
||||||
name = "Python",
|
name = "Python",
|
||||||
files = { "%.py$", "%.pyw$", "%.rpy$" },
|
files = { "%.py$", "%.pyw$", "%.rpy$", "%.pyi$" },
|
||||||
headers = "^#!.*[ /]python",
|
headers = "^#!.*[ /]python",
|
||||||
comment = "#",
|
comment = "#",
|
||||||
block_comment = { '"""', '"""' },
|
block_comment = { '"""', '"""' },
|
||||||
|
|
Loading…
Reference in New Issue