From 19a8435ae2880945492b85c301350775e821a9ea Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Sun, 21 Jul 2024 14:56:52 +0200 Subject: [PATCH] Add link to commit compatibility function handles * lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode--indent-compatibility-b893426): Add link to GitHub. (cherry picked from commit ccb856189f483abfaa584f428b09a863f816a040) --- lisp/progmodes/typescript-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index 2c3d97efb69..b1288f17d86 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -92,7 +92,7 @@ (defun tsx-ts-mode--indent-compatibility-b893426 () "Indent rules helper, to handle different releases of tree-sitter-tsx. Check if a node type is available, then return the right indent rules." - ;; handle commit b893426 + ;; handle https://github.com/tree-sitter/tree-sitter-typescript/commit/b893426b82492e59388a326b824a346d829487e8 (condition-case nil (progn (treesit-query-capture 'tsx '((jsx_fragment) @capture)) `(((match "<" "jsx_fragment") parent 0) -- 2.39.2