aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-06 11:50:27 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-06 11:50:27 +1300
commit3c72b4439f16a45871a56a7b233223c0ecdd6af7 (patch)
tree03dd02755b6699f26a62865873eb6edba1c04853 /vim/plugin
parent553af93ba2f16c36e74c5dc1b6c9d434520cf712 (diff)
downloaddotfiles-3c72b4439f16a45871a56a7b233223c0ecdd6af7.tar.gz
dotfiles-3c72b4439f16a45871a56a7b233223c0ecdd6af7.zip
Rename l:op to l:operation for clarity
Just to avoid confusing it with something like l:option.
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/toggle_option_flag.vim6
1 files changed, 3 insertions, 3 deletions
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