Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

[Bug] nvim-web-devicons is not optional #77

Closed
Olical opened this issue Sep 17, 2021 · 3 comments
Closed

[Bug] nvim-web-devicons is not optional #77

Olical opened this issue Sep 17, 2021 · 3 comments
Labels
kind: fix Something isn't working

Comments

@Olical
Copy link

Olical commented Sep 17, 2021

Neovim version

NVIM v0.5.0
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: 
Compiled by nixbld

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/nix/store/920i9s2jc9nvm8zqp8f214apf9wbm34p-neovim-unwrapped-0.5.0/share/nvim
"

Run :checkhealth for more info

Feline version

v0.1

Describe the bug

The plugin can not be initialised and used unless you have nvim-web-devicons installed since this commit 6961f91

I beleive the correct course of action is to gate that code to ensure it doesn't execute unless the module is require-able.

To Reproduce

Install feline and open Neovim without nvim-web-devicons installed.

@Olical Olical added the kind: fix Something isn't working label Sep 17, 2021
@famiu
Copy link
Owner

famiu commented Sep 17, 2021

Already fixed in latest develop, the bugfix will be included in the next patch release

@famiu famiu closed this as completed Sep 17, 2021
@Olical
Copy link
Author

Olical commented Sep 17, 2021 via email

@famiu
Copy link
Owner

famiu commented Sep 17, 2021

So fast! Sorry I didn't check for that before opening an issue, my bad. If you're not planning on merging develop for a little while it might be worth leaving this issue open for visibility too. It's what I do on my plugins :) I only close once the fix is merged and released.

I plan to release the next patch once #76 is merged.

Thanks for the plugin! Have a good weekend!

No problem, and thanks, you too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind: fix Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants