Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adapt to changes in telescope api 0.1.6 #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgierada
Copy link

@mgierada mgierada commented Jun 29, 2024

Fixes the issue with launching git-worktree.nvim with telescope v. 0.1.6

stack traceback:
	[C]: in function 'nvim_win_get_width'
	...l/share/nvim/lazy/telescope.nvim/lua/telescope/utils.lua:287: in function 'calc_result_length'
	...l/share/nvim/lazy/telescope.nvim/lua/telescope/utils.lua:347: in function 'transform_path'
	...worktree.nvim/lua/telescope/_extensions/git_worktree.lua:166: in function 'parse_line'
	...worktree.nvim/lua/telescope/_extensions/git_worktree.lua:179: in function 'git_worktrees'
	/Users/maciej/.config/nvim/lua/mappings.lua:77: in function </Users/maciej/.config/nvim/lua/mappings.lua:76>

while running with telescope 0.1.6.

Also, adding doc strings and running some formatting

Fixes #122 and related to #123

@mgierada mgierada force-pushed the adapt-for-telescope-api-changes branch from 1a8a596 to 2f51557 Compare June 29, 2024 09:40
@mgierada mgierada changed the title feat: adapt to changes in telescope api feat: adapt to changes in telescope api 0.1.6 Jun 29, 2024
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.

No worktrees with Telescope 0.1.6
1 participant