diff --git a/config/nvim/lua/fschauen/plugins/todo-comments.lua b/config/nvim/lua/fschauen/plugins/todo-comments.lua index d08ed16..8dad60c 100644 --- a/config/nvim/lua/fschauen/plugins/todo-comments.lua +++ b/config/nvim/lua/fschauen/plugins/todo-comments.lua @@ -1,19 +1,18 @@ +local prefix = require('fschauen.telescope').prefix or 'f' + return { 'folke/todo-comments.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, - config = true, - event = { 'BufReadPost', 'BufNewFile' }, - keys = { - { 'ft', 'TodoTelescope' }, + { prefix .. 't', 'TodoTelescope' }, }, }