From b74db854470c5b7426b399b041e31ea8c6901364 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 10 Jun 2024 18:10:13 +0200 Subject: [PATCH] feat(fzf-lua): added support for todo-comments --- lua/lazyvim/plugins/extras/editor/fzf.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/lazyvim/plugins/extras/editor/fzf.lua b/lua/lazyvim/plugins/extras/editor/fzf.lua index 9428177a..e8402e40 100644 --- a/lua/lazyvim/plugins/extras/editor/fzf.lua +++ b/lua/lazyvim/plugins/extras/editor/fzf.lua @@ -135,6 +135,16 @@ return { }, }, + { + "folke/todo-comments.nvim", + optional = true, + -- stylua: ignore + keys = { + { "st", function() require("todo-comments.fzf").todo() end, desc = "Todo" }, + { "sT", function () require("todo-comments.fzf").todo({ keywords = { "TODO", "FIX", "FIXME" } }) end, desc = "Todo/Fix/Fixme" }, + }, + }, + -- remove when https://github.com/ibhagwan/fzf-lua/pull/1244 gets merged { "ibhagwan/fzf-lua",