Skip to content

fix(nvim-events): skip notifications for non-file buffers#450

Open
n-crespo wants to merge 1 commit intowallpants:mainfrom
n-crespo:fix/ignore-non-file-buffers
Open

fix(nvim-events): skip notifications for non-file buffers#450
n-crespo wants to merge 1 commit intowallpants:mainfrom
n-crespo:fix/ignore-non-file-buffers

Conversation

@n-crespo
Copy link

Description

This PR fixes an issue where the previewer attempts to resolve and process paths for "special" buffers (e.g., mini.files, Telescope, NvimTree). Previously, these buffers triggered autocommands that sent invalid paths (like minifiles://...) to the Bun server, resulting in "Path not found" errors in the previewer.

Checks for buftype using neovim api.

Documentation

  • If submitting/updating a feature, it has been documented in the appropriate places.

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