Added support for `.pyw` files in language_python plugin

This commit is contained in:
rxi 2020-12-19 10:19:08 +00:00
parent 79c4f9fcae
commit 806f0e39e3
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {