Skip to content

Fix: use empty strings explicitly for path and sha#135

Open
phtea wants to merge 1 commit intoThePrimeagen:masterfrom
phtea:fix/telescope-display-hl
Open

Fix: use empty strings explicitly for path and sha#135
phtea wants to merge 1 commit intoThePrimeagen:masterfrom
phtea:fix/telescope-display-hl

Conversation

@phtea
Copy link

@phtea phtea commented Jun 26, 2025

When using
:lua require('telescope').extensions.git_worktree.git_worktrees()
A warn message occurs and picker does not function normally (doesn't pick first element by default and doesn't show all elements)

Invalid 'hl_group': Expected Lua string

This change sets "" (empty string) as a fallback for non-highlighted fields to avoid undefined behaviour.

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