Added .pyi extension to python. (#1728)
This commit is contained in:
parent
2e8d59b86f
commit
03b8c239dc
|
@ -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