From 002084b1bea4311fdac184f080206bf890937d80 Mon Sep 17 00:00:00 2001 From: Matthias Deiml Date: Sun, 26 Jun 2022 18:02:29 +0200 Subject: feat(markdown)!: switch to split parser (#3048) * switch to split markdown parser with separate block and inline parsers to improve performance * add exclude_children! directive (useful for something like Injected markdown incorrectly highlights indented docstrings #2212) * split markdown queries into block and inline ones and add the injection for inline into block grammar * add include_dir option to parser configs (needed because the two grammars don't live in the repos root directory) BREAKING CHANGE: downstream queries need to be adapted to new parser --- lockfile.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lockfile.json') diff --git a/lockfile.json b/lockfile.json index c92ed250..33e46861 100644 --- a/lockfile.json +++ b/lockfile.json @@ -192,7 +192,10 @@ "revision": "a4b9187417d6be349ee5fd4b6e77b4172c6827dd" }, "markdown": { - "revision": "be3e08acfd85bd87d85f41fde74fdcec25f76dbe" + "revision": "acb097808683eea7c6d6d469644a275b9f6a64f5" + }, + "markdown_inline": { + "revision": "acb097808683eea7c6d6d469644a275b9f6a64f5" }, "ninja": { "revision": "0a95cfdc0745b6ae82f60d3a339b37f19b7b9267" -- cgit v1.2.3