From 3c72b4439f16a45871a56a7b233223c0ecdd6af7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 6 Nov 2017 11:50:27 +1300 Subject: Rename l:op to l:operation for clarity Just to avoid confusing it with something like l:option. --- vim/plugin/toggle_option_flag.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vim/plugin') diff --git a/vim/plugin/toggle_option_flag.vim b/vim/plugin/toggle_option_flag.vim index 5376a279..dd7c95f7 100644 --- a/vim/plugin/toggle_option_flag.vim +++ b/vim/plugin/toggle_option_flag.vim @@ -36,11 +36,11 @@ function! s:Toggle(option, flag, local) " :execute to assign -= or += to l:op for the option toggle " (I couldn't get {curly braces} indirection to work) - let l:op = '' - execute 'let l:op = &' . a:option . ' =~# a:flag ? "-=" : "+="' + let l:operation = '' + execute 'let l:operation = &' . a:option . ' =~# a:flag ? "-=" : "+="' " Build the command strings to set and then show the value - let l:cmd_set = l:set . ' ' . a:option . l:op . a:flag + let l:cmd_set = l:set . ' ' . a:option . l:operation . a:flag let l:cmd_show = l:set . ' ' . a:option . '?' " Run the set and show command strings -- cgit v1.2.3