Added file-header pattern support to syntax
This commit is contained in:
@@ -2,6 +2,7 @@ local syntax = require "core.syntax"
|
||||
|
||||
syntax.add {
|
||||
files = "%.lua$",
|
||||
headers = "^#!.*[ /]lua",
|
||||
comment = "--",
|
||||
patterns = {
|
||||
{ pattern = { '"', '"', '\\' }, type = "string" },
|
||||
|
||||
Reference in New Issue
Block a user