From fa1dc7e5086e598eb04a34407d8c09e5605b3760 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 25 Aug 2022 13:10:33 -0500 Subject: [PATCH] tree-sitter: Prevent panic on loading queries --- helix-core/src/syntax.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 7ce0f8d27..06e9cbc03 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -374,7 +374,8 @@ fn initialize_highlight(&self, scopes: &[String]) -> Option