Skip to content

Commit 5b667f4

Browse files
Fix todo keyword faces highlighting on nightly
1 parent 20b2ce2 commit 5b667f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/orgmode/colors/highlights.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ function M.parse_todo_keyword_faces(do_syn_match)
203203
vim.cmd(string.format([[syn match %s "\<%s\>" contained]], hl_name, name))
204204
end
205205
vim.cmd(string.format('hi %s %s', hl_name, hl))
206+
if vim.fn.has('nvim-0.8') then
207+
vim.cmd(string.format([[hi link @%s %s]], hl_name, hl_name))
208+
end
206209
result[name] = hl_name
207210
end
208211
end

0 commit comments

Comments
 (0)