]> git.eshelyaron.com Git - emacs.git/commitdiff
Add link to commit compatibility function handles
authorTheodor Thornhill <theo@thornhill.no>
Sun, 21 Jul 2024 12:56:52 +0000 (14:56 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:39:10 +0000 (12:39 +0200)
* 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

index 2c3d97efb69960877675587b1519e002f82bf586..b1288f17d86c29e70e0498ec14951a32de500f41 100644 (file)
@@ -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)