Commit Graph

128 Commits

Author SHA1 Message Date
blue pitaya
dc7f25c810 add 'full' for line_width in diagnostics options (#2452)
* add 'full' for line_width in diagnostics options

* lowercase documentation entry and change error notify method

* moved line_width options checking
2023-09-03 19:15: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
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
Andrii Berezhynskyi
597a3cc889 fix: do not ignore mappings from setup() when attach_mappings provided (#2613) 2023-07-21 09:28:26 -04:00
Stanislav Asunkin
0e0600908d fix: fix builtins lazy loading (#2590) 2023-07-02 21:51:55 +02: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
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
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
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
Uraza
5ce991ad23 docs: add missing documentation for builtin lsp symbols (#2365) 2023-02-19 11:17:05 +01:00
Svetlozar Iliev
5dfd807771 feat: Allow filtering for oldfiles and buffers (#2353) 2023-01-30 18:09:29 +01:00
James Trew
053f2303c4 docs: proof-read edits (#2311) 2023-01-22 09:57:53 +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
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
Simon Hauser
97847309cb fix: always load the up to date picker config on picker open 2022-10-26 16:32:23 +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
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
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
8fe2dde656 docs: add missing opts docs for lsp builtins 2022-07-06 20:45:40 +02:00
Simon Hauser
02cf3e4070 feat: grep_open_files for builtin.grep_string (#2039) 2022-07-06 08:26:22 +02:00
Simon Hauser
0621c1c6ba break: prefix internal files and add deprecation messages (#2032) 2022-07-01 22:20:12 +02:00
Turiiya
bf1a25dbfe feat: search_file option for builtin fd command (#2029) 2022-07-01 22:10:31 +02:00
Anton
bef86acb6c feat(rg): pass multiple globs to rg by default (#2003) 2022-06-30 14:01:51 +02:00
Manuel
3a72cc8902 feat(builtin.lsp): implement builtin handlers for lsp.(incoming|outgoing)_calls (#1484)
Fixes #863
2022-06-30 14:01:51 +02:00
Simon Hauser
ffcc2221d6 docs: clarify docs around search_dirs and map_entries 2022-06-30 14:01:51 +02:00
Simon Hauser
f6efef4c41 feat: find_command can be a function (#2000) 2022-06-30 14:01:51 +02:00
Yorick Peterse
838c32d6a8 refactor: make_entry more consistent (#1410)
drops `ignore_filename`, use `path_display= { "hidden" }`

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-06-30 14:01:50 +02:00
Bjarki Baldursson Harksen
6703c957e7 feat: add option use_default_opts to builtin.builtin (#1996) 2022-06-30 14:01:50 +02:00
Jeremy Neal
8488cd5ac7 feat: no-ignore-parent shorthand option for find_files. (#1963) 2022-06-30 14:01:50 +02:00
Ben Smith
440684edad break(git_files): change show_untracked default to false (#842) 2022-06-30 14:01:48 +02:00
Jose Veiga
e2a77a54a3 doc: use correct option name for 'only_sort_text' (#1995) 2022-06-12 13:03:12 +02:00
matt rice
7bc8efd77b docs: reflect behavior of diagnostics bufnr nil (#1879) 2022-05-18 20:10:45 +02:00
Michael Maves
85d95dfddd fix(builtin.tags): custom filename width (#1842) 2022-05-04 22:13:40 +02:00
kylo252
3f3cba430e feat(live_grep): add glob and type filter shorthand opts (#1695) 2022-05-04 21:57:29 +02:00
fdschmidt93
8d1841bff5 feat: quickfixhistory picker (#1878) 2022-05-04 21:50:15 +02:00
milanglacier
8fe79f9d1d feat: support for builtin.commands to show buffer commands (#1889) 2022-04-30 12:27:16 +02:00
Simon Hauser
e7e90466de break: remove lsp code actions (#1866)
see :help telescope.changelog-1866 for more information
2022-04-25 22:52:00 +02:00
Simon Hauser
5045d7e5e7 feat: switch to telescope.lua (#1873)
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2022-04-25 22:34:42 +02:00
Simon Hauser
5a58b1f535 break: bump minimum required neovim version to 0.7 (#1851) 2022-04-22 16:08:56 +02:00
rowario
32505ece72 feat: added trim option to make_entry.gen_from_quickfix (#1838) 2022-04-18 09:23:07 +02:00
Simon Hauser
831f76a809 docs: add module prefix (#1847) 2022-04-18 08:21:00 +02:00