From 3ec6e4221e9b80f914ed6774abb4e82d8f5c3b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maria=20Jos=C3=A9=20Solano?= Date: Sat, 26 Aug 2023 10:41:04 -0700 Subject: [PATCH] fix(treesitter): parse injections (#571) --- lua/noice/text/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/noice/text/treesitter.lua b/lua/noice/text/treesitter.lua index 874d7f3..a55e6e5 100644 --- a/lua/noice/text/treesitter.lua +++ b/lua/noice/text/treesitter.lua @@ -58,7 +58,7 @@ function M.highlight(buf, ns, range, lang) local parser = LanguageTree.new(buf, lang, opts) parser:set_included_regions({ { range } }) - parser:parse() + parser:parse(true) parser:for_each_tree(function(tstree, tree) if not tstree then