aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-09 00:58:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-09 00:58:23 +1200
commitcfceeda823b68d9224090693f76a551854872f41 (patch)
tree8729ce18f5511cff8ec59e89878530c1c2c7b4f5
parent2ed973e19f38587871b5988c692f882a32376ff8 (diff)
parent955a7d013e71975913d76664152ca515899370c1 (diff)
downloaddotfiles-cfceeda823b68d9224090693f76a551854872f41.tar.gz
Merge branch 'release/v1.51.0'v1.51.0
* release/v1.51.0: Bump VERSION Adjust line boundaries for mail motions
-rw-r--r--VERSION4
-rw-r--r--vim/after/ftplugin/mail.vim4
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 06c70380..97f3db47 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v1.50.0
-Wed Aug 8 12:50:13 UTC 2018
+tejr dotfiles v1.51.0
+Wed Aug 8 12:58:23 UTC 2018
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index d5f38166..a30b155a 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -78,7 +78,7 @@ function! s:NewBlank(count, up, visual) abort
" Iterate through buffer lines
let l:num = line('.')
- while l:num > 0 && l:num <= line('$')
+ while a:up ? l:num > 1 : l:num < line('$')
" If the line is blank
if getline(l:num) =~# '^[ >]*$'
@@ -106,7 +106,7 @@ function! s:NewBlank(count, up, visual) abort
endwhile
" Move to line if nonzero and not equal to the current line
- if l:num && l:num != line('.')
+ if l:num != line('.')
execute 'normal '.l:num.'G'
endif