Skip to content

Kickstart fail to initialize after fork with neovim 0.11.5 #1782

@Dzubrul

Description

@Dzubrul

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

Kickstart fails to install itself after being forked and installed in ~/.config/nvim/ with this error message:

E5113: Error while calling lua chunk: vim/_init_packages.lua:0: module 'vim.diagnostic' not found:
        no field package.preload['vim.diagnostic']
        no file './vim/diagnostic.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1/vim/diagnostic.lua'
        no file '/usr/local/share/lua/5.1/vim/diagnostic.lua'
        no file '/usr/local/share/lua/5.1/vim/diagnostic/init.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/vim/diagnostic.lua'
        no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/vim/diagnostic/init.lua'
        no file './vim/diagnostic.so'
        no file '/usr/local/lib/lua/5.1/vim/diagnostic.so'
        no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/vim/diagnostic.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './vim.so'
        no file '/usr/local/lib/lua/5.1/vim.so'
        no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/vim.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        vim/_init_packages.lua: in function '__index'
        /home/fred/.config/nvim/init.lua:177: in main chunk
E484: Can't open file /usr/local/share/nvim/syntax/syntax.vim

To Reproduce

  1. sudo apt install nvim
  2. fork and clone the kickstart repo in ~/.config/nvim/
  3. launch nvim and see it crash on startup with the above error message.

Desktop

  • OS: Linux Mint 22.1
  • Terminal: bash

Neovim Version

NVIM v0.11.5
Build type: Release
LuaJIT 2.1.1741730670
Run ":verbose version" for more info
Press ENTER or type command to continue

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