aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/mail.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-07 01:11:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-07 01:11:00 +1200
commitc8c890ba9203f77e56688e559cb7d65b67665188 (patch)
treec99342bf766b5f59c834cc8f352544ce29cd5287 /vim/after/ftplugin/mail.vim
parentAdd a couple of abbreviations (diff)
downloaddotfiles-c8c890ba9203f77e56688e559cb7d65b67665188.tar.gz
dotfiles-c8c890ba9203f77e56688e559cb7d65b67665188.zip
Adjust quoting in mail greeting match
Diffstat (limited to 'vim/after/ftplugin/mail.vim')
-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 e84702f0..cfb738a1 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['\u2019]\\=day"
+ \ . 'g[''\u2019]\=day'
\ . '\|\%(good \)\=\%(morning\|afternoon\|evening\)'
\ . '\|h[eu]\%(ll\|rr\)o\+'
\ . '\|hey\+'
\ . '\|hi\+'
\ . '\|sup'
- \ . "\\|what['\u2019]\\=s up"
+ \ . '\|what[''\u2019]\=s up'
\ . '\|yo'
\ . '\)'
\ . '[[:punct:] ]*'