mcchrish / nnn.vim

File manager for vim/neovim powered by n³
BSD 2-Clause "Simplified" License
646 stars 25 forks source link

Environment variables within nnn#command doesn't work as expected #44

Closed laggardkernel closed 5 years ago

laggardkernel commented 5 years ago

Describe the bug

Environment variables passed into nnn#command doesn't take effect.

let g:nnn#command = 'NNN_SHOW_HIDDEN=1 nnn -l' " light mode
nnoremap <leader>n :NnnPicker '%:p:h'<CR>

Hidden files are still not shown.

Environment:

mcchrish commented 5 years ago

NNN_SHOW_HIDDEN seems to be removed in 2.4 https://github.com/jarun/nnn/blob/master/CHANGELOG#L16