Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:24
    codecov[bot] commented #3355
  • 09:20
    codecov[bot] commented #3355
  • 09:20
    fannheyward synchronize #3355
  • 09:20

    fannheyward on use-ts-hi-group

    feat(semanticTokens): use tree-… feat: add coc.preferences.seman… feat: enable semanticTokens for… and 11 more (compare)

  • 09:07
    kidyme commented #2494
  • 09:07
    kidyme commented #2494
  • Jan 18 18:12

    chemzqm on master

    refactor(semanticTokens): diff … (compare)

  • Jan 18 15:52
    vmnavarro94 commented #3072
  • Jan 18 15:50
    vmnavarro94 commented #2900
  • Jan 18 08:40
    codecov[bot] commented #3355
  • Jan 18 08:35
    codecov[bot] commented #3355
  • Jan 18 08:35
    fannheyward synchronize #3355
  • Jan 18 08:35

    fannheyward on use-ts-hi-group

    docs: semanticTokensFiletypes (compare)

  • Jan 18 08:27
    codecov[bot] commented #3355
  • Jan 18 08:22
    codecov[bot] commented #3355
  • Jan 18 08:22
    fannheyward synchronize #3355
  • Jan 18 08:22

    fannheyward on use-ts-hi-group

    fix(language-client): semanticT… (compare)

  • Jan 18 07:56
    codecov[bot] commented #3355
  • Jan 18 07:50
    codecov[bot] commented #3355
  • Jan 18 07:50
    fannheyward synchronize #3355
Heyward Fann
@fannheyward

How can I figure out which language servers are loaded for a given buffer? How can I find out which language server this error comes from?

:CocList services

@euoia what do you mean take any argument and never errors?
James Pickard
@euoia
:CocUninstall askjhdakjshdkjashd
shows a green message that looks like success
admittedly, it shows "removed: " (doesn't show the plugin name) but I didn't know what to expect when running that command
Heyward Fann
@fannheyward
:CocList extensions will list all extensions you've installed, filter the one you want to uninstall, tab to choose uninstall action to uninstall
James Pickard
@euoia
yeah, I got there in the end, it just caught me out because I thought I had uninstalled an extension but had not
Heyward Fann
@fannheyward

admittedly, it shows "removed: " (doesn't show the plugin name) but I didn't know what to expect when running that command

you can ignore this message, CocUninstall extension-that-not-exist will not uninstall anything, this can be improved

James Pickard
@euoia
hmm I restarted neovim and CocList services is not showing anything
image.png
Heyward Fann
@fannheyward
but you still get the const a error message?
maybe it's not came from coc side
James Pickard
@euoia
hmm, I don't think it can be from anything else
if I run CocDisable the error goes away
Heyward Fann
@fannheyward
@euoia what's the CocList extensions?
James Pickard
@euoia
image.png
but I have restarted Coc now and CocList services is showing something else
Heyward Fann
@fannheyward
As you can see, vetur/eslint/prettier are enabled for your vue file
James Pickard
@euoia
CocList extensions seems to show the same output regardless of which buffer I'm editing
Heyward Fann
@fannheyward
The sign before extension name, * is activated, + is installed but not activated for current buffer
James Pickard
@euoia
weird, it doesn't really seem to change even if I change to a lua file, or a text file
even though I'm getting lua completions in the lua file
/ah, I guess you can enable and disable them for the buffer?
James Pickard
@euoia
Does anyone else use coc-prettier? For some reason I often see "Prettier" in m¥ statusline, I think it's because coc#status() is "Prettier"
hrai
@hrai
image.png
Hi. I profiled vim and found that CoC takes 9s to respond.
Dan Turkel
@daturkel
I'm using coc and vim-go. When selecting a completion option from the autocomplete menu, I get this in my statusbar. How do I disable it?
vim-go: {"cid": 1628212374, "source": "languageserver.golang", "index":0}
hrai
@hrai
Heyward Fann
@fannheyward
@hrai what request/action do you did when this slow response occured?
@daturkel have no idea about this, I don't use vim-go with coc
Dan Turkel
@daturkel
@fannheyward any idea how I might be sure which extension is setting the status bar to this? (e.g. is it vim-go or is it coc)
hrai
@hrai
@fannheyward I edit the file and when I exit insert mode, it freezes. I'm on WSL on Windows. This does not happen in Windows native nvim.
Heyward Fann
@fannheyward
@daturkel I don't think it was from coc
@hrai sorry I don't have a WSL env to debug this.
Looks like the request is hanging
@hrai try COC_NO_PLUGINS=1 nvim, this will disable coc extensions
hrai
@hrai
@fannheyward the culprit seems to be some coc extension. Since it's a JS file, it could be prettier/ale
Is there a way I can find out for sure?
Heyward Fann
@fannheyward
@hrai :CocList extensions will list all coc extensions, try to disable someoen
Qiming zhao
@chemzqm

@fannheyward any idea how I might be sure which extension is setting the status bar to this? (e.g. is it vim-go or is it coc)

It should be your command line message, should be from vim-go since it starts with vim-go

Dan Turkel
@daturkel

@chemzqm I got a lot more info on this issue. vim-go is responsible for echoing the message to the vim command bar, but coc is generating the contents of item.user_info that's getting logged. A vim-go contributor pointed me to the conflicting code between the two plugins:

  • here is where coc adds cid and source to user_dataduring filterResults
  • here is where vim-go echos out the contents of item.user_data.

Is there any info coc needs to set this info to user_data? Can I disable it? vim-go's echo-ing of item.user_data in that circumstance is a useful feature when coc is disabled, but with coc enabled it causes the pollution of user_data that leads to this undesired logged message.

James Pickard
@euoia
@fannheyward Thank you
Qiming zhao
@chemzqm
@daturkel it must exists to identify complete item, vim-go should not equal that
equal -> echo
vim-go should only echo user_data from itself.
gustavokatel
@gustavokatel:matrix.org
[m]
hi is there a way to access coc diagnostics (:CocDiagnostics) via lua?
I mean the data (severity, line numbers etc)
Qiming zhao
@chemzqm
:h coc-action-diagnosticList
1 reply