Skip to content

Commit 21437cf

Browse files
fix(highlights): Set default flag on highlights to allow overriding
Closes #43
1 parent 46ae687 commit 21437cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/org-bullets.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ local function get_mark_positions(bufnr, start_row, end_row)
251251
end
252252

253253
local function set_highlights()
254-
api.nvim_set_hl(0, "OrgBulletsDash", { link = "@org.headline.level1" })
255-
api.nvim_set_hl(0, "OrgBulletsPlus", { link = "@org.headline.level2" })
256-
api.nvim_set_hl(0, "OrgBulletsStar", { link = "@org.headline.level3" })
254+
api.nvim_set_hl(0, "OrgBulletsDash", { link = "@org.headline.level1", default = true })
255+
api.nvim_set_hl(0, "OrgBulletsPlus", { link = "@org.headline.level2", default = true })
256+
api.nvim_set_hl(0, "OrgBulletsStar", { link = "@org.headline.level3", default = true })
257257
end
258258

259259
local ticks = {}

0 commit comments

Comments
 (0)