Skip to content

Commit b5e4e75

Browse files
committed
Simplify obsidian checkboxes
I don't need so many checkbox types
1 parent 8d3d1a6 commit b5e4e75

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

neovim/lua/lazy_specs/obsidian.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,14 @@ return {
150150
workspaces = {
151151
{ name = "personal", path = vault_path },
152152
},
153-
checkboxes = {
154-
[" "] = { char = "", hl_group = "ObsidianTodo" },
155-
["x"] = { char = "", hl_group = "ObsidianDone" },
153+
checkbox = {
154+
order = { " ", "x" },
156155
},
157156
ui = {
157+
checkboxes = {
158+
[" "] = { char = "", hl_group = "ObsidianTodo" },
159+
["x"] = { char = "", hl_group = "ObsidianDone" },
160+
},
158161
external_link_icon = { char = "🔗", hl_group = "ObsidianExtLinkIcon" },
159162
},
160163
templates = {

0 commit comments

Comments
 (0)