Merge pull request #13357 from vigoux/luahl-priority

feat(luahl): add priority mechanism
This commit is contained in:
Björn Linse
2020-11-25 12:43:08 +01:00
committed by GitHub
5 changed files with 125 additions and 15 deletions

View File

@@ -219,7 +219,8 @@ local function on_line_impl(self, buf, line)
a.nvim_buf_set_extmark(buf, ns, start_row, start_col,
{ end_line = end_row, end_col = end_col,
hl_group = hl,
ephemeral = true
ephemeral = true,
priority = 100 -- Low but leaves room below
})
end
if start_row > line then