mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
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
@ -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…
Reference in New Issue
Block a user