From fe84eabb407c98a69fbe1c3c03fcf987fd3dc2a1 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Mon, 8 Mar 2021 09:34:00 +0100 Subject: [PATCH] vimrc: update ins-completion settings --- vimrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vimrc b/vimrc index 7268309..96d051f 100644 --- a/vimrc +++ b/vimrc @@ -68,7 +68,7 @@ set pastetoggle= " See :help thesaurus set thesaurus=$HOME/Documents/thesaurus/thesaurus_pkg/thesaurus.txt set pumheight=200 -set completeopt=menu,menuone,popup,longest,noselect +set completeopt=menu,menuone,popup,noselect set completepopup=width:300,height:50,align:item,border:off " Colour scheme: @@ -141,18 +141,18 @@ map 8 :call RequestGrep() packadd! deoplete.nvim let g:deoplete#enable_at_startup = 1 call deoplete#custom#option('num_processes', 6) -call deoplete#custom#option('max_list', 20) +call deoplete#custom#option('max_list', 50) call deoplete#custom#option('auto_complete_delay', 10) call deoplete#custom#option('auto_refresh_delay', 10) " https://github.com/Shougo/deoplete.nvim/issues/965#issuecomment-482925193 " Seems to be causing autocomplete issues so removing for now. -" call deoplete#custom#option('omni_patterns', { -" \ 'go': '[^. *\t]\.\w*', -" \}) +call deoplete#custom#option('omni_patterns', { +\ 'go': '[^. *\t]\.\w*', +\}) " : completion. inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" -inoremap pumvisible() ? "\" : "\" +inoremap pumvisible() ? "\" : "\" " vim-markdown configuration: let g:vim_markdown_conceal = 1