Added support for `.pyw` files in language_python plugin
This commit is contained in:
parent
79c4f9fcae
commit
806f0e39e3
|
@ -1,7 +1,7 @@
|
||||||
local syntax = require "core.syntax"
|
local syntax = require "core.syntax"
|
||||||
|
|
||||||
syntax.add {
|
syntax.add {
|
||||||
files = "%.py$",
|
files = { "%.py$", "%.pyw$" },
|
||||||
headers = "^#!.*[ /]python",
|
headers = "^#!.*[ /]python",
|
||||||
comment = "#",
|
comment = "#",
|
||||||
patterns = {
|
patterns = {
|
||||||
|
|
Loading…
Reference in New Issue