neoclide / coc-lists

Common lists for coc.nvim
264 stars 24 forks source link

`:CocList grep` never loads any results when using `rg` #124

Closed iamrecursion closed 3 years ago

iamrecursion commented 3 years ago

Result from CocInfo

## versions

vim version: NVIM v0.5.0
node version: v16.5.0
coc.nvim version: 0.0.80-73861dc2ae
coc.nvim directory: /Users/ara/.local/share/nvim/plugged/coc.nvim
term: tmux
platform: darwin

## Log of coc.nvim

2021-07-26T09:36:01.687 INFO (pid:31067) [services] - registered service "languageserver.ccls"
2021-07-26T09:36:01.689 INFO (pid:31067) [services] - registered service "languageserver.haskell"
2021-07-26T09:36:01.720 INFO (pid:31067) [services] - registered service "diagnostic-languageserver"
2021-07-26T09:36:01.865 INFO (pid:31067) [coc-git] - Looking for git in: git
2021-07-26T09:36:02.108 INFO (pid:31067) [services] - registered service "highlight"
2021-07-26T09:36:02.191 INFO (pid:31067) [plugin] - coc.nvim 0.0.80-73861dc2ae initialized with node: v16.5.0 after 642ms
2021-07-26T09:36:02.229 INFO (pid:31067) [attach] - receive notification: highlight []
2021-07-26T09:36:02.242 INFO (pid:31067) [services] - registered service "vimlsp"
2021-07-26T09:36:02.243 INFO (pid:31067) [services] - vim language server state change: stopped => starting
2021-07-26T09:36:02.447 INFO (pid:31067) [services] - vim language server state change: starting => running
2021-07-26T09:36:02.449 INFO (pid:31067) [services] - service vimlsp started
2021-07-26T09:37:01.774 INFO (pid:31067) [attach] - receive notification: showInfo []

Describe the bug

:CocList grep never loads any results when using rg.

Reproduce the bug

  1. Create file mini.vim with:

    set nocompatible
    set runtimepath^=/path/to/coc.nvim
    filetype plugin indent on
    syntax on
    set hidden
  2. Start neovim with command: vim -u mini.vim

  3. Run :CocList grep and start typing. It will never load any results even if results exist.

Screenshots (optional)

image
fannheyward commented 3 years ago

Can't reproduce, works as expect.

fannheyward commented 3 years ago

What's your rg version?

iamrecursion commented 3 years ago
ripgrep 13.0.0
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
fannheyward commented 3 years ago

@iamrecursion tested with rg 13.0.0 and latest coc on macOS, can't reproduce this issue.

iamrecursion commented 3 years ago

Okay. Is there any way I can debug what is happening?

fannheyward commented 3 years ago

@iamrecursion what's your coc-lists version? You can get it from :CocList extensions.

iamrecursion commented 3 years ago

Ah, that was it! I had 1.4.0 but updating to 1.4.2 fixed it! I thought I had plugins set to auto update but I must've disabled it at some point. Thanks for the hint, and for all your hard work on CoC!