diff --git a/init.lua b/init.lua index 2fd6d6f..513b746 100644 --- a/init.lua +++ b/init.lua @@ -31,6 +31,7 @@ require("lazy").setup({ -- load plugins' setup require("neogit").setup{} require("gitmoji").setup({}) +require("todo-comments").setup({}) require("cmp").setup({ sources = { { name = 'gitmoji' } diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 96a9ef7..e5fb88c 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -130,5 +130,15 @@ return { require("telescope").setup(opts) require("telescope").load_extension('cmdline') end, - } + }, + { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + }, + }