diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index e4579bb..f049d29 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -38,13 +38,16 @@ Vim. NOTE: Windows is not supported. There is a branch with windows support, which you can contribute to, rather than opening an issue. -* Output of `vim --version` +* Version of Vimspector: (e.g. output of `git rev-parse HEAD` if cloned or the + name of the tarball used to install otherwise) + +* Output of `vim --version` or `nvim --version` ``` paste here ``` -* Output of `which vim`: +* Output of `which vim` or `which nvim`: ``` paste here @@ -56,6 +59,18 @@ paste here paste here ``` +* Output of `:py3 import vim`: + +``` +paste here +``` + +* For neovim: output of `:checkhealth` + +``` +paste here +``` + * Operating system: and version **Additional context** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 133709d..2ae7717 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,6 +24,11 @@ of the following reasons: * The issue does not represent a Vimspector bug or feature request * etc. +Issue titles are important. It's not usually helpful to write a title like +`Issue with Vimspector` or `Issue configuring` or even pasting an error message. +Spend a minute to come up with a consise summary of the problem. This helps with +management of issues, with triage, and above all with searching. + But above all else, please *please* complete the issue template. I know it is a little tedious to get all the various diagnostics, but you *must* provide them, *even if you think they are irrelevant*. This is important, because the diff --git a/autoload/vimspector/internal/state.vim b/autoload/vimspector/internal/state.vim index 11ed003..4e048c4 100644 --- a/autoload/vimspector/internal/state.vim +++ b/autoload/vimspector/internal/state.vim @@ -27,6 +27,7 @@ function! vimspector#internal#state#Reset() abort let prefix='neo' endif py3 << EOF +import vim from vimspector import debug_session _vimspector_session = debug_session.DebugSession( vim.eval( 'prefix' ) ) EOF