Nested Syntax Highlighting (#160)

This commit is contained in:
adamharrison authored and GitHub committed 2021-05-01 11:45:30 +02:00
1 parent a72431ace7
commit 3fe6665b9a
3 files changed
+136 -17

No files matched your search

+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" },