From 54a4c58d49c61bae9c0c7d0fc0ac757cd818b50e Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Mon, 30 Aug 2021 22:02:21 +0530 Subject: [PATCH] Small README update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 112aa0b..c63f483 100644 --- a/README.md +++ b/README.md @@ -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])))) ```