Added .pyi extension to python. (#1728)
This commit is contained in:
@@ -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 = { '"""', '"""' },
|
||||||
|
|||||||
Reference in New Issue
Block a user