Giter Club home page Giter Club logo

Comments (10)

ashkan117 avatar ashkan117 commented on July 20, 2024 1

For whatever reason I had vim.cmd [[packadd nvim-tree.lua]] in my config. Commenting this out resolved my issue

from nvim-web-devicons.

kyazdani42 avatar kyazdani42 commented on July 20, 2024 1

because nvim-tree doesn't use a classic lua setup which makes lazy loading fail on some cases. I must do a refactoring but it is quite big and it will take some time :)

from nvim-web-devicons.

kyazdani42 avatar kyazdani42 commented on July 20, 2024 1

there are many issues related to lazy loading i believe, no need to add another one :)

from nvim-web-devicons.

yifan0414 avatar yifan0414 commented on July 20, 2024 1

Thank you all, This solve my Problem.

from nvim-web-devicons.

kyazdani42 avatar kyazdani42 commented on July 20, 2024

works fine on my end, could you try to set debug=throw and reopen nvim ? maybe you have an issue with your configs. Also could you provide me with a minimal init file that i could use to reproduce this issue please ?

from nvim-web-devicons.

ashkan117 avatar ashkan117 commented on July 20, 2024

I'm new to debugging neovim. I set debug=throw and after restarting nvim nothing changes.

I added a link to my dot files
https://github.com/ashkan117/dotfiles/tree/master/neovim-lua

from nvim-web-devicons.

kyazdani42 avatar kyazdani42 commented on July 20, 2024

@ashkan117 your repository seems private, i cannot access the configuration provided

from nvim-web-devicons.

ashkan117 avatar ashkan117 commented on July 20, 2024

@kyazdani42 I believe it should be public now. Sorry about that.

from nvim-web-devicons.

Iron-E avatar Iron-E commented on July 20, 2024

It seems there's some issue with nvim-tree.lua being lazy-loaded as an opt plugin. With packer.nvim and the following spec:

use {'kyazdani42/nvim-tree.lua', after='nvim-web-devicons'}

The plugin reproduces this behavior. However, removing the after= causes the bug to go away. :packadding nvim-tree.lua must cause some sort of issue, over Neovim letting it start automatically.

from nvim-web-devicons.

Iron-E avatar Iron-E commented on July 20, 2024

Thank you for your dedication!

Should this issue be reopened / transfered to nvim-tree.lua for the meantime?

from nvim-web-devicons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.