Skip to content

Treesitter error on openΒ #1732

@chrisolsen

Description

@chrisolsen

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

When I open nvim I see the following error. I initially saw this when using my kickstart branch, but I still see it when I use this repo.

I have removed any previous nvim data (~/.local/share/ngin, ~/.local/state/nvim, ~/.cache/nvim)

Failed to run `config` for nvim-treesitter

...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:387: module 'nvim-treesitter.configs' not found:
        no field package.preload['nvim-treesitter.configs']
        cache_loader: module 'nvim-treesitter.configs' not found
        cache_loader_lib: module 'nvim-treesitter.configs' not found
        no file './nvim-treesitter/configs.lua'
        no file '/usr/share/luajit-2.1/nvim-treesitter/configs.lua'
        no file '/usr/local/share/lua/5.1/nvim-treesitter/configs.lua'
        no file '/usr/local/share/lua/5.1/nvim-treesitter/configs/init.lua'
        no file '/usr/share/lua/5.1/nvim-treesitter/configs.lua'
        no file '/usr/share/lua/5.1/nvim-treesitter/configs/init.lua'
        no file './nvim-treesitter/configs.so'
        no file '/usr/local/lib/lua/5.1/nvim-treesitter/configs.so'
        no file '/usr/lib/lua/5.1/nvim-treesitter/configs.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'Archlin
        no file './nvim-treesitter.so'
        no file '/usr/local/lib/lua/5.1/nvim-treesitter.so'
        no file '/usr/lib/lua/5.1/nvim-treesitter.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'

# stacktrace:
  - .config/nvim/init.lua:248

To Reproduce

  1. Start nvim

Desktop

  • OS: Archlinux
  • Terminal: bash 5.3.3

Neovim Version

NVIM v0.11.4
Build type: RelWithDebInfo
LuaJIT 2.1.1753364724

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions