Closed remkop22 closed 3 years ago
Make sure you have tried with minimal vimrc.
I tried it again with this vimrc
:
set nocompatible
set runtimepath^=/home/<>/.vim/plugged/coc.nvim
filetype plugin indent on
syntax on
set hidden
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
And ran it via vim -u mini.vim
, and sadly the problem persists. Any pointers on how to debug this?
https://github.com/neoclide/coc.nvim/wiki/Debug-coc.nvim
Maybe some extension is bad, try add let $COC_NO_PLUGINS = '1'
at the top of your vimrc, you can enable extensions one by one with :CocList extensions
Please upgrade your coc.nvim to latest release branch.
Result from CocInfo
Describe the bug
I am using the following line from the example rc file in the repo:
And when editing HTML I often encounter incorrect formatting caused by pressing enter to place a tag on a new line (see GIF below). I removed all coc-nvim extensions and retried with a minimal
.vimrc
in order to isolate the problem, but the bug is still there. When removing said line from.vimrc
the bug is gone.Thanks for creating this amazing plugin, it changed the way I work, and thanks in advance for any help with this issue.
Reproduce the bug
.vimrc
file used to reproduce the bug:Screenshots (optional)