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:
Christian Clason
2023-05-24 10:43:04 +02:00
committed by GitHub
parent 057ee0f878
commit d8c5ed4e40
11 changed files with 62 additions and 99 deletions

View File

@@ -506,17 +506,14 @@ telescope.setup({opts}) *telescope.setup()*
highlighting, which falls back to regex-based highlighting.
`true`: treesitter highlighting for all available filetypes
`false`: regex-based highlighting for all filetypes
`table`: following nvim-treesitters highlighting options:
It contains two keys:
- enable boolean|table: if boolean, enable all ts
highlighing with that flag,
disable still considered.
Containing a list of filetypes,
that are enabled, disabled
ignored because it doesnt make
any sense in this case.
- disable table: containing a list of filetypes
that are disabled
`table`: may contain the following keys:
- enable boolean|table: if boolean, enable ts
highlighting for all supported
filetypes.
if table, ts highlighting is only
enabled for given filetypes.
- disable table: list of filetypes for which ts highlighting
is not used if `enable = true`.
Default: true
- msg_bg_fillchar: Character to fill background of unpreviewable buffers with
Default: ""
@@ -2295,6 +2292,14 @@ utils.transform_path({opts}, {path}) *telescope.utils.transform_path()*
string: The transformed path ready to be displayed
utils.has_ts_parser({lang}) *telescope.utils.has_ts_parser()*
Checks if treesitter parser for language is installed
Parameters: ~
{lang} (string)
utils.notify({funname}, {opts}) *telescope.utils.notify()*
Telescope Wrapper around vim.notify