Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 03:16
    fannheyward opened #3603
  • Jan 27 12:17
    T0maas commented #2061
  • Jan 27 11:27
    chemzqm transferred #3602
  • Jan 27 11:27

    chemzqm on master

    feat(completion): add timeout f… feat(list): improve options for… refactor(completion): remove un… (compare)

  • Jan 27 11:05
    fannheyward commented #3602
  • Jan 27 11:04
    michael-odonovan edited #3602
  • Jan 27 11:03
    michael-odonovan opened #3602
  • Jan 27 04:02
    xiyaowong commented #3568
  • Jan 26 04:01
    chemzqm labeled #3594
  • Jan 26 03:54
    chemzqm closed #3131
  • Jan 26 03:54
    chemzqm commented #3131
  • Jan 26 02:09
    chemzqm closed #3573
  • Jan 25 22:45

    chemzqm on master

    feat(list): refresh diagnostics… chore(typings): use LinesTextDo… (compare)

  • Jan 25 19:36

    chemzqm on master

    fix(document): fix edits not wo… (compare)

  • Jan 25 19:02
    chemzqm closed #3600
  • Jan 25 19:02

    chemzqm on master

    feat(document): make use of nvi… (compare)

  • Jan 25 18:21
    chemzqm commented #3601
  • Jan 25 18:19

    chemzqm on master

    pref(semanticTokens): only refr… (compare)

  • Jan 25 17:44
    damnskippy commented #3355
  • Jan 25 17:04
    kevinhwang91 commented #3601
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
gustavokatel
@gustavokatel:matrix.org
[m]
this is what I get
Qiming zhao
@chemzqm
:h CocAction()
Run
@run27017
Hi, guys! I have a cofinguration problem to ask you. When I open the a Ruby file, and then the command status bar will prompt "Solargraph is ready". At this time, the vim editor is hung util I make the "Enter" key. If there is a way to enter vim edit mode directly but not make another "Enter" key?
Gerhard Gappmeier
@gergap
is there a way to refactor a selection to a separate function (C/C++)?