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

feature: todo_comments for current file #1495

Open
1 task done
kocv59 opened this issue Mar 4, 2025 · 0 comments
Open
1 task done

feature: todo_comments for current file #1495

kocv59 opened this issue Mar 4, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kocv59
Copy link

kocv59 commented Mar 4, 2025

Did you check the docs?

  • I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

In the example it opens all the todo comments in the project.

{
  "folke/todo-comments.nvim",
  optional = true,
  keys = {
    { "<leader>st", function() Snacks.picker.todo_comments() end, desc = "Todo" },
    { "<leader>sT", function () Snacks.picker.todo_comments({ keywords = { "TODO", "FIX", "FIXME" } }) end, desc = "Todo/Fix/Fixme" },
  },
}

Describe the solution you'd like

An argument to Snacks.picker.todo_comments() to show todos in the current file only.

Describe alternatives you've considered

Grep for TODO comments.

Additional context

No response

@kocv59 kocv59 added the enhancement New feature or request label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant