Closed MikeLemo1 closed 5 months ago
Sorry i can't debug a ton of obscure and incomprehensible neovim-only lua nonesense.
My best guess is that you installed it wrong, or didn't install it at all.
Follow the installation instructions and provide a minimal reproducible example and perhaps I can assist.
Assuming that this is not a bug bug an installation issue, therefore closing.
Regarding the installation it uses the package manager Lazy and I've posted al the relevant config code that both installs vispector automatically and configs it.
But it work's quite bugy if you didn't read it and won't let launch the debugger and start it without runninng :VimspectorInstall
OR :VimspectorUpdate
first...
Take it up with the author of the package manager. That's nothing I can change. Your package manager, your choice. If you can demonstrate a problem using the supported installation methods in the readme, I'm all ears.
Description
I might be doing something wrong with my setup but then only way I can get spector started in nvim is by using the command
<cmd>VimspectorUpdate<cr>
and then it put the following message: Failed to runconfig
for vimspectorvim/_editor.lua:0: nvim_exec2(): Vim(packadd):E919: Directory not found in 'packpath': "pack/*/opt/vimspector"
stacktrace:
Is it reproducible in vim?
Only broken in Neovim
Works with clean config?
Yes
Sample project works?
Not reproducible with sample project
Minimal Reproduction
List of steps to reproduce:
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc ....
Expected Behaviour
load the vimspector.json file and start the debugger with
<cmd>call vimspector#Launch()<cr>
Actual Behaviour
E117: Unknown function: vimspector#Launch OR
Failed to run
config
for vimspectorvim/_editor.lua:0: nvim_exec2(): Vim(packadd):E919: Directory not found in 'packpath': "pack/*/opt/vimspector"
stacktrace:
after
<cmd>VimspectorUpdate<cr>
that temporarly for the session fixes it.Additional information
my config: ~/.config/nvim/lua/config/vimspector.lua
Installation Type
Plugin Manager (git clone)
Vimspector version
def0926
Debug Info
No response
Log file
No response
Vim version
Python version
No response
Neovim diagnostics
No response
Operating System
No response
Declaration