File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ local default_settings = {
9595 window = {
9696 count_method = ' ' ,
9797 },
98+ extmarks = {
99+ }
98100 },
99101 -- {
100102 -- plugins = { 'viewport',
Original file line number Diff line number Diff line change @@ -11,13 +11,16 @@ function M.update(_settings, bufnr)
1111 for _ , mark in ipairs (extmarks ) do
1212 local row = mark [2 ]
1313 local details = mark [4 ]
14+ -- TODO currently only supports signs, but could be extended to support
15+ -- other extmarks
1416 if details [' sign_hl_group' ] ~= " " then
1517 table.insert (result , {
1618 lnum = row + 1 ,
1719 text = details [" sign_text" ],
1820 texthl = details [" sign_hl_group" ],
19- priority = 10 ,
20- plugin = ' search' ,
21+ -- linehl = details["hl_group"],
22+ priority = details [" priority" ],
23+ plugin = ' extmarks' ,
2124 })
2225 end
2326 end
You can’t perform that action at this time.
0 commit comments