Skip to content

[BUG?] Downloading dependencies even though dependencies_bin is set #97

Description

@steef435

Describe the bug
Using the following packer setup:

  use {
    'chomosuke/typst-preview.nvim',
    tag = 'v1.*',
    config = function()
      require 'typst-preview'.setup {
        dependencies_bin = {
          ['tinymist'] = vim.fn.exepath('tinymist'),
          ['websocat'] = vim.fn.exepath('websocat'),
	}
      }
    end,
  }

The plugin still downloads tinymist and websocat (while both are installed globally). I've confirmed that vim.fn.exepath() gives the proper paths to the binaries.

Additional context
It could perhaps be a packer issue? I don't have time (to learn to) debug it currently, reporting in case others experience this as well.

Thank you for sharing this plugin!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions