-
Notifications
You must be signed in to change notification settings - Fork 42.9k
Open
Description
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
- sudo apt install nvim
- fork and clone the kickstart repo in ~/.config/nvim/
- 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
Labels
No labels