diff --git a/config/nvim/lua/fschauen/plugins/todo-comments.lua b/config/nvim/lua/fschauen/plugins/todo-comments.lua new file mode 100644 index 0000000..44f6994 --- /dev/null +++ b/config/nvim/lua/fschauen/plugins/todo-comments.lua @@ -0,0 +1,13 @@ +local telescope = vim.F.npcall(require, 'fschauen.plugins.telescope') +local trigger = telescope and telescope.trigger or 'f' + +return { + 'folke/todo-comments.nvim', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = true, + event = { 'BufReadPost', 'BufNewFile' }, + keys = { + { trigger .. 't', 'TodoTelescope' }, + }, +} +