Commit Graph

190 Commits

Author SHA1 Message Date
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
Antoine Bertin
5fadc247c5 fix: selected icon highlight with color_devicons to false (#2187) 2022-10-08 09:10:26 +02:00
Sam Rosenthal
bd9e8a7eac docs: update for git_files and live_grep (#2133) 2022-09-04 21:55:54 +02:00
Ryan Koval
2b5060362b feat: added support for tabdrop (#2143) 2022-09-04 21:47:25 +02:00
Emiel Van Severen
e1206cb3e1 fix: typo in docs (#2100) 2022-08-13 11:11:00 +02:00
Nikita Kulakov
36d4571b05 docs: fix arguments in mappings table to refelct implementation (#2111) (#2125) 2022-08-13 11:05:02 +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
ac38730da1 docs: mappings documentation overhaul (#2065)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-12 11:52:57 +02:00
Simon Hauser
361482c599 docs: add module names to fix gO (#2064) 2022-07-12 09:46:30 +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
2b1da47deb chore: make to_fuzzy_refine configurable (#2034) 2022-07-03 21:39:24 +02:00
Tyler Wardhaugh
4afd1be74a docs: fix typos/grammar in PR#1945 changelog (#2033) 2022-07-03 13:25:19 +02:00
Simon Hauser
e778abfdb4 docs: changelog for dev branch, 1945 2022-07-01 23:20:07 +02:00
marcel
5dd4b52910 break: cleanup preview.treesitter language setting (#1612)
this follows nvim-treesitter more closely but enable can also be a table
of enabled languages

The config now looks like this:
```lua
defaults = {
  preview = {
    treesitter = {
      enable = false,
      -- or
      enable = { "c" },
      -- disable can be set if enable isn't set
      disable = { "perl", "javascript" },
    },
  },
},
```
2022-07-01 22:58:05 +02:00
Turiiya
bf1a25dbfe feat: search_file option for builtin fd command (#2029) 2022-07-01 22:10:31 +02:00
julianf
a0a038170d docs: make_entry and entry_display 2022-07-01 16:59:10 +02:00
Simon Hauser
a50352eb24 docs: document limitation of action
close #1994
2022-06-30 14:37:02 +02:00