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(builtin.marks): add support for cwd and cwd_only options #3324

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

Conversation

coockoo
Copy link

@coockoo coockoo commented Oct 10, 2024

Description

This PR allows usage of cwd and cwd_only options in marks picker.

Fixes #3213

Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list relevant details about your configuration

  • :lua require('telescope.builtin').marks({ cwd_only = true })
  • :lua require('telescope.builtin').marks({ cwd = '/path/to/cwd' })

Configuration:

  • Neovim version (nvim --version): NVIM v0.10.1
  • Operating system and version: macOS 14.7

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

@coockoo coockoo changed the title marks picker: add support for cwd and cwd_only options feat(builtin.marks): add support for cwd and cwd_only options Oct 10, 2024
Copy link

@bazko1 bazko1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested - works fine I was looking for this options to add to my config.

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.

cwd_only option for marks picker
2 participants