Skip to content
Discussion options

You must be logged in to vote

Welp, just answered my own question.
I think it could have been better explained in the docs, but you don't need to edit the ops table, but you have to pass the custom configuration to the setup() function inside config = { ... }.

My update config:

return {
	{
		"folke/todo-comments.nvim",
		dependencies = { "nvim-lua/plenary.nvim" },
		-- TODO:
		--
		-- ASK: th

		config = function ()
			local wk = require("which-key")

			wk.add({
			mode = 'n',
				{ "<leader>t", group = "Todo's..." },
				{ "<leader>td", "<CMD>TodoQuickFix<CR>", desc = "QuickFix-list with all Todo's" },
				{ "<leader>tt", "<CMD>TodoTelescope<CR>", desc = "Telescope with all Todo's" },
			})

			require("todo-comments"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BWindey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants