aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-27 21:02:43 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-27 21:02:43 +1200
commit38993f77b9c2b44583321b747800d69b4a5313f2 (patch)
tree1e5c4c616f4550c3f003e29d1224baade8eeb5a5
parentf4bd4a34bdeaa3b71a299b5887d36272bbbd974b (diff)
downloaddotfiles-38993f77b9c2b44583321b747800d69b4a5313f2.tar.gz
Refine apostrophe matching for mail greetings
-rw-r--r--vim/after/ftplugin/mail.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 76605d03..937ee40c 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -15,13 +15,13 @@ if line('.') == 1 && col('.') == 1
while getline('.') =~? '^> *'
\ . '\%('
\ . '\%('
- \ . 'g[''’]\=day'
+ \ . "g['\u2019]\\=day"
\ . '\|\%(good \)\=\%(morning\|afternoon\|evening\)'
\ . '\|h[eu]\%(ll\|rr\)o\+'
\ . '\|hey\+'
\ . '\|hi\+'
\ . '\|sup'
- \ . '\|what''s up'
+ \ . "\\|what['\u2019]\\=s up"
\ . '\|yo'
\ . '\)'
\ . '[[:punct:] ]*'