feat: highlight range in grep buffer previewer (#2611)

This commit is contained in:
Luis
2023-07-27 09:24:50 +02:00
committed by GitHub
parent 1228f3b15c
commit 22735947d8
3 changed files with 34 additions and 8 deletions

View File

@@ -254,7 +254,8 @@ previewers.vim_buffer_cat = buffer_previewer.cat
--- It uses the `buffer_previewer` interface. To integrate this one into your
--- own picker make sure that the field `path` or `filename` and `lnum` is set
--- in each entry. If the latter is not present, it will default to the first
--- line.
--- line. Additionally, `lnend`, `col` and `colend` can be set to highlight a
--- text range instead of a single line. All line/column values are 1-indexed.
--- The preferred way of using this previewer is like this
--- `require('telescope.config').values.grep_previewer`
--- This will respect user configuration and will use `termopen_previewer` in