aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-25 14:41:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-25 14:41:30 +1200
commit7c497dd17795f192c9b5df2d184491ec9442cff1 (patch)
tree3d9c602c46dda215ec6f3069c23d5723e4088886 /vim/after
parent4c8a76e7af12d31cde8bebe385d6e779c399298c (diff)
downloaddotfiles-7c497dd17795f192c9b5df2d184491ec9442cff1.tar.gz
dotfiles-7c497dd17795f192c9b5df2d184491ec9442cff1.zip
Tolerate smart quotes in g'day
My dad just sent me one.
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 2e63c449..76605d03 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -15,7 +15,7 @@ if line('.') == 1 && col('.') == 1
while getline('.') =~? '^> *'
\ . '\%('
\ . '\%('
- \ . 'g''\=day'
+ \ . 'g[''’]\=day'
\ . '\|\%(good \)\=\%(morning\|afternoon\|evening\)'
\ . '\|h[eu]\%(ll\|rr\)o\+'
\ . '\|hey\+'