nVim 禁用 coc 插件的错误检测
我使用 neovim 和 coc.nvim 来自动完成代码,但我不喜欢这种错误检测 [我并不是说它不好],我只想禁用这个灰色,就像红色 >>
位于行号左侧 (红线数字没问题)
How can I disable it,
- 就像一行代码,可以将其添加到 .vimrc 或 .init.vim 中,这将完成
- 我想要的工作...
I use neovim with coc.nvim for auto-completion of code, but I don't like this error detection [I don't mean its bad], I only want to disable this grey like with red >>
on the left of line numbers
(no problem with red line numbers)
How can I disable it,
- like a line of code Which can be added to .vimrc or .init.vim which will do the job
- that's what I want...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将其放入您的
init.vim
文件中:如果错误检测仍然存在,请编辑您的
coc-settings.json
文件,它位于您的的同一位置init.vim
通常在~/.config/nvim
处,添加以下行:put this in your
init.vim
file:if the error detection still present, edit your
coc-settings.json
file, it's located on the same location of yourinit.vim
usually at~/.config/nvim
, add this line: