commit d7907ea931cd96121bf1606e2ae97187ebd45f43
parent 72b16c3201e60f360d0b89edc045401dca624af7
Author: Anders Damsgaard <andersd@riseup.net>
Date: Fri, 1 Dec 2017 09:55:46 -0500
reenable mutt aliases, only enable as completefunc in mails
Diffstat:
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/links/.vim/ftplugin/mail.vim b/links/.vim/ftplugin/mail.vim
@@ -5,4 +5,5 @@ augroup mail_typography
setlocal fdo+=search
setlocal list
setlocal formatoptions=alw2qt " automatically reflow paragraphs
+ setlocal completefunc=Complete_Emails
augroup END
diff --git a/links/.vim/ftplugin/markdown.vim b/links/.vim/ftplugin/markdown.vim
@@ -1,7 +1,3 @@
-augroup emoji_complete
- setlocal completefunc=emoji#complete
-augroup END
-
augroup markdown_typography
call pencil#init({'wrap': 'soft', 'textwidth': 80, 'conceallevel': 0})
call litecorrect#init()
@@ -9,4 +5,5 @@ augroup markdown_typography
setlocal fdo+=search
setlocal list
setlocal formatoptions=alw2qt " automatically reflow paragraphs
+ setlocal completefunc=emoji#complete
augroup END
diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim
@@ -81,7 +81,7 @@ Plug 'godlygeek/tabular' " line up text (req for vim-markdown)
Plug 'plasticboy/vim-markdown'
" Mail
-"Plug 'vim-scripts/mutt-aliases' " auto complete from ~/.mutt/aliases
+Plug 'vim-scripts/mutt-aliases' " auto complete from ~/.mutt/aliases
" LaTeX
Plug 'lervag/vimtex'