Coc.nvim: Can it auto complete for hide file path?

Created on 5 Mar 2020  Â·  4Comments  Â·  Source: neoclide/coc.nvim

Result from CocInfo

## versions

vim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar  1 2020 11:19:59)
node version: v13.8.0
coc.nvim version: 0.0.75-db09d34c86
term: dumb
platform: linux

## Messages
Messages maintainer: Bram Moolenaar <[email protected]>
## Output channel: snippets

Describe the bug

when I write a file path, it can't auto complete for hide file(dir).
but when I type hide dir's full name , it can complete the files in the hide dir.

Reproduce the bug

vim a.sh
~/.ssh            # after type `.`, I can't see any complete

We will close your issue when you don't provide minimal vimrc and we can't
reproduce it

  • Create file mini.vim with:

    set nocompatible
    set runtimepath^=/path/to/coc.nvim
    filetype plugin indent on
    syntax on
    set hidden
    

    Screenshots (optional)

ok
图片
hide file, dir can't complete
图片
files in hide dir.
图片

If applicable, add screenshots to help explain your problem.

Most helpful comment

@fcying fixed.

All 4 comments

Add "coc.source.file.ignoreHidden": false in coc-settings.json.

add this options, after I type ~/, it can saw dotfile or dotdir.
but after I type ~/.s, it can't autocomplete.

@fcying fixed.

It works right now! Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rkulla picture rkulla  Â·  3Comments

aareman picture aareman  Â·  3Comments

tom-james-watson picture tom-james-watson  Â·  3Comments

ctaylo21 picture ctaylo21  Â·  4Comments

LinArcX picture LinArcX  Â·  4Comments