From 0f331b9321dd886a839d5259cf387fd643cc907c Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 20 Nov 2023 18:45:08 -0500 Subject: [PATCH] message instead of error when treesit parser not available --- packages/treesit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/treesit.el b/packages/treesit.el index af73861..0ba4a14 100644 --- a/packages/treesit.el +++ b/packages/treesit.el @@ -3,7 +3,8 @@ :config (let ((setup-treesit-mode (lambda (parser treesit-mode modes &optional interpreters) (if (not (treesit-language-available-p parser)) - (error "treesit language parser not available for %s" (symbol-name language)) + (message "treesit language parser not available for %s" + (symbol-name language)) (seq-each (lambda (mode) (add-to-list 'auto-mode-alist (cons (rx (literal ".")