]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix docstring graph alignment in Ftreesit_search_forward
authorYuan Fu <casouri@gmail.com>
Thu, 10 Nov 2022 22:16:25 +0000 (14:16 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 10 Nov 2022 22:16:25 +0000 (14:16 -0800)
* src/treesit.c (Ftreesit_search_forward): Replace tabs with spaces.

src/treesit.c

index 63785b2122c6ef8e3d43982af862b2be21a499e2..854d7754f0a02feaf522ec08bb975c264bf40dc8 100644 (file)
@@ -2649,15 +2649,15 @@ Return the first matched node, or nil if none matches.
 For a tree like below, where START is marked by S, traverse as
 numbered from 1 to 12:
 
-               12
-               |
+                12
+                |
        S--------3----------11
        |        |          |
   o--o-+--o  1--+--2    6--+-----10
   |  |                  |        |
   o  o                +-+-+   +--+--+
-                     |   |   |  |  |
-                     4   5   7  8  9
+                      |   |   |  |  |
+                      4   5   7  8  9
 
 Note that this function doesn't traverse the subtree of START, and it
 always traverse leaf nodes first, then upwards.  */)