feat(ts)!: use upstream treesitter implementation (#2499)
bumps minimum required neovim version to 0.9, see `help telescope.changelog-2499`
This commit is contained in:
@@ -489,6 +489,12 @@ utils.get_devicons = load_once(function()
|
||||
end
|
||||
end)
|
||||
|
||||
--- Checks if treesitter parser for language is installed
|
||||
---@param lang string
|
||||
utils.has_ts_parser = function(lang)
|
||||
return pcall(vim.treesitter.language.add, lang)
|
||||
end
|
||||
|
||||
--- Telescope Wrapper around vim.notify
|
||||
---@param funname string: name of the function that will be
|
||||
---@param opts table: opts.level string, opts.msg string, opts.once bool
|
||||
|
||||
Reference in New Issue
Block a user