We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is diffview.lib is require()d without having imported diffview.bootstrap first, diffview crashes attempting to index a nil value.
diffview.lib
require()
diffview.bootstrap
requiring bootstrap should not be necessary for using lib. For example: https://github.com/harrisoncramer/gitlab.nvim/blob/96d7e16ef7b26e42fdf813fd32f39d096aed33e1/lua/gitlab/reviewer/init.lua#L12
diffview/lib.lua:12: attempt to index global 'DiffviewGlobal' (a nil value)
require("bootstrap.lib")
:checkhealth diffview
####################### ### PUT OUTPUT HERE ### #######################
:DiffviewLog
############################ ### PUT LOG CONTENT HERE ### ############################
nvim 0.9.5
Linux
n/a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Is
diffview.lib
isrequire()
d without having importeddiffview.bootstrap
first, diffview crashes attempting to index a nil value.Expected behavior
requiring bootstrap should not be necessary for using lib. For example: https://github.com/harrisoncramer/gitlab.nvim/blob/96d7e16ef7b26e42fdf813fd32f39d096aed33e1/lua/gitlab/reviewer/init.lua#L12
Actual behavior
diffview/lib.lua:12: attempt to index global 'DiffviewGlobal' (a nil value)
Steps to reproduce
require("bootstrap.lib")
Health check
Output of
:checkhealth diffview
Log info
Relevant info from
:DiffviewLog
Neovim version
Operating system and version
Linux
Minimal config
n/a
The text was updated successfully, but these errors were encountered: