Commit Graph
344 Commits
Author SHA1 Message Date
James TrewandGitHub f52ea4061d expand paths more smartly (#2599) 2023-07-21 22:12:29 +00:00
Andrii BerezhynskyiandGitHub 597a3cc889 fix: do not ignore mappings from setup() when attach_mappings provided (#2613) 2023-07-21 09:28:26 -04:00
TJ DeVriesandGitHub 47c755d737 fix: handle non-file uris for lsp (#2604) 2023-07-17 13:20:09 -04:00
2ea8dcd17b feat(git): support detached working trees (#2597)
* feat(git): support detached working trees

closes #2595

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

* fix: use_file_path

---------

Co-authored-by: Github Actions <actions@github>
2023-07-14 17:12:03 +00:00
Folke LemaitreandGitHub 276362a802 feat(lsp): added support for dynamic capabilities (#2594) 2023-07-06 18:30:43 -04:00
Stanislav AsunkinandGitHub 0e0600908d fix: fix builtins lazy loading (#2590) 2023-07-02 21:51:55 +02:00
6074847b6e Fix tagrelative option not considered in builtin.tags (#2583)
* Fix tagrelative option not considered in builtin.tags

* Fix wrong notify name

* ctags filtering with grep or rg and normalize path

* pass stylua check

---------

Co-authored-by: James Trew <j.trew10@gmail.com>
2023-06-25 19:16:15 +00:00
219584a6ef fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine) (#2584)
* fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine)

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

* docs grammar

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

---------

Co-authored-by: Github Actions <actions@github>
Co-authored-by: James Trew <j.trew10@gmail.com>
2023-06-24 22:11:35 +00:00
James TrewandGitHub ffe35cb433 fix(live_grep/grep_string): support non-utf8 patterns (#2570) 2023-06-21 21:25:35 +00:00
Munif TanjimandGitHub 9a82b5b73e fix: use :botright modifier for quickfix window open (#2554) 2023-06-07 23:54:23 +00:00
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-petersandGitHub 5b7cedd7f2 feat(builtin): implement filter for keymaps (#2462) 2023-05-24 14:23:08 +02:00
James TrewandGitHub c8b65238e8 fix: previewers & entry maker file encoding (#2430) 2023-05-24 11:49:38 +02:00
William HenrotinandGitHub 9f501680e5 feat: find git root from current buffer (#2435) 2023-05-24 11:36:37 +02:00
暮晨andGitHub 6dec8cf723 feat(lsp): add 'reuse_win' for reuse window options (#2454) 2023-05-24 11:21:16 +02:00
James TrewandGitHub 106662e056 feat(diagnotics): add disable_coordinates option (#2477) 2023-05-24 11:05:10 +02:00
Juan BarriosandGitHub 8dd1cb2771 feat: sorting popup autocomplete items and initial builtin items (#2518) 2023-05-24 11:03:07 +02:00
AzadandGitHub 233cd6ad0d fix(lsp.definitions): compare file uri with targetUri (#2514) 2023-05-24 10:48:24 +02:00
Christian ClasonandGitHub 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 MatsyburkaandGitHub 0900f6fcaa fix: exclude directories from oldfiles picker (#2485) 2023-05-14 22:04:46 +02:00
Rishikesh VaishnavandGitHub 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 AwanandGitHub 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
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 HauserandGitHub a486ac3e8f fix: current_buffer_fuzzy_find highlighter (#2394) 2023-02-20 22:43:15 +01:00
cristiansofronieandGitHub f40e3e2304 feat: support selection for grep_string (#2333) 2023-02-19 13:41:28 +01:00
Luyu HuangandGitHub 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 HauserandGitHub 443e5a6802 fix: current_buffer_fuzzy_find push cursor (#2393)
close #2332
2023-02-19 12:24:40 +01:00
liughandGitHub f409830422 fix(builtin.commands): add the command w/ zero arguments to cmd history when executed (#2320) 2023-02-19 11:47:09 +01:00
UrazaandGitHub 5ce991ad23 docs: add missing documentation for builtin lsp symbols (#2365) 2023-02-19 11:17:05 +01:00
atusyandGitHub ee90403e40 feat: keep prompt and selection on git_staging_toggle (#2372) 2023-02-19 10:46:51 +01:00
Simon HauserandGitHub 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 IlievandGitHub 5dfd807771 feat: Allow filtering for oldfiles and buffers (#2353) 2023-01-30 18:09:29 +01:00
Fernando SchauenburgandGitHub 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 TrewandGitHub 053f2303c4 docs: proof-read edits (#2311) 2023-01-22 09:57:53 +01:00
Hasan MahmudandGitHub 83eb2f9756 fix(oldfiles): use path separator from builtin utils in cwd_only (#2340) 2023-01-22 09:18:34 +01:00
Matt TaylorandGitHub 1ba7278cf0 feat(pickers): add opt.show_remote_tracking_branches to git_branches (#2314) 2023-01-11 15:00:44 +01:00
emmanueltouzeryandGitHub 04af51dbfb fix(old_files): opts.cwd_only includes similarly named dirs (#2308) 2023-01-07 11:31:11 +03:00
Simon HauserandGitHub 18fc02b499 fix: live_grep additional_args parsing (#2306) 2023-01-06 13:23:39 +01:00
Jonas StrittmatterandGitHub b24fdfdb25 fix: correctly parse filenames with special chars in git_status (#2296) 2023-01-06 12:04:15 +01:00
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 HauserandGitHub 0a7588252a chore: bump ci to more modern os and nvim versions (#2289) 2022-12-28 13:11:00 +01:00
Tobias SandGitHub e960efa60e fix: jumplist picker indexing the line after (#2273) 2022-12-21 12:10:42 +01:00
fcyingandGitHub d16581ef7d fix: misidentification invert and files_with_matches (#2240) (#2262) 2022-12-21 08:54:23 +01:00
zbqandGitHub 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 YoungandGitHub 4d77743a8e feat(builtin.keymaps): display noremap/buffer indicators and add lhs filter (#2246) 2022-11-27 20:04:07 +01:00
kyoh86andGitHub 343a2b6b71 feat: add new action to open quickfix window from quickfixhistory (#2249) 2022-11-27 20:03:03 +01:00
A. SchuelerandGitHub cea9c75c19 feat: sort branches initially by authordate (#2236) 2022-11-23 18:26:15 +01:00
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 GuthandGitHub 7a4ffef931 fix(lsp_references): not changing files if only 1 result (#2229) 2022-11-11 08:15:29 +01:00
Gutyina GergőandGitHub cc77713294 feat: add jump_type option for lsp_references (#2218) 2022-11-06 17:43:01 +01:00