telescope.nvim icon indicating copy to clipboard operation
telescope.nvim copied to clipboard

Support LSP Semantic Highlighting for File Previews

Open pattobrien opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. LSP-based semantic tokens are now supported with the upcoming nvim v0.9 release (available on nightly build). This allows syntax and semantics to be highlighted without the use of Treesitter. It'd be great if the previewer APIs allowed for highlighting with LSP as well, and/or enable this option as the default.

Describe the solution you'd like Semantic highlighting in the editor should match the highlighting of the previewer.

Describe alternatives you've considered I assume it should be possible to somewhat do this via the job_maker / highlighter utils under telescope.previewers.utils.

Screenshot 2023-02-27 at 7 03 31 PM

pattobrien avatar Feb 28 '23 00:02 pattobrien