Fix treesit-simple-indent-presets docstring (bug#67007)
* lisp/treesit.el (treesit-simple-indent-presets): Fix docstring. * doc/lispref/modes.texi (Parser-based Indentation): Fix example.
This commit is contained in:
parent
b7871cefe7
commit
103ca678ac
2 changed files with 2 additions and 2 deletions
|
@ -5087,7 +5087,7 @@ this matcher doesn't check that argument. For example, to match the
|
|||
first child where parent is @code{argument_list}, use
|
||||
|
||||
@example
|
||||
(match nil "argument_list" nil nil 0 0)
|
||||
(match nil "argument_list" nil 0 0)
|
||||
@end example
|
||||
|
||||
In addition, @var{node-type} can be a special value @code{null},
|
||||
|
|
|
@ -1322,7 +1322,7 @@ MATCHER:
|
|||
NODE's index in PARENT. Therefore, to match the first child
|
||||
where PARENT is \"argument_list\", use
|
||||
|
||||
(match nil \"argument_list\" nil nil 0 0).
|
||||
(match nil \"argument_list\" nil 0 0).
|
||||
|
||||
NODE-TYPE, PARENT-TYPE, and NODE-FIELD are regexps.
|
||||
NODE-TYPE can also be `null', which matches when NODE is nil.
|
||||
|
|
Loading…
Add table
Reference in a new issue