updates plug with all sorts of awesome improvements

This commit is contained in:
2026-11-09 13:09:09 +01:00
parent a92d6f8871
commit 3afdb6d67f
553 changed files with 22780 additions and 13155 deletions
+11
View File
@@ -43,4 +43,15 @@ import Testing
#expect(PasteKind("just text") == .text)
#expect(PasteKind(" \n ") == .text)
}
@Test("nginx config and CSS split evenly on semicolons but hold braces, so they stay text")
func bracesStayText() {
let nginx = """
location = /favicon.svg { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
location = /favicon.ico { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
location = /robots.txt { try_files $uri /index.php?$query_string; access_log off; log_not_found off; }
"""
#expect(PasteKind(nginx) == .text)
#expect(PasteKind("a { color: red; margin: 0; }\nb { color: blue; margin: 1; }") == .text)
}
}