Commit Graph

386 Commits

Author SHA1 Message Date
James Trew
ffe35cb433 fix(live_grep/grep_string): support non-utf8 patterns (#2570) 2023-06-21 21:25:35 +00:00
Munif Tanjim
9a82b5b73e fix: use :botright modifier for quickfix window open (#2554) 2023-06-07 23:54:23 +00:00
Kalmander
be49680937 fix(registers): add small delete remove black hole (#2553)
Co-authored-by: Tryggvi Kalman <tryggvikalman@protonmail.com>
2023-06-07 14:59:50 +02:00
bn-peters
5b7cedd7f2 feat(builtin): implement filter for keymaps (#2462) 2023-05-24 14:23:08 +02:00
James Trew
c8b65238e8 fix: previewers & entry maker file encoding (#2430) 2023-05-24 11:49:38 +02:00
William Henrotin
9f501680e5 feat: find git root from current buffer (#2435) 2023-05-24 11:36:37 +02:00
暮晨
6dec8cf723 feat(lsp): add 'reuse_win' for reuse window options (#2454) 2023-05-24 11:21:16 +02:00
James Trew
106662e056 feat(diagnotics): add disable_coordinates option (#2477) 2023-05-24 11:05:10 +02:00
Juan Barrios
8dd1cb2771 feat: sorting popup autocomplete items and initial builtin items (#2518) 2023-05-24 11:03:07 +02:00
Azad
233cd6ad0d fix(lsp.definitions): compare file uri with targetUri (#2514) 2023-05-24 10:48:24 +02:00
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