Skip to content

Problem with snakcs.nvim #146

@PhyAMR

Description

@PhyAMR

Hi, I don't know why but suddenly the snacks configuration broke. It's giving this error:

Failed to run `config` for snacks.nvim
                                                                                                                                                                                                                                                                                                
...e/.local/share/nvim/lazy/snacks.nvim/lua/snacks/init.lua:149: attempt to index a number value                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                
# stacktrace:                                                                                                                                                                                                                                                                                   
  - /snacks.nvim/lua/snacks/init.lua:149 _in_ **setup**                                                                                                                                                                                                                                         
  - .config/nvim/lua/neotex/plugins/tools/snacks/init.lua:168 _in_ **config**                                                                                                                                                                                                                   
  - .config/nvim/lua/neotex/bootstrap.lua:122                                                                                                                                                                                                                                                   
  - .config/nvim/lua/neotex/bootstrap.lua:15 _in_ **func**                                                                                                                                                                                                                                      
  - .config/nvim/lua/neotex/bootstrap.lua:224 _in_ **init**                                                                                                                                                                                                                                     
  - .config/nvim/init.lua:40    

I asked chatgpt about it and it told me that it had something to do with the

vim.ui.input = snacks.input line, but I commented it and it didn't do anything. I also switched to using markview.nvim instead of m̀arkdown-preview.nvimand markdownrender.nvim but after going back I got the same error.

I don't know if you have any clue about what this could be.

Thanks again for this amazing configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions