Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 404 Bytes

Notes.md

File metadata and controls

14 lines (12 loc) · 404 Bytes

Things

Creates a virtual text that sits inbetween the lines of the buffer. I want to try to make this show github comments from code reviews.

vim.api.nvim_buf_set_extmark(0, 0, 1, 0, {
  virt_text_pos="right_align", -- not sure if this matters
  virt_lines={
    {{"Code review comment", "Hightlight for first text"}},
    {{"Text for second line", "Hightlight for second text"}},
  }
})