Skip to content

Commit

Permalink
Small README update
Browse files Browse the repository at this point in the history
  • Loading branch information
meain committed Aug 31, 2021
1 parent 110f4e6 commit ab0c1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ objects, you can write something like below. You will have to provide
the captures in all the languages that you will need this to work for.

``` emacs-lisp
;; The first arguemnt to `evil-textobj-treesitter-get-textobj' will be the capture group to use
;; The first arguemnt to `evil-textobj-tree-sitter-get-textobj' will be the capture group to use
;; and the second arg will be an alist mapping major-mode to the corresponding query to use.
(define-key evil-outer-text-objects-map "m" (evil-textobj-treesitter-get-textobj "import"
(define-key evil-outer-text-objects-map "m" (evil-textobj-tree-sitter-get-textobj "import"
'((python-mode . [(import_statement) @import])
(rust-mode . [(use_declaration) @import]))))
```
Expand Down

0 comments on commit ab0c1aa

Please sign in to comment.