aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/gitcommit.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:34:44 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:34:44 +1200
commit91220b6858bfcdd360b78cb1c4a36ab59cf82421 (patch)
tree891a9decc34e3598bc19c92767dd7b40bc3387dd /vim/autoload/gitcommit.vim
parentRemove unnecessary g: prefixes to Vim variables (diff)
downloaddotfiles-91220b6858bfcdd360b78cb1c4a36ab59cf82421.tar.gz
dotfiles-91220b6858bfcdd360b78cb1c4a36ab59cf82421.zip
Remove unnecessary l: prefixes to Vim variables
Diffstat (limited to 'vim/autoload/gitcommit.vim')
-rw-r--r--vim/autoload/gitcommit.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/vim/autoload/gitcommit.vim b/vim/autoload/gitcommit.vim
index 170cc2d0..7aba1c5b 100644
--- a/vim/autoload/gitcommit.vim
+++ b/vim/autoload/gitcommit.vim
@@ -3,14 +3,14 @@ function! gitcommit#CursorColumn() abort
" If we can find a line after the first that isn't a comment, we're
" composing the message
- for l:num in range(1, line('$'))
- if l:num == 1
+ for num in range(1, line('$'))
+ if num == 1
continue
endif
- let l:line = getline(l:num)
- if strpart(l:line, 0, 1) !=# '#'
+ let line = getline(num)
+ if strpart(line, 0, 1) !=# '#'
return '+1'
- elseif l:line =~# '^# -\{24} >8 -\{24}$'
+ elseif line =~# '^# -\{24} >8 -\{24}$'
break
endif
endfor