We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dd7ed2 commit 74de948Copy full SHA for 74de948
clojure-ts-mode.el
@@ -2479,7 +2479,9 @@ This function checks if `clojure-ts-mode' is compatible with the
2479
currently installed grammar. The simplest way to do this is to validate
2480
a query that is valid in a previous grammar version but invalid in the
2481
required version."
2482
- (treesit-query-valid-p 'clojure '((sym_lit (meta_lit)))))
+ (ignore-errors
2483
+ (treesit-query-compile 'clojure '((sym_lit (meta_lit))) t)
2484
+ t))
2485
2486
(defun clojure-ts--ensure-grammars ()
2487
"Install required language grammars if not already available."
0 commit comments