Closed mefengl closed 2 years ago
@mefengl I'm having the same problem, Can you share your solution? Thank you.
@echoonly to me, I just import this plugin earlier(first plugin first), and the problem solved.
@mefengl I've tried this solution too, it solved the problem in deed, but only for a short time, if reload the buffer with :e
, or switch branch by git checkout
, the problem will arise again, but anyway, thank you.
问题:若导入插件在
'jiangmiao/auto-pairs'
后,则会取消该插件的智能缩进功能(比如在大括号中回车会自动下一行并缩进)。解决:导入在 该插件前即可解决问题。
更多:这显然不是鲁棒的解决方案,所以我想可能是插件代码里的一些设置?
最后:本人问题实以解决(以一种trick的方式),本issues可随时
close
。写在这里希望帮助到其他人。