Allow setting org_todo_keyword_faces directly with `@org.keyword.face.*` highlight groups
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the code that processes org_todo_keyword_faces and registers highlights for entries in org_todo_keywords. Trace how the existing face settings and default todo/done links are selected. Done means each keyword receives an overridable @org.keyword.face. group, with the stated fallback behavior when no face attributes are configured.
Written by the indexing model from the issue text.
Description
Each @org.keyword.face.<name> highlight group is only considered in orgmode's highlight specs when <name> is defined inside org_todo_keyword_faces option with at least 1 attribute. Since the option is static, it cannot adapt to users changing Neovim colorschemes at runtime.
My workaround for now is to put a temporary face value (.e.g :weight bold) for each keyword and redefine the corresponding @org.keyword.face.<name> highlight groups in my colorscheme file.
It'd be nice if orgmode can register a single @org.keyword.face.* highlight group unconditionally for each entry in org_todo_keywords option, first considering the highlight settings of org_todo_keyword_faces, and if not available, linking to either @org.keyword.todo and @org.keyword.done by default. The users are free to override the highlight groups in their colorscheme configuration.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 192
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-orgmode/orgmode
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
nvim-orgmode/orgmode#1193 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
nvim-orgmode/orgmode#1175 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nvim-orgmode/orgmode#1174 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
nvim-orgmode/orgmode#1173 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 50/100
nvim-orgmode/orgmode#1172 ·
Maintainers usually reply within 1 day
All issues in nvim-orgmode/orgmode
Similar issues
-
Difficulty 2/5 Under an hour Newbie friendliness 80/100
mason-org/mason.nvim#2117 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mailcow/mailcow-dockerized#7518 ·
Maintainers usually reply within 1 day
-
[BUG] rDNS lookups are performed even when the RDNS lists are emptyPossibly taken @kocaemre claimed this today. Openbug core plugins
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bunkerity/bunkerweb#4057 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
msys2/MSYS2-packages#6825 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fw876/helloworld#2066 ·
Maintainers usually reply within 1 day