Skip to content

fix(bun): notify user when bun is not installed#446

Closed
barrettruth wants to merge 1 commit intowallpants:mainfrom
barrettruth:fix/bun-loud-fail
Closed

fix(bun): notify user when bun is not installed#446
barrettruth wants to merge 1 commit intowallpants:mainfrom
barrettruth:fix/bun-loud-fail

Conversation

@barrettruth
Copy link

Problem

When bun is not installed, running GithubPreviewToggle silently fails. jobstart returns without error and produces no visible output, leaving the user with no indication of what went wrong.

Solution

Check vim.fn.executable("bun") at the top of start() and show an ERROR-level notification with install instructions before any jobs are spawned.

Problem: when bun is not in PATH, GithubPreviewToggle silently fails
because jobstart returns without error and produces no visible output.

Solution: check vim.fn.executable("bun") at the top of start() and
show an ERROR-level notification with install instructions before any
jobs are spawned.
@barrettruth barrettruth closed this by deleting the head repository Mar 3, 2026
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.

1 participant