From 69573e53cc074f69cfff48e9a060f8eff6872d22 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Tue, 23 Nov 2021 10:58:19 -0500 Subject: [PATCH] Re-add plugin for completion with auto-suggest diabled --- nvim/.config/nvim/coc-settings.json | 3 +++ nvim/.config/nvim/init.vim | 2 ++ nvim/.config/nvim/plugs.vim | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 nvim/.config/nvim/coc-settings.json diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json new file mode 100644 index 0000000..13a066a --- /dev/null +++ b/nvim/.config/nvim/coc-settings.json @@ -0,0 +1,3 @@ +{ + "suggest.autoTrigger": "none" +} diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 592c0f1..ef789e2 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -54,4 +54,6 @@ au BufRead,BufNewFile *.tla setf tla " I like pretty things source $HOME/.config/nvim/colors.vim +" Manually trigger completions +inoremap coc#refresh() diff --git a/nvim/.config/nvim/plugs.vim b/nvim/.config/nvim/plugs.vim index d9ced94..f46aaa0 100644 --- a/nvim/.config/nvim/plugs.vim +++ b/nvim/.config/nvim/plugs.vim @@ -25,8 +25,9 @@ Plug 'editorconfig/editorconfig-vim' Plug 'flazz/vim-colorschemes' " Completion and other inline type hints -"Plug 'neoclide/coc.nvim', {'branch': 'release'} +Plug 'neoclide/coc.nvim', {'tag': 'v0.0.80'} " After installation, run this to setup with Rust: " :CocInstall coc-rust-analyzer + call plug#end()