Commit graph

24 commits

Author SHA1 Message Date
ergou
3c04b040a8
fix(treesitter): explicitly set all to false in iter_matches (#407)
* feat: explicitly set all to false in iter_matches

Due to neovim's breaking change for treesitter, in nightly build the
option all is set to true by default

* feat: use nil value to make iter_matches use default
2024-09-10 10:25:32 -07:00
Jet
eeebf32fcb
feat(telescope): can provide custom function to format symbols (#395)
* allow nesting symbol

* update docs

* stylua

* fix indentations issue

* use better function

* multichar is a nightmare

* nuke nesting_symbol_length

* revert change

* revert blank line

* stylua

* refactor: expose format function instead of booleans

* lint: remove unused assignment

---------

Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-08-15 22:41:40 -07:00
Sergey Tarasov
4e77964569
feat: Adds syntax highlighting in the telescope picker (#386)
* Add telescope highlighting

* Fix no TS language parser edge case

* Fix language detection for non-matching languages

* Remove nvim-treesitter dependency, streamline logic

* Change to show_columns option

* Update README
2024-07-16 15:12:17 -07:00
toh995
9523ebc7f0
feat(telescope): Save position into jumplist before 'edit' action (#340) 2024-02-02 16:13:18 -08:00
Folke Lemaitre
b811243fdc
feat(telescope): only reverse results when sorting_strategy = "descending" (#307) 2023-10-13 09:04:46 -07:00
Steven Arcangeli
ffb5fd0aa7 fix: type annotations and type errors 2023-08-13 09:57:48 -07:00
Steven Arcangeli
bb2cc2fbf0 fix: telescope extension uses selection_range (#279) 2023-08-10 11:37:50 -07:00
Steven Arcangeli
aff1bb8fec perf: slight optimization for telescope picker 2023-06-02 08:59:03 -07:00
Francis Tseng
eaa1b35cce added an option to the telescope extension to hide lines 2023-06-01 14:37:23 -04:00
Steven Arcangeli
189bf4cce7 refactor: use modern option setter/getter methods 2023-05-21 20:23:12 -07:00
Steven Arcangeli
cf548cd139 refactor: change hl group calculation to be more customizable 2023-03-15 20:57:54 -07:00
Emmanuel Touzery
f4f3039bca extra options for the telescope integration 2023-02-04 22:23:26 +01:00
Steven Arcangeli
4c6f8aaa04 feat: lazier loading for third party plugins 2022-10-27 09:19:00 -07:00
Steven Arcangeli
848779f03d fix: telescope picker shows symbols in order (#169) 2022-10-25 08:40:53 -07:00
Steven Arcangeli
45dbc60c27 refactor: replace visitor pattern with iterator 2022-10-23 18:35:11 -07:00
Steven Arcangeli
282f620aa8 refactor: change API of data module 2022-10-21 14:38:28 -07:00
Steven Arcangeli
89a61daba8 feat: telescope selector uses current symbol for default_selection_index (#161) 2022-10-12 08:31:10 -07:00
Steven Arcangeli
c5436fdafd feat: telescope show_nesting opt can be a filetype map 2022-10-01 15:24:22 -07:00
Steven Arcangeli
67bddeca28 format: stylua updated 2022-07-10 17:08:41 +00:00
Steven Arcangeli
a30aa79916 feat: show hierarchy of symbols in telescope picker
This is now enabled by default, but can be disabled by setting the
extension `show_nesting` option to false.

```lua
require('telescope').setup({
  extensions = {
    aerial = {
      show_nesting = false
    }
  }
})
```
2022-06-04 18:06:35 -07:00
Steven Arcangeli
ae9787240c feat: icons can be defined as per-filetype map (#108) 2022-05-29 18:13:26 -07:00
Steven Arcangeli
8f34bfd165 fix: pass bufnr to backend fetch_symbols method (#78) 2022-04-05 20:27:18 -07:00
Steven Arcangeli
7d082be024 refactor: isolate LSP behavior in its own module
This also creates the framework that will be needed to support alternate
backends (e.g. treesitter). All functionality *should* remain unchanged.
2021-11-19 17:43:51 -08:00
Steven Arcangeli
57cece296c Address #9: Add a telescope extension 2021-07-15 12:44:17 -07:00