cyclist.vim icon indicating copy to clipboard operation
cyclist.vim copied to clipboard

After installation of a plugin, netrw started to show hidden dirs like .DS_store

Open yan-aint-nickname opened this issue 1 year ago • 0 comments

Hi tj! I really like the plugin! However, I found a bug/issue. After installing a plugin and restarting an nvim session, netrw started showing hidden .DS_store dir. I found a workaround, but I don't know if it's the best approach.

Workaround

vim.g.netrw_list_hide = '^\\[.git$,^\\[.DS_Store$'

My cyclist.vim config is very basic

set list

if !get(g:, 'loaded_cyclist', v:false)
  finish
endif

call cyclist#add_listchar_option_set('limited', {
        \ 'eol': '↲',
        \ 'tab': '» ',
        \ 'trail': '·',
        \ 'extends': '<',
        \ 'precedes': '>',
        \ 'conceal': '┊',
        \ 'nbsp': '␣',
        \ })

call cyclist#add_listchar_option_set('busy', {
        \ 'eol': '↲',
        \ 'tab': '»·',
        \ 'space': '␣',
        \ 'trail': '-',
        \ 'extends': '☛',
        \ 'precedes': '☚',
        \ 'conceal': '┊',
        \ 'nbsp': '☠',
        \ })

nmap <leader>cl <Plug>CyclistNext

Envs:

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

yan-aint-nickname avatar Feb 05 '24 13:02 yan-aint-nickname