fix(preview): update buffer previewer to upstream changes (#2150)

https://github.com/neovim/neovim/pull/19931 removed `_get_hl_from_capture(id)` since captures are now implicitly mapped to highlight groups with the same name.
This commit is contained in:
Christian Clason
2022-08-27 15:29:36 +02:00
committed by GitHub
parent c92f86386f
commit b923665e64
2 changed files with 5 additions and 6 deletions

View File

@@ -26,11 +26,6 @@
--- </code>
---@brief ]]
if 1 ~= vim.fn.has "nvim-0.7.0" then
vim.api.nvim_err_writeln "Telescope.nvim requires at least nvim-0.7.0. See `:h telescope.changelog-1851`"
return
end
local builtin = {}
-- Ref: https://github.com/tjdevries/lazy.nvim