From 4d79a57cf0b86e3598340d818bdd9e81beeb2cb1 Mon Sep 17 00:00:00 2001 From: Maxime Wack Date: Fri, 8 Feb 2019 18:08:30 +0100 Subject: [PATCH] Autocomplete only on email fields --- autoload/ncm2_khard.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/ncm2_khard.vim b/autoload/ncm2_khard.vim index ad66254..d5e517e 100644 --- a/autoload/ncm2_khard.vim +++ b/autoload/ncm2_khard.vim @@ -15,6 +15,7 @@ let g:ncm2_khard#source = extend(get(g:, 'ncm2_khard#source', {}), { \ 'mark': 'email', \ 'scope': ['mail'], \ 'complete_pattern': ['^To: ', '^Cc: ', '^Bcc: '], + \ 'complete_length': -1, \ 'on_complete': 'ncm2_khard#on_complete', \ 'on_warmup': 'ncm2_khard#on_warmup', \ }, 'keep')