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
By now it's not possible because window is registered after ~/.vimrc execution
check it with
$ vim --startuptime -V9vim.log
then search for "~/.vimrc" and "register servername"
vimrc definition: https://github.com/vim/vim/blob/fc53ec1e9aac682a8524698240ed2bb6f7b0e300/src/os_unix.h#L288
message about registering server: https://github.com/vim/vim/blob/master/src/main.c#L3630
call to source scripts: https://github.com/vim/vim/blob/master/src/main.c#L626 https://github.com/vim/vim/blob/master/src/main.c#L3021
call to register server: https://github.com/vim/vim/blob/master/src/main.c#L801
"do_source" happens before "prepare_server", no way to use breakpts by now. It would be cool to propose a change in call order and test
$ vim --servername vimrcdebug -c "breakadd ~/.vimrc"
or
$ vim --servername vimrcdebug -D
then in another terminal
$ vim :BreakPts :BPRemote VIMRCDEBUG :BPDWhere
The text was updated successfully, but these errors were encountered:
No branches or pull requests
By now it's not possible because window is registered after ~/.vimrc execution
check it with
then search for "~/.vimrc" and "register servername"
vimrc definition:
https://github.com/vim/vim/blob/fc53ec1e9aac682a8524698240ed2bb6f7b0e300/src/os_unix.h#L288
message about registering server:
https://github.com/vim/vim/blob/master/src/main.c#L3630
call to source scripts:
https://github.com/vim/vim/blob/master/src/main.c#L626
https://github.com/vim/vim/blob/master/src/main.c#L3021
call to register server:
https://github.com/vim/vim/blob/master/src/main.c#L801
"do_source" happens before "prepare_server", no way to use breakpts by now. It would be cool to propose a change in call order and test
or
then in another terminal
The text was updated successfully, but these errors were encountered: