diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/gitcha.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/gitcha.vim b/autoload/gitcha.vim index 0ceebab..7ed45c7 100644 --- a/autoload/gitcha.vim +++ b/autoload/gitcha.vim @@ -8,7 +8,7 @@ function! gitcha#GitSHAComplete(findstart, base) " locate the start of the word let line = getline('.') let start = col('.') - 1 - while start > 0 && line[start - 1] =~ '\a' + while start > 0 && line[start - 1] =~ '[0-9a-f]' let start -= 1 endwhile return start |