Nested Syntax Highlighting (#160)

This commit is contained in:
adamharrison
2021-05-01 11:45:30 +02:00
committed by GitHub
parent a72431ace7
commit 3fe6665b9a
3 changed files with 136 additions and 17 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
local syntax = require "core.syntax"
syntax.add {
files = { "%.xml$", "%.html?$" },
files = { "%.xml$" },
headers = "<%?xml",
patterns = {
{ pattern = { "<!%-%-", "%-%->" }, type = "comment" },