aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nvim/after/plugin/todo-txt.lua7
-rw-r--r--nvim/lua/lemon/packer.lua4
2 files changed, 11 insertions, 0 deletions
diff --git a/nvim/after/plugin/todo-txt.lua b/nvim/after/plugin/todo-txt.lua
new file mode 100644
index 0000000..917805d
--- /dev/null
+++ b/nvim/after/plugin/todo-txt.lua
@@ -0,0 +1,7 @@
+require('todotxt-nvim').setup({
+ todo_file = "/home/lemon/Documents/Notes/todo/todo.txt",
+ sidebar = {
+ width = 60,
+ position = "right", -- default: "right"
+ },
+})
diff --git a/nvim/lua/lemon/packer.lua b/nvim/lua/lemon/packer.lua
index 9012d6d..5024f8c 100644
--- a/nvim/lua/lemon/packer.lua
+++ b/nvim/lua/lemon/packer.lua
@@ -6,6 +6,10 @@ vim.cmd.packadd('packer.nvim')
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
+ use {
+ 'arnarg/todotxt.nvim',
+ requires = {'MunifTanjim/nui.nvim'},
+ }
use("theprimeagen/harpoon")
use {
'nvim-telescope/telescope.nvim', tag = '0.1.0',