From 52e834f099785c8b572edaefb8ff5136f2c52b20 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 23 Jun 2024 19:54:44 +0200 Subject: [PATCH] add orgmode and update todo-comments regex thing --- modules/tui/neovim.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/modules/tui/neovim.nix b/modules/tui/neovim.nix index 73ffe54..d86ddaf 100644 --- a/modules/tui/neovim.nix +++ b/modules/tui/neovim.nix @@ -170,9 +170,20 @@ in { # TODO learn and add harpoon - notes.todo-comments = { - enable = true; - mappings.telescope = "tt"; + notes = { + todo-comments = { + enable = true; + mappings.telescope = "tt"; + setupOpts.highlight.pattern = ".*<(KEYWORDS)\s*"; + }; + orgmode = { + enable = true; + setupOpts = { + org_agenda_files = [ "~/Notes/org" ]; + org_default_notes_file = "~/Notes/org/refile.org"; + }; + treesitter.enable = true; + }; }; }; };