sebdah / vim-delve

Neovim / Vim integration for Delve
MIT License
502 stars 24 forks source link

Plz add a "Getting started" section to readme #27

Closed GodloveD closed 6 years ago

GodloveD commented 6 years ago

This project seems cool, but after installing neovim and adding the package, I don't really know how to get started using it. If I use nvim to open the source file containing main() and try to execute DlvToggleBreakpoint I just get:

E492: Not an editor command: DlvToggleBreakpoint

I'm sure it is probably very simple, but so am I! Can I get some hints. 😄

fuweid commented 6 years ago

Hi @GodloveD ,

I didn't reproduce your issue. Could you mind to provide your env information? for example, the version of nvim.

BTW, what kind of the Get Started do you want? :smile: I think that the gif in the README.md is good enough. You can point out what you want. 😃

sebdah commented 6 years ago

@GodloveD It seems like vim-delve was not properly installed. What steps did you take to install it?

GodloveD commented 6 years ago

So that should work? You just open a source code file, set a breakpoint and your off to the races? No need to fire up delve or anything?

GodloveD commented 6 years ago

@sebdah I just followed the installation instructions here. Nothing fancy. I installed nvim via apt.

sebdah commented 6 years ago

Did you use a package manager for neovim (like plug or pathogen) to install vim-delve?

On Fri, May 18, 2018, 6:27 PM David Godlove notifications@github.com wrote:

@sebdah https://github.com/sebdah I just followed the installation instructions here https://github.com/sebdah/vim-delve#installation. Nothing fancy. I installed nvim via apt.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/sebdah/vim-delve/issues/27#issuecomment-390260767, or mute the thread https://github.com/notifications/unsubscribe-auth/AA0QLI2a7ywMcrVK_os2gPDJOe20-15Uks5tzvZqgaJpZM4UAKk1 .

GodloveD commented 6 years ago

Hi @sebdah! Yes I used plug.

sebdah commented 6 years ago

I see, is there no error when you run :PlugInstall? Basically the vim-delve plugin is not installed in your Neovim setup. So I'd guess that either Plug is misconfigured or the installation fails somehow.

Maybe you could try removing the plugin and install it again and keep a close eye on the installation. After Plug is done installing you could see more details about how the installation went (I think you'd press D).