-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: symlinked files cannot be highlighted when hovered
I experienced this issue when hovering over my yazi.nvim lazy.nvim spec. It's symlinked to the actual file in the lazy.nvim repository. These are the same file: ```sh /Users/mikavilpas/dotfiles/.config/nvim/lua/plugins/my-file-manager.lua /Users/mikavilpas/.config/nvim/lua/plugins/my-file-manager.lua ``` This commit fixes the issue by resolving the real path of the file before comparing it to the path of the buffer. Closes #195
- Loading branch information
1 parent
377a68a
commit 7a0de28
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters