From b9ded81393feae4710e7cbbca514c40a5d64c67c Mon Sep 17 00:00:00 2001 From: nayuxuohz Date: Tue, 29 Jun 2021 05:00:17 +0800 Subject: [PATCH] make argument textobj work in { ... } --- autoload/targets/mappings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/targets/mappings.vim b/autoload/targets/mappings.vim index 15a5598..c1f1fe5 100644 --- a/autoload/targets/mappings.vim +++ b/autoload/targets/mappings.vim @@ -57,7 +57,7 @@ function! s:addMappings() \ }) call targets#mappings#extend({'t': {'tag': [{}]}}) - call targets#mappings#extend({'a': {'argument': [{'o': '[([]', 'c': '[])]', 's': ','}]}}) + call targets#mappings#extend({'a': {'argument': [{'o': '[{([]', 'c': '[])}]', 's': ','}]}}) call targets#mappings#extend({'b': {'pair': [{'o':'(', 'c':')'}, {'o':'[', 'c':']'}, {'o':'{', 'c':'}'}]}}) call targets#mappings#extend({'q': {'quote': [{'d':"'"}, {'d':'"'}, {'d':'`'}]}})