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()