Closed luisdavim closed 3 years ago
You’re saying that with the minimal vimrc you get not vimspector but also no errors?
can you record an asciinema showing that? I’m pretty baffled why that might be!
vimspector seems to work, for example, I can press <F5>
and start a debugging session but my vim doesn't recognise/find any of the commands the plugin provides....
sorry, my bad, I think the problem was vim-plug
lazy loading and the plugin not being loaded on certain buffers.
I'm sorry to have wasted your time.
the problem was vim-plug lazy loading
I don't understand how that can have possibly affected the minimal vimrc reproduction.
yeah, that's right maybe there is a problem there.
only if you actually performed the test per the instructions, which I kinda doubt tbh. If you can record a asciienma showing it then I can believe it ;)
List of steps to reproduce:
Run vim ---clean Nu /path/to/vimspector/support/minimal_vimrc type :VimspectorInstall
naturally, I can't reproduce (after correcting the command line above to vim --clean -Nu ...
you copied the incorrect command line - please use the correct command. You have like vim ---clean Nu
not vim --clean -Nu
Describe the bug
The
README
mentions commands likeVimspectorInstall
but non seems to work, if I try them I get something likeE492: Not an editor command: VimspectorInstall
I have installed the plugin usingvim-plug
https://github.com/luisdavim/dotfiles/blob/master/files/vim/config/01.plugins.vim#L102-L109Minimal reproduciton
vim --clean -Nu /path/to/vimspector/support/minimal_vimrc
? YesList of steps to reproduce:
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc
:VimspectorInstall
Expected behaviour
I would expect commands like
VimspectorInstall
andVimspectorUpdate
to work from any place.Actual behaviour
The commands are not found.
There's no logs because I didn't start a debug sessions.
Environemnt
I'm using neovim on macOS but I can reproduce the issue with vim as well
git rev-parse HEAD
if cloned or the name of the tarball used to install otherwise):VimspectorDebugInfo
vim --version
ornvim --version
which vim
orwhich nvim
::py3 print( __import__( 'sys' ).version )
::py3 import vim
::py3 import vimspector
::checkhealth
Declaration