From: Theodor Thornhill Date: Sun, 21 Jul 2024 12:56:52 +0000 (+0200) Subject: Add link to commit compatibility function handles X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19a8435ae2880945492b85c301350775e821a9ea;p=emacs.git 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) --- 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)