Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 20:10

    chemzqm on release

    commit e2ced8502b71b73b8fa258e8… (compare)

  • 19:00

    chemzqm on master

    refactor(highlights): fix maxim… (compare)

  • 18:48

    chemzqm on master

    test(colors): fix colors test fix(codelens): fix possible wro… (compare)

  • 17:50

    chemzqm on master

    refactor(colors): use window.di… (compare)

  • 17:15
    chemzqm commented #3585
  • 17:15

    chemzqm on release

    commit bd29c8be47e0053316873061… (compare)

  • 17:14

    chemzqm on master

    refactor(highlight): return nul… test(window): test diffHighligh… (compare)

  • 16:41
    dakom commented #3585
  • 15:12
    chemzqm closed #3585
  • 15:12

    chemzqm on master

    fix(highlight): avoid setbufvar… feat(window): add window.diffHi… feat(bufferSync): support onTex… (compare)

  • 14:53
    chemzqm commented #3585
  • 14:46
    dakom commented #3585
  • 13:34
    dakom opened #3585
  • 12:13

    chemzqm on master

    perf(highlight): support g:coc_… (compare)

  • 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
Francisco Lopes
@oblitum
I'm thankful you provide the right spot to apply the change
Qiming zhao
@chemzqm
My suggestion is simply use viml instead :p
Dustin van Schouwen
@djvs_gitlab
My coc.nvim typescript error popups stopped appearing on cursor navigation to it
What to do?
Qiming zhao
@chemzqm
Upgrade coc.nvim.
Dustin van Schouwen
@djvs_gitlab
Upgrade coc.nvim.
:pray: thank you
Works
Ritesh Harjani
@riteshharjani
image.png
for now this works.. will work on a proper one maybe sometime later.
this should give me the full line. will later work on a proper one which could instead give me function declaration from lsp side which will have more details.
Francisco Lopes
@oblitum
@chemzqm I ignore how watchman works, but I use it with Coc for the workspace features. Couldn't Coc provide a way or option for watchman not to scan the home folder. I have my home dir under git, but I don't track everything that there's in it, just a handful of files, and set git config status.showUntrackedFiles no. After that coc.nvim fix that made lsp
servers stop scanning the whole home, I only have this watchman issue left now regarding home scan.
s/folder./folder\?/
I mean, as of now, editing random files from home, or just starting nvim cause it to launch watchman to scan home. It's not a very user facing issue, because the scan happens behind the scenes, it's cached, and not much perceptible, but nonetheless it's worthless. Memory usage is noticeable.
Francisco Lopes
@oblitum
weird... it seems after watchman watch-del-all, it either stopped scanning home for now, or just keeps silently indexing it for a long time. It stopped being listed...
Qiming zhao
@chemzqm

Couldn't Coc provide a way or option for watchman not to scan the home folder.

Home should be ignored by coc.nvim, but there could be something else casue watchman scan your home.

Francisco Lopes
@oblitum
I wonder whether that's related to coc-snippets
because it's the sole thing that shows up in status messages when I start nvim from home without any file.
Qiming zhao
@chemzqm
Watchman could scan your home when there is specific files there.
Francisco Lopes
@oblitum
I just ignore which
:/
only thing I know is that coc is what starts it, and it always puts home in the watch-list
the only exception I just discovered, is that after a watch-del-all, it isn't listed anymore
so... just very weird
Qiming zhao
@chemzqm
Not happens for me
Francisco Lopes
@oblitum
I think it puts it in the first place because my home dir is under git
so, technically, it's a workspace root
and it would be fine if it could respect not to scan untracked files.
Ritesh Harjani
@riteshharjani

@chemzqm
riteshharjani/coc.nvim@ca9998c

^^^^ Could you please check if this is as per the coding guidelines of coc.nvim
Have coded the function to show the function declaration on hover within any function/class/ etc...

1 reply
image.png
let me know if there is anything wrong, I can correct it and send a pull request.
Thanks for all the help.
Qiming zhao
@chemzqm
@riteshharjani avoid use documentSymbol request, the buffer could be not loaded.
Ritesh Harjani
@riteshharjani
I looked at implementation of getCurrentFunctionSymbol.
awarewen
@awarewen

Hello,^^
i have a Problem of mycoc.nvimplugin:
Wcr9wd.png

Demand

i need Coc.nvimcalls my haskell-ide-engineplugin.

Process

I installed haskell-ide-enginewith yay package manager in Arch linux
This is my config files

#>>  in  init.toml
[[layers]]
    name = "lsp"
    #> 类型支持列表 #> 默认调用命令 
    filetypes = [
      "c",          #> c/c++> ['clangd']
      "cpp",
      "sh",         #> ['bash-language-server', 'start']
      "javascript", #> ['javascript-typescript-stdio']
      "html",      #> ['html-languageserver', '--stdio']
      "haskell",    #> ['hie-wrapper', '--lsp'] 
    ]
    [layers.override_cmd]
      c       = ["clangd"]
[[layers]]
  name = "lang#haskell"

That's all configrations in my coc-settings.json file

  "languageserver": {
  "haskell": {
    "command": "hie-wrapper",
    "args": ["--lsp"],
    "rootPatterns": [
      "*.cabal",
      "stack.yaml",
      "cabal.project",
      "package.yaml"
    ],
    "filetypes": [
      "hs",
      "lhs",
      "haskell"
    ],
    "initializationOptions": {
      "haskell": {
      }
    }
  }
}

}

I Don't know how to fix that error, can somebaby help me, please .T^T

Qiming zhao
@chemzqm
Check log of your language server, we don't know why it crashed.
awarewen
@awarewen

Check log of your language server, we don't know why it crashed.

OK Thanks for reply, I will check it. :(

Qiming zhao
@chemzqm
awarewen
@awarewen

Output may contains something useful https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel

OK , I Get it; thanks for guiding!

Francisco Lopes
@oblitum
@awarewen you should try haskell-language-server instead of hie.
it's also easily available through ghcup.
spamwax
@spamwax:matrix.org
[m]
is it possible to feed the output of CocAction("documentSymbols") to fzf
Francisco Lopes
@oblitum
there's coc-fzf
it should provide it
spamwax
@spamwax:matrix.org
[m]
I'll try that
jbrashears
@jbrashears
image.png
cryptofish7
@cryptofish7
hey
cryptofish7
@cryptofish7
What is coc#_complete() and how do I configure coc so this function doesn't cause lag?
Qiming zhao
@chemzqm
:h coc-config-suggest
cryptofish7
@cryptofish7
@chemzqm how do i use this ?
Qiming zhao
@chemzqm
Read wiki
1 reply