Commit Graph

199 Commits

Author SHA1 Message Date
Simon Hauser
9cf58f438f fix(config)!: fallback to vim.o.winblend (#2861) 2024-01-18 11:45:02 +01:00
JD
4367e05c06 fix(builtin)!: quickfix entry maker does not used fixed width for file (#2842) 2024-01-09 10:14:24 +01:00
James Trew
fa4d663c8c docs(git_status): add missing opt expand_dir (#2824)
* docs(git_status): add missing opt `expand_dir`

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

---------

Co-authored-by: Github Actions <actions@github>
2023-12-25 16:45:01 +00:00
Chen Lu
e4c62dedd7 feat(actions): add delete_mark (#2769)
* feat(actions): add delete_mark

* style(init.lua): fix formatting
2023-11-26 03:37:50 +00:00
James Trew
721cdcae13 chore: fix marks picker options (#2783)
* chore: fix marks picker options

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

---------

Co-authored-by: Github Actions <actions@github>
2023-11-15 03:47:37 +00:00
Hicro
060fedfdea feat(lsp-jump-type): tab drop as new jump_type option for go-to LSP pickers (#2751) 2023-10-23 09:41:29 +02:00
Simon Hauser
fd00a0a269 chore: generate highlight_limit docs 2023-10-11 07:57:45 +02:00
James Trew
ffe90fac32 feat(current_buffer_fuzzy_find): results_ts_highlight option (#2722)
* feat(current_buffer_fuzzy_find): `results_ts_highlight` option

adds new option to the `current_buffer_fuzzy_find` picker
`results_ts_highlight` to enable/disable treesitter highlight for result
entries (default: true)

closes #2720

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

---------

Co-authored-by: Github Actions <actions@github>
2023-09-29 01:42:03 +00:00
Munif Tanjim
84d53dfdbe feat(pickers): fully customizable layout (#2572) 2023-09-27 08:34:22 +02:00
James Trew
59812c26d8 docs(readme): update to latest tag version (#2700)
* docs(readme): update to latest tag version

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

---------

Co-authored-by: Github Actions <actions@github>
2023-09-14 02:23:21 +00:00
James Trew
f5363d3c2a feat(diagnostics): add sort_by option (#2632)
* feat(diagnostics): add `sort_by` option

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

---------

Co-authored-by: Github Actions <actions@github>
2023-08-06 20:46:34 +00:00
Luis
22735947d8 feat: highlight range in grep buffer previewer (#2611) 2023-07-27 09:24:50 +02:00
James Trew
1228f3b15c Revert "fix: preserve queued keys at picker launch (#2274)" (#2619)
* Revert "fix: preserve queued keys at picker launch (#2274) (#2618)"

This reverts commit f78d956901.

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

---------

Co-authored-by: Github Actions <actions@github>
2023-07-22 23:23:22 +00:00
Aaron Kollasch
e7e6492a2d feat(git): Add bcommits_range picker (#2398)
* Filter bcommits by selection in visual mode

* Split bcommits_range into new picker

* Add option to run bcommits_range as operator

Starts operator-pending mode and shows commits in the range of lines
covered by the next text object or motion

* Rename range arguments to "first" and "last"

Can't use start/end, since end is an annoying keyword to use in lua
and start/stop doesn't fit as well

* Move operators functionality to new module

* Run bcommits if no range given to bcommits_range

* Make bcommits_range default to current line

Instead of calling bcommits

* Improve documentation of telescope.operators

* Add default value for last_operator

Default to a no-op callback

* Update bcommits_range for detached worktrees

See #2597

* Rename range arguments to "from" and "to"

* Move shared bcommits picker into single function
2023-07-22 21:35:52 +00:00
James Trew
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
Nghia Le Minh
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
Lucía Andrea Illanes Albornoz
5fff2a138b Implements horizontal scrolling in previewer & results. (#2437)
* Implements horizontal scrolling in previewer & results.

* docs: update wrt. horizontal scrolling in previewer &  results
2023-06-24 19:17:55 +00:00
Simon Hauser
66b03e7740 feat!(previewer): replace plenary.filetype with vim.filetype.match (#2529) 2023-06-09 11:24:52 +02:00
Simon Hauser
6d3fbffe42 Revert "feat!: allow full height, width by resolving 1 as a percentage rather than absolute val (#2525)"
This reverts commit 066bda8ea4.
2023-05-25 07:44:39 +02:00
bn-peters
5b7cedd7f2 feat(builtin): implement filter for keymaps (#2462) 2023-05-24 14:23:08 +02:00
Simon Hauser
066bda8ea4 feat!: allow full height, width by resolving 1 as a percentage rather than absolute val (#2525)
this is technically a breaking change but i doubt anyone uses height/width 1 (absolute value). It makes more sense to treat 1 as 100%
2023-05-24 12:27:19 +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
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
James Trew
40c31fdde9 feat(previewer): add option for ls --short (#2486)
Co-authored-by: Github Actions <actions@github>
2023-05-16 09:02:09 +03:00
James Trew
d77b37f452 Revert "chore: simplify vimgrep_arguments args (#2440)" (#2488)
This reverts commit cfe6df6257.
2023-05-07 00:47:52 -04:00
Andrew Snelling
cfe6df6257 chore: simplify vimgrep_arguments args (#2440) 2023-04-09 10:18:29 +02:00
James Trew
c20d4fb592 fix: icon hl width for various pickers (#2450) 2023-04-09 10:04:20 +02:00
Pooyan Khanjankhani
e504cf03c2 doc: fix border characters in docs (#2388)
* chore: Fix border characters in comments

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

---------

Co-authored-by: Github Actions <actions@github>
2023-03-21 13:44:50 -04: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
Sven
ccda9f02f3 feat: extend git_delete_branch to delete of all selected branches (#2337) 2023-02-19 11:42:59 +01:00
Uraza
5ce991ad23 docs: add missing documentation for builtin lsp symbols (#2365) 2023-02-19 11:17:05 +01:00
Reid Swan
19ce7f8f24 feat: add support for wrapping history on reaching history begin or end (#2349) 2023-01-30 22:06:16 +01:00
Svetlozar Iliev
5dfd807771 feat: Allow filtering for oldfiles and buffers (#2353) 2023-01-30 18:09:29 +01:00
vladislav doster
dce1156ca1 docs: telescope.nvim spelling and grammar fixes (#2325)
Corrects the following issues:
- article agreement
- spelling
2023-01-22 10:07:45 +01:00
James Trew
053f2303c4 docs: proof-read edits (#2311) 2023-01-22 09:57:53 +01:00
cristiansofronie
ed366bba14 docs: fix unfinised sentence in docs (#2335) 2023-01-22 09:27:36 +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
Tsakiris Tryfon
a606bd10c7 docs: fix typos/wording (#2283) 2022-12-28 14:49:57 +01:00
C.D. MacEachern
d7d3ea9015 fix(docs): point to correct lua modules (#2284) 2022-12-28 13:41:30 +01:00
Simon Hauser
361a172fce fix: icons with multiple dots but without custom overrides (#2256) 2022-12-02 10:21:44 +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
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
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
Gutyina Gergő
5c7db4055d feat: allow table as additional args in live grep and grep string (#2139) 2022-10-24 08:44:13 +02:00