mirror of https://github.com/helix-editor/helix
Add theme keys for (un)checked markup list items (#6434)
parent
2f64c768df
commit
851ac6cdd3
|
@ -228,6 +228,8 @@ We use a similar set of scopes as
|
||||||
- `list`
|
- `list`
|
||||||
- `unnumbered`
|
- `unnumbered`
|
||||||
- `numbered`
|
- `numbered`
|
||||||
|
- `checked`
|
||||||
|
- `unchecked`
|
||||||
- `bold`
|
- `bold`
|
||||||
- `italic`
|
- `italic`
|
||||||
- `strikethrough`
|
- `strikethrough`
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
(list_marker_parenthesis)
|
(list_marker_parenthesis)
|
||||||
] @markup.list.numbered
|
] @markup.list.numbered
|
||||||
|
|
||||||
|
(task_list_marker_checked) @markup.list.checked
|
||||||
|
(task_list_marker_unchecked) @markup.list.unchecked
|
||||||
|
|
||||||
(thematic_break) @punctuation.special
|
(thematic_break) @punctuation.special
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
@ -80,9 +80,11 @@
|
||||||
"markup.list" = { fg = "light-blue" }
|
"markup.list" = { fg = "light-blue" }
|
||||||
"markup.list.unnumbered" = { fg = "light-blue" }
|
"markup.list.unnumbered" = { fg = "light-blue" }
|
||||||
"markup.list.numbered" = { fg = "light-blue" }
|
"markup.list.numbered" = { fg = "light-blue" }
|
||||||
|
"markup.list.checked" = { fg = "green" }
|
||||||
|
"markup.list.unchecked" = { fg = "blue" }
|
||||||
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
|
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
|
||||||
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
|
"markup.italic" = { fg = "purple", modifiers = ["italic"] }
|
||||||
"markup.strikethrough" = { modifiers = ["crossed_out"] }
|
"markup.strikethrough" = { fg = "red", modifiers = ["crossed_out"] }
|
||||||
"markup.link" = { fg = "light-blue" }
|
"markup.link" = { fg = "light-blue" }
|
||||||
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"] }
|
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"] }
|
||||||
"markup.link.text" = { fg = "light-blue" }
|
"markup.link.text" = { fg = "light-blue" }
|
||||||
|
|
Loading…
Reference in New Issue