diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-02-08 08:32:42 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-02-08 08:32:42 -0500 |
| commit | 44c8910e38038f4347b5dff1daa813d1565906b9 (patch) | |
| tree | d47d2b3a572e665af48a5762fe98c26c5f425796 /.config/nvim/init.vim | |
| parent | 05c96e5e612ef3e5e9072d1323c01d2d8084e53a (diff) | |
Switched to COQ autocompletion
Diffstat (limited to '.config/nvim/init.vim')
| -rw-r--r-- | .config/nvim/init.vim | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5f9f7b9..06c1d98 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -57,7 +57,8 @@ map <C-l> <C-w>l " Plugins call plug#begin('~/.local/share/nvim/plugged') Plug 'junegunn/goyo.vim' " Nice for reading Documents -Plug 'neoclide/coc.nvim', {'branch': 'release'} " Code Completion +Plug 'ms-jpq/coq_nvim', {'branch': 'coq'} +Plug 'ms-jpq/coq.artifacts', {'branch': 'artifacts'} Plug 'tpope/vim-commentary' " Makes commenting multiple lines easier Plug 'NLKNguyen/papercolor-theme' Plug 'nvim-lua/plenary.nvim' @@ -66,24 +67,14 @@ Plug 'ThePrimeagen/harpoon', { 'branch': 'harpoon2' } Plug 'neovim/nvim-lspconfig' call plug#end() +lua vim.g.coq_settings = {auto_start = 'shut-up',} + " Goyo plugin makes text more readable when writing prose: map <leader>f :Goyo \| set linebreak<CR> " Commentary plugin map <leader>c :Commentary \| set linebreak<CR> -let g:coc_global_extensions = [ - \ 'coc-html', - \ 'coc-java', - \ 'coc-tsserver', - \ 'coc-css', - \ 'coc-clangd', - \ 'coc-go', - \ 'coc-pairs', - \ 'coc-python', - \ 'coc-flutter' - \ ] - " runs gofmt when closing a go file. autocmd VimLeave *.go !gofmt -w % |
