Commit Graph

326 Commits

Author SHA1 Message Date
Christian Clason
d8c5ed4e40 feat(ts)!: use upstream treesitter implementation (#2499)
bumps minimum required neovim version to 0.9, see `help telescope.changelog-2499`
2023-05-24 10:43:04 +02:00
Pete Matsyburka
0900f6fcaa fix: exclude directories from oldfiles picker (#2485) 2023-05-14 22:04:46 +02:00
Rishikesh Vaishnav
40dc952352 fix: replace default mapping rather than mapping CR directly for history and search pickers (#2506) 2023-05-14 21:44:48 +02:00
Safdar Awan
359e9ffc74 fix: vim.treesitter.get_query deprecated (#2451)
* fix: `vim.treesitter.get_query` deprecated

* fix: add fallback for `vim.treesitter.get_query` for stable versions of nvim
2023-04-09 10:07:14 +02:00
Maksym Klishevych
942fe5faef feat(treesitter): symbols & ignore symbols options (#2338)
* feat(treesitter): symbols & ignore symbols options

* renamed the function passed to utils.filter_symbols

---------

Co-authored-by: Maksym Klishevych <max@klishevy.ch>
2023-03-22 09:49:55 -04:00
Simon Hauser
a486ac3e8f fix: current_buffer_fuzzy_find highlighter (#2394) 2023-02-20 22:43:15 +01:00
cristiansofronie
f40e3e2304 feat: support selection for grep_string (#2333) 2023-02-19 13:41:28 +01:00
Luyu Huang
5d9658c39d fix: apply jump_type only if the definition file is different from the current file (#2324) 2023-02-19 13:32:37 +01:00
Simon Hauser
443e5a6802 fix: current_buffer_fuzzy_find push cursor (#2393)
close #2332
2023-02-19 12:24:40 +01:00
liugh
f409830422 fix(builtin.commands): add the command w/ zero arguments to cmd history when executed (#2320) 2023-02-19 11:47:09 +01:00
Uraza
5ce991ad23 docs: add missing documentation for builtin lsp symbols (#2365) 2023-02-19 11:17:05 +01:00
atusy
ee90403e40 feat: keep prompt and selection on git_staging_toggle (#2372) 2023-02-19 10:46:51 +01:00
Simon Hauser
203bf56091 Revert "feat(git): git_commits shows the current branch graph (#2288)" (#2358)
This reverts commit 01d92285ef.
2023-01-31 08:24:16 +01:00
Svetlozar Iliev
5dfd807771 feat: Allow filtering for oldfiles and buffers (#2353) 2023-01-30 18:09:29 +01:00
Fernando Schauenburg
d5f6c0911d fix: man_pages on macOS and FreeBSD (#2326) (#2352)
macOS 13.x (Ventura, Darwin 22.x) uses `apropos(1)` from FreeBSD, which
does not behave the same as the previous implementation up to macOS 12.

`apropos(1)` takes a regular expression as an argument, so passing "."
causes it to match anything and therefore return all results to be
filtered by Telescope.
2023-01-30 08:01:35 +01:00
James Trew
053f2303c4 docs: proof-read edits (#2311) 2023-01-22 09:57:53 +01:00
Hasan Mahmud
83eb2f9756 fix(oldfiles): use path separator from builtin utils in cwd_only (#2340) 2023-01-22 09:18:34 +01:00
Matt Taylor
1ba7278cf0 feat(pickers): add opt.show_remote_tracking_branches to git_branches (#2314) 2023-01-11 15:00:44 +01:00
emmanueltouzery
04af51dbfb fix(old_files): opts.cwd_only includes similarly named dirs (#2308) 2023-01-07 11:31:11 +03:00
Simon Hauser
18fc02b499 fix: live_grep additional_args parsing (#2306) 2023-01-06 13:23:39 +01:00
Jonas Strittmatter
b24fdfdb25 fix: correctly parse filenames with special chars in git_status (#2296) 2023-01-06 12:04:15 +01:00
Cyan
01d92285ef feat(git): git_commits shows the current branch graph (#2288)
Co-authored-by: Cyan Joeng <cyan.joeng@gmail.com>
2022-12-28 15:43:35 +03:00
Simon Hauser
0a7588252a chore: bump ci to more modern os and nvim versions (#2289) 2022-12-28 13:11:00 +01:00
Tobias S
e960efa60e fix: jumplist picker indexing the line after (#2273) 2022-12-21 12:10:42 +01:00
fcying
d16581ef7d fix: misidentification invert and files_with_matches (#2240) (#2262) 2022-12-21 08:54:23 +01:00
zbq
3c2e5fb23e feat: add configuration to fix encoding of output of find_command in find_files (#2232) 2022-11-28 22:41:37 +01:00
Xavier Young
4d77743a8e feat(builtin.keymaps): display noremap/buffer indicators and add lhs filter (#2246) 2022-11-27 20:04:07 +01:00
kyoh86
343a2b6b71 feat: add new action to open quickfix window from quickfixhistory (#2249) 2022-11-27 20:03:03 +01:00
A. Schueler
cea9c75c19 feat: sort branches initially by authordate (#2236) 2022-11-23 18:26:15 +01:00
kkharji
5e16fbc8ea feat(picker): command history filter (#2132)
* feat(picker): command history filter

I've recently start using command history. For sometime was a bit annoyed of unrelevant commands
like edit/write and others (most likely only used once)

I've considered using lua patterns, however, logical `or` isn't a thing. Additionally, passing a list of lua patterns and checking each pattern for each command history entry felt tedious.

This PR introduce a new optional function to filter command history items.

For example, in my configurations

~~~lua
local command_history_ignore = vim.regex "edit\\|Move\\|write\\|Write\\|e\\s\\|lua\\sI("
overrides.command_history = minimal {
  prompt_prefix = "CMDHistory> ",
  filter_fn = function(item)
    if #item < 3 then
      return false
    else
      return not command_history_ignore:match_str(item)
    end
  end,
}
~~~

* [docgen] Update doc/telescope.txt
skip-checks: true

Co-authored-by: Github Actions <actions@github>
2022-11-23 17:26:29 +01:00
Andreas Guth
7a4ffef931 fix(lsp_references): not changing files if only 1 result (#2229) 2022-11-11 08:15:29 +01:00
Gutyina Gergő
cc77713294 feat: add jump_type option for lsp_references (#2218) 2022-11-06 17:43:01 +01:00
ADoyle
d541e0d6e0 feat: the parameter "map" of attach_mappings can be list of modes to create mapping on multiple modes (#2220) 2022-11-06 17:42:29 +01:00
Simon Hauser
4bd4205028 Revert "feat(git): notify when not in a git repo instead of error (#2181)" (#2217)
This reverts commit a09df82861.
2022-10-31 15:48:32 +01:00
Simon Hauser
97847309cb fix: always load the up to date picker config on picker open 2022-10-26 16:32:23 +02:00
Simon Hauser
9cf465894a fix: rg invert and files-with-matches res line parsing (#2208) 2022-10-25 21:22:17 +02:00
Gutyina Gergő
5c7db4055d feat: allow table as additional args in live grep and grep string (#2139) 2022-10-24 08:44:13 +02:00
kylo252
090b687542 perf(builtin): faster list extend for find_files (#2205) 2022-10-24 08:24:10 +02:00
Antoine
a09df82861 feat(git): notify when not in a git repo instead of error (#2181)
Fix #2180
2022-09-30 19:29:03 +02:00
Tushar Kuntawar
2428953db3 fix: builtin register picker better sorting (#2175) 2022-09-27 21:17:11 +02:00
Marcus Caisey
4a43d13c95 fix: don't include current line in lsp references if current_line=false (#2165) 2022-09-17 10:14:53 +02:00
Sam Rosenthal
bd9e8a7eac docs: update for git_files and live_grep (#2133) 2022-09-04 21:55:54 +02:00
Christian Clason
b923665e64 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.
2022-08-27 15:29:36 +02:00
Bryce Montano
ad32a4c453 fix: find_files to force color=never (#2130)
Co-authored-by: Bryce Montano <brycesec@amazon.com>
2022-08-13 11:03:34 +02:00
TJ DeVries
4725867ec6 fix: restore testing framework to actually work (#2070)
after refactor to some new asynchronous items for finders,
the tests stopped actually doing anything.

now they do things again.
2022-08-04 16:00:30 -04:00
Christoph Blessing
2e05e63cdf fix: error due to concatenating table to string (#2108)
This commit fixes a bug that lead to an error because we tried to
concatenate a table (`err`) to a string. Now we concatenate
`err.message` (a string) to the string.
2022-08-01 18:06:28 +02:00
steven
b5833a682c fix: move the moon behind show_moon option and update documentation (#2072) (#2079) 2022-07-22 18:16:17 +02:00
Simon Hauser
737f8cd6b5 fix: Telescope command lsp_definition call (and potentially more) (#2086) 2022-07-22 17:52:41 +02:00
Simon Hauser
5f25375191 chore: remove deprecated functions / messages (#2063) 2022-07-12 13:24:23 +02:00
Simon Hauser
a36500c7ee fix: live_grep search_dirs and grep_open_files opts
fix #2048
2022-07-07 19:16:13 +02:00