Skip to content
Discussion options

You must be logged in to vote

NOTE: Issue Resolved

Hi folke,

First of all WOW. Thank you for replying to my post. I initially before trying to set the keymap did run the command :lua Snacks.picker.todo_comments() but it was returning a NIL value. I setup folke/todo-comments.nvim as a dependency but still no progress. Finally i realized that I am not loading the module properly using a require function.

I was able to fix it like so.

return {
    "folke/snacks.nvim",
    priority = 1000,
    lazy = false,
    dependencies = {
        "folke/todo-comments.nvim",
        config = function()
            require("todo-comments").setup({})
        end,
    },
    opts = {
        picker = {
            enabled = true,
      …

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@folke
Comment options

folke Feb 2, 2025
Maintainer

@usman1515
Comment options

Answer selected by usman1515
Comment options

You must be logged in to vote
5 replies
@usman1515
Comment options

@josh-nz
Comment options

@usman1515
Comment options

@josh-nz
Comment options

@josh-nz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants