Not inserting new indented line on return
public function create()
{|}
When pressing return shown here by the cursor | instead of it being indented on a new line I end up like this.
public function create()
{
|}
I'm having the exact same issue as well
I do not have this issue. Did you try it with a minimal vimrc? Are you using nvim or vim? Which version?
I am also having the same issue. For me, it works well (as expected) for some time, then this issue arises.
verbose inoremap <CR> - There's probably a plugin conflict
Having the same issue as well. It doesn't work after I use lsp. But it worked fine with coc.
I really can't help you lot if you don't create MCVEs. If it all traces back to an LSP client of some type, it's probably a <CR> remap. Compatibility is attempted from auto-pairs' side, but if you override it somehow, there's auto-pairs can do to override your decision to use <CR> for auto-complete. Again; verbose inoremap <CR>