Closed taoliv closed 3 years ago
Please provide the message tree ~/.config/ranger
and follow the https://github.com/alexanderjeurissen/ranger_devicons#install-instructions steps
Thanks for your reply. I just figured it out. My directory structure just now is:
tree ~/.config/ranger/plugins
.
├── compress.py
├── devicons.py
├── extract.py
└── __init__.py
0 directories, 4 files
__init__.py
and devicons.py
are copied from https://github.com/alexanderjeurissen/ranger_devicons.
When I create a subfolder devicons
here and move __init__.py
and devicons.py
to devicons
, it works:
tree ~/.config/ranger/plugins
.
├── compress.py
├── devicons
│ ├── devicons.py
│ ├── __init__.py
│ └── __pycache__
│ ├── devicons.cpython-38.pyc
│ └── __init__.cpython-38.pyc
├── extract.py
└── __pycache__
├── compress.cpython-38.pyc
├── devicons.cpython-38.pyc
├── extract.cpython-38.pyc
└── __init__.cpython-38.pyc
3 directories, 10 files
nvim --version
: 0.4.4nvim +'checkhealth rnvimr'
:Describe the bug Can not display devicons. And it reports an error: "loading...rangerInvalid linemode: devicons; should be filename/metatitle/...".
My configuration
Expected behavior In my ranger:
Screenshots When open ranger in nvim: