Skip to content

Commit b5825cf

Browse files
kiyoonrcarriga
authored andcommitted
fix: priority type error for nvim 0.11
1 parent 22f2909 commit b5825cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/notify/service/buffer/highlights.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function NotifyBufHighlights:_redefine_treesitter()
122122
hl_group = custom_hl,
123123
-- TODO: Not sure how neovim's highlighter doesn't have issues with overriding highlights
124124
-- Three marks on same region always show the second for some reason AFAICT
125-
priority = metadata.priority or i + 200,
125+
priority = tonumber(metadata.priority) or i + 200,
126126
conceal = metadata.conceal,
127127
})
128128
end

0 commit comments

Comments
 (0)