refactor(icons): unify category/header icon and use checkbox overlays
Problem: `header` and `category` were separate icons for the same concept. The icon overlay replaced `[ ]` with a bare character, hiding the markdown checkbox syntax. Header format `## ` produced a double-space with single-char icons. Solution: merge `header` into `category` (one icon for both header lines and EOL labels). Overlay renders `[icon]` preserving bracket syntax. Change header line format from `## ` to `# ` so the 2-char overlay (`# `) maps cleanly.
This commit is contained in:
parent
26b14b6ba8
commit
530009d830
9 changed files with 61 additions and 81 deletions
|
|
@ -2,7 +2,6 @@
|
|||
---@field pending string
|
||||
---@field done string
|
||||
---@field priority string
|
||||
---@field header string
|
||||
---@field due string
|
||||
---@field recur string
|
||||
---@field category string
|
||||
|
|
@ -82,10 +81,9 @@ local defaults = {
|
|||
},
|
||||
sync = {},
|
||||
icons = {
|
||||
pending = '-',
|
||||
pending = ' ',
|
||||
done = 'x',
|
||||
priority = '!',
|
||||
header = '>',
|
||||
due = '.',
|
||||
recur = '~',
|
||||
category = '#',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue