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

feat: support for tinymist preview #43

Merged
merged 4 commits into from
Jul 10, 2024
Merged

feat: support for tinymist preview #43

merged 4 commits into from
Jul 10, 2024

Conversation

Parsifa1
Copy link
Contributor

No description provided.

@chomosuke chomosuke merged commit 27aac31 into chomosuke:master Jul 10, 2024
@Parsifa1
Copy link
Contributor Author

Thank you so much :)

@chomosuke
Copy link
Owner

No worries! thank you for your PR too!

@Scalamando
Copy link

I'm trying to use tinymist with the config below but using the TypstPreview command doesn't start the preview and the only debug messages are:

06:51:53 PM msg_show Usage: tinymist [COMMAND]
06:51:53 PM msg_show For more information, try '--help'.

Using the CLI I could only reproduce this by omitting the preview command in tinymist preview but that shouldn't happen if this piece of code is working as intended.

Do you have any idea what's going on?


My typst-preview.nvim config:

  {
    "chomosuke/typst-preview.nvim",
    ft = "typst",
    version = "0.3.*",
    opts = {
      debug = true,
      dependencies_bin = {
        ["typst-preview"] = "tinymist",
      },
    },
    build = function()
      require("typst-preview").update()
    end,
  },

@Parsifa1
Copy link
Contributor Author

Parsifa1 commented Jul 11, 2024

@Scalamando Are you sure your tinymist preview works properly in the shell?

Oh, I know, you should delete the version lock :)
this pr is on the master

@Scalamando
Copy link

Oh, I know, you should delete the version lock :)
this pr is on the master

That was the problem! Thanks for your help and the PR :)

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 this pull request may close these issues.

3 participants