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
My objective is to bind InstantRst to 0.0.0.0.
I am assuming this is achieved by setting g:instant_rst_localhost_only to 0 even though its value is 0 when I start Vim.
Perhaps I am misunderstanding Vim and/or InstantRst since I am new to both.
Steps taken:
open .rst document in vim
check value of g:instant_rst_localhost_only: :echo g:instant_rst_localhost_only
:echo g:instant_rst_localhost_only
result: 0
start InstantRst: :InstantRst
:InstantRst
result: [InstantRst] Preview buffer at http://localhost:5676
StopInstantRst
set g:instant_rst_localhost_only to 1: :let g:instant_rst_localhost_only=1
:let g:instant_rst_localhost_only=1
result: 1
I expected 'localhost' to be '0.0.0.0' with g:instant_rst_localhost_only equals 0 though I am getting no change when it is equal to 0 or 1.
Thanks for the really cool plugin!
The text was updated successfully, but these errors were encountered:
As it turns out even though the output is
InstantRst] Preview buffer at http://localhost:5676
when g:instant_rst_localhost_only == 0
it is still listening on 0.0.0.0
I ran netstat -tulpn | grep 5676
netstat -tulpn | grep 5676
result was
tcp 0 0 0.0.0.0:5676 0.0.0.0:* LISTEN 23727/python2
Sorry, something went wrong.
well, instant-rst.py have some changes. so this option may have no effects...
Thanks for clarifying. And thanks for a really amazing plugin. I use it often.
Thanks~
No branches or pull requests
My objective is to bind InstantRst to 0.0.0.0.
I am assuming this is achieved by setting g:instant_rst_localhost_only to 0 even though its value is 0 when I start Vim.
Perhaps I am misunderstanding Vim and/or InstantRst since I am new to both.
Steps taken:
open .rst document in vim
check value of g:instant_rst_localhost_only:
:echo g:instant_rst_localhost_only
result: 0
start InstantRst:
:InstantRst
result: [InstantRst] Preview buffer at http://localhost:5676
StopInstantRst
set g:instant_rst_localhost_only to 1:
:let g:instant_rst_localhost_only=1
check value of g:instant_rst_localhost_only:
:echo g:instant_rst_localhost_only
result: 1
start InstantRst:
:InstantRst
result: [InstantRst] Preview buffer at http://localhost:5676
I expected 'localhost' to be '0.0.0.0' with g:instant_rst_localhost_only equals 0 though I am getting no change when it is equal to 0 or 1.
Thanks for the really cool plugin!
The text was updated successfully, but these errors were encountered: