From 1eea25c716ba1beafa9454b6b7fa8536407c6a08 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 1 Jun 2020 16:27:10 +0100 Subject: [PATCH] vim: update switch#Switch to new API It now takes a dict. --- vim/ftplugin/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index b54cffd..a3846a8 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -43,7 +43,7 @@ let g:switch_const_definitions = \ 'const \([[:alnum:]_:<>]\{-}\) &': '\1 ' \ } ] -nnoremap c :call switch#Switch(g:switch_const_definitions, {}) +nnoremap c :call switch#Switch({'definitions': g:switch_const_definitions}) nnoremap gd :YcmCompleter GoTo nnoremap d :vs:YcmCompleter GoTo -- 2.48.1