From d91ef1c93401e18646b6500b8ead581d548abfd2 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Fri, 8 May 2026 16:24:03 -0700 Subject: [PATCH] [nvim] Fix obsidian todo-character cycle order --- .../features/neovim/config/lua/plugins/obsidian.lua | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/home-manager/features/neovim/config/lua/plugins/obsidian.lua b/home-manager/features/neovim/config/lua/plugins/obsidian.lua index bbffe2b..0959d82 100644 --- a/home-manager/features/neovim/config/lua/plugins/obsidian.lua +++ b/home-manager/features/neovim/config/lua/plugins/obsidian.lua @@ -32,18 +32,13 @@ return { time_format = "%H:%M", }, + checkbox = { + order = { " ", "x", "/", ">", "~", "!" }, + }, + ui = { -- Disable the UI features and let render-markdown.nvim handle it. enable = false, - -- Even with UI disabled, this determines the order of checkbox states for the smart action. - checkboxes = { - [" "] = { char = "☐", hl_group = "ObsidianTodo" }, - ["x"] = { char = "✔", hl_group = "ObsidianDone" }, - ["/"] = { char = "⧗", hl_group = "ObsidianTodo" }, - [">"] = { char = "»", hl_group = "ObsidianRightArrow" }, - ["~"] = { char = "»", hl_group = "ObsidianTilde" }, - ["!"] = { char = "⛝", hl_group = "ObsidianDone" }, - }, }, -- Put the note ID in the wiki links