nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.92k stars 181 forks source link

Cannot install nvim-web-devicons properly on Nvim 0.7.2 #467

Closed MinhTran0911 closed 1 month ago

MinhTran0911 commented 1 month ago

I try to install nvim-web-devicons using Packer on Nvim 0.7.2 (cannot upgrade to newer Nvim version due to machine limitation):

use {'nvim-tree/nvim-web-devicons'}

As soon as I run :PackerSync to install it, this message appears everytime I open Nvim: image

Line 26 of my init.vim contains the end marker for LUA section - EOF: image

Note that the problem appears even when I don't call require('nvim-web-devicons').setup(). Also, I cannot run :NvimWebDeviconsHiTest, as the following stacktrace: image

Any help would be appreciated!

gegoune commented 1 month ago

0.7.2 is pretty dated, and although we state in documentation (https://github.com/nvim-tree/nvim-web-devicons?tab=readme-ov-file#requirements) that we are supporting this version it clearly isn't the case. We should update documentation @alex-courtis (I suggest we support 0.9 and, 0.10 and nightly)

Out of interest, what's your machine limitation prohibiting you from upgrading?

MinhTran0911 commented 1 month ago

My company's server is running on a very dated OS, so new versions of Nvim cannot run due to GLIBC version being old. Compiling Nvim from source is also not an option because the gcc toolkit is outdated too -> Install newer gcc and a thousand of its dependencies is a pain (have to find out which version can run on my version of GLIBC). And no internet connection due to privacy reasons, so there's that ... . Anw, thank you for your prompt response.