Skip to content

changing g:instant_rst_localhost_only has no effect #16

@dmmfll

Description

@dmmfll

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

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions