Closed jobannon closed 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.91. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I think that this behavior has to do with redraw but now sure....
However, when I toggle the window away, and re-toggle
Does this appear every time?
If it does, can you provide vim version information (:CocInfo
) and log (:CocOpenLog
)?
let g:indentLine_fileTypeExclude = ['coc-explorer'] let g:indentLine_fileTypeExclude = ['coc'] autocmd FileType coc IndentLinesToggle have tried both of these to correct of this ... Although not sure if I have the syntax correct...
view from
it does appear every time I retoggle. .
health check seems ok-ish
must be missing something ...I am borrowing this rc file from a friend but Ranger seems to run without issue
You haven't provided information about :CocInfo
With these information, I still can't reproduce your bug. Maybe you need to provide a minimal vimrc, like this, otherwise, I'm afraid I can't help you.
Same thing happens for me from time to time, but I don't know exact steps to reproduce.
Just happened to me. Here's screenshot:
Here's my CocInfo:
## versions
vim version: NVIM v0.5.0-220-gab860cb5f
node version: v8.11.0
coc.nvim version: 0.0.74
term: xterm-kitty
platform: linux
## Messages
## Output channel: explorer
## Output channel: prettier
## Output channel: snippets
[Error 15:38:31] Convert regex error for: li(st)? (?<num>\d+)$
[Error 15:38:31] Convert regex error for: ol(st)? (?<num>\d+)$
## Output channel: tsserver
[Info - 15:38:42] Forking TSServer
PATH: /home/kristijan/.nvm/versions/node/v8.11.0/bin:/home/kristijan/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/go/bin:/home/kristijan/go/bin:/home/kristijan/.local/bin:/home/kristijan/neovim-config/nvim/pack/packager/start/fzf/bin
[Info - 15:38:42] Started TSServer
{
"path": "/home/kristijan/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib",
"_pathLabel": "",
"_api": {
"versionString": "3.7.2",
"version": "3.7.2"
}
}
## Output channel: eslint
[Info - 15:38:42] ESLint server running in node v8.11.0
[Info - 15:38:42] ESLint library loaded from: /home/kristijan/code/myproject/api/node_modules/eslint/lib/api.js
vim version: NVIM v0.4.3 node version: v13.2.0 coc.nvim version: 0.0.74-bc017b02e6 term: iTerm.app platform: darwin
[Info - 8:55:09 AM] watchman watching project: /Users/josho/.config/coc/ultisnips [Info - 8:55:09 AM] subscribing "*/.snippets" in /Users/josho/.config/coc/ultisnips
Sorry - please find above
It looks like some plugins or configurations executed the :syntax on
, caused the highlighting to be deleted.
source $MYVIMRC
.
After running this command, this problem will occur
Just a note that this still happens for me, especially when i source $MYVIMRC.
Just a note that this still happens for me, especially when i source $MYVIMRC.
Have you try to reopen the explorer
buffer?
Yeah, not helping.
Is it because you are using the npm version? There are still has some bugs in the git version, so I have not released yet.
Yeah, I did 'CocUninstall coc-explorer' and then 'CocInstall coc-explorer'. Thought that will install the latest version. Ok, my bad then.
Never mind, I thought you knew it's not the same.
I am having the same issue, but I find that the first time i open the explorer, it is blank. If I then close and reopen, I see the same type of output as the other users here.
Edit: I think it might also happen when I reload my init.vim with source
Should be fixed in the latest released version
I preduced this issue by install 'Yggdroot/indentLine'
adding this line to vimrc let g:indentLine_char = '│'
will repreduce this issue
I preduced this issue by install 'Yggdroot/indentLine'
use g:indentLine_fileTypeExclude
to avoid this
@weirongxu thanks
I have coc-explorer mapped to nnoremapt :CocCommand explorer
when I call it initially, it works as expected. However, when I toggle the window away, and re-toggle, it redraws as seen below `^C120^D+^C120^D+^C120^D+^C120^D+^C120^D+" . a related issue on https://gitter.im/neoclide/coc.nvim?at=5db181e7a03ae1584ffe25ad