Skip to content
New issue

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

Feature Request: Custom Preview URL Port #33

Open
floaterest opened this issue May 12, 2024 · 1 comment · May be fixed by #34
Open

Feature Request: Custom Preview URL Port #33

floaterest opened this issue May 12, 2024 · 1 comment · May be fixed by #34

Comments

@floaterest
Copy link

Currently the TypstPreview command will spawn the typst-preview binary with --static-file-host 127.0.0.1:0, which will let typst-preview choose a random port.

'--static-file-host',
'127.0.0.1:0',

It would be nice if there's an port option in the typst-preview.nvim config for users to choose a port. I'm willing to make an PR for this.

@chomosuke
Copy link
Owner

chomosuke commented May 13, 2024

I will be happy to review your PR, make sure to document the functionality in both doc/typst-preview.nvim.txt and README.md :).

@floaterest floaterest linked a pull request May 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants