Commit Graph

802 Commits

Author SHA1 Message Date
fdschmidt93
cda284986f feat: api for clearing completion cb in userspace (#1097) 2021-08-11 09:00:23 -04:00
TJ DeVries
b5d7f48e70 doc: Update information about popup.nvim (#1103)
* doc: Update information about popup.nvim

* fixup: Got rest of popup.nvim mentions
2021-08-11 08:59:56 -04:00
TJ DeVries
a056a9c7e0 feat: Move to plenary.popup (#1102) 2021-08-11 08:54:28 -04:00
Simon Hauser
2c573b9d12 fix: picker config (#1094) 2021-08-09 21:28:16 +02:00
TJ DeVries
273942cc47 fixup: stylua 2021-08-06 13:14:13 -04:00
TJ DeVries
ae897cec08 fix: Do not transform URIs 2021-08-06 13:12:13 -04:00
Simon Hauser
e7362e9996 chore: reformat docs after tree-sitter-lua changes 2021-08-04 22:41:18 +02:00
zeertzjq
d7cdfcbeb6 feat: add option jump_type to lsp_definitions and lsp_implementations (#1077) 2021-08-04 22:33:13 +02:00
zeertzjq
654903fc04 fix: preview the correct man page section (#1076) 2021-08-04 22:19:39 +02:00
Dhruv Manilawala
aa7c13ea36 fix: escape newlines in code action title (#1012) 2021-08-04 22:16:18 +02:00
Nazeeh ElDirghami
ca195e32e0 feat: live_grep and grep_string function for additional opts (allow file mask) (#1017) 2021-08-04 09:07:04 +02:00
bi0ha2ard
b7cd8c7699 fix(entry_to_qf): handle nil entry.cwd and absolute filenames (#1058) 2021-08-04 08:56:15 +02:00
Luke Kershaw
f8caad1d6b fix: fix file_browser on windows and potentially other file opens (#1026) 2021-08-03 11:08:42 +02:00
Joshua Cao
5ff6f9ad07 fix: git_bcommit use absolute path for current file (#1059) 2021-08-03 11:04:07 +02:00
Joel Palmer
b742c50bf1 feat: add git reset action for git commits picker (#999) 2021-07-30 00:16:45 +03:00
Lee Marlow
82f4d3028b feat: add no_ignore option to find_files (#1010)
Allow find_files to find files ignored by .gitignore
and other ignore files. This is supported by fd, rg, and fdfind.
2021-07-29 12:45:19 +03:00
Dave Lage
767e42f2e9 Add link to cursor relative list pull request
Has good examples on what it looks like and does.
2021-07-28 20:58:11 -04:00
elianiva
69adcbca87 refactor: remove unused parameter (#1044) 2021-07-25 16:33:05 +07:00
Sebastian Lyng Johansen
c0f1999b02 fix: make path for send to qflist correct (#1037) 2021-07-23 14:17:26 -04:00
Simon Hauser
79644ab677 chore: use stylua for formatting (#1040)
* chore: stylua job and config

* reformat with stylua
2021-07-23 11:42:37 -04:00
Simon Hauser
664690029f fix: unknown filetype error message (#1034) 2021-07-20 19:20:22 +02:00
Luke Kershaw
d057b10503 fix: check if tabline is present when calculating certain layouts (#1027)
* fix: check if tabline is present when calculating certain layouts

- also tweaks height calculation for `center` strategy

* refactor: remove `center` strategy tweak

- will reimplement something similar in another PR for a few of the strategies

* fix: check if `preview.line` is `nil`

* refactor: factor out `tbln` calculation and `max_lines` adjustment

- also tweaked `vertical` calculations so that no `nil` check is required
2021-07-20 18:15:01 +01:00
Simon Hauser
46e03a935f feat: sort_mru for builtin buffers (#1028)
:help builtin.buffers
2021-07-19 09:10:06 +02:00
Luke Kershaw
8c3f2b630b feat: check type of path_display and warn user if wrong (#1023) 2021-07-18 12:19:27 +01:00
Rasmus Bergström
1bb73aed5f Set a filetype for the results buffer (#1019)
**Why** is the change needed?

So that it can be targeted with specific settings. These could include disabling
plugins for the buffer (as in #840) or disabling folding (as per #991).

**How** is the need addressed?

- Add a filetype to the buffer after it has been created.

Closes #991
2021-07-18 10:12:04 +02:00
Ben Smith
87fecbea95 fix for #847 (#1022) 2021-07-18 07:42:23 +00:00
Ben Smith
b48a16f866 Mirror option for bottom_pane layout_strategy (#847)
* functional mirror opt for bottom_pane strategy

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

* forgot 'end' to close function

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

Co-authored-by: Github Actions <actions@github>
2021-07-18 07:24:51 +00:00
Abe Nonym
5b597e7709 fix: prevent error if preview scroll is triggered but no preview is available (#994) 2021-07-17 13:53:05 +02:00
Daniel Imfeld
3f17192322 feat: add ^ and $ to characters handled by regex escape (#1007) 2021-07-17 16:27:14 +07:00
wongxy
0708120a84 fix: correct the prompt title (#1013) 2021-07-17 10:27:36 +02:00
Dilan Baron
9291922acd fix typos in readme (#1009) 2021-07-17 09:02:54 +02:00
fdschmidt93
3f841cb3c5 fix: error from hopping faster than preview (#1006) 2021-07-16 22:24:54 -04:00
Corentin Brunel
b13306e5cc feat: add cursor layout (#878)
* Add basic implementation of "cursor" layout strategy

* Update cursor layout strategy to properly follow cursor

* feat(cursor_layout): handle previewer

* Refactor cursor layout code

* Add cursor theme

* Update readme

* Improve cursor theme and layout documentation

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

* Remove trailing whitespace

* Fix issues related with neovim and plugin api changes

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

* Allow preview width to be configured

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

Co-authored-by: Github Actions <actions@github>
Co-authored-by: cbrunel <cbrunel@sogescom.local>
2021-07-16 19:17:21 +01:00
wongxy
747396227d feat: enable to preview themes (#980) 2021-07-16 18:45:31 +02:00
Luke Kershaw
1866265fea feat: Add length option for shorten_path (#886)
* feat: add `shorten_len` option for path shortening

- adds option to configure the length of shortened parts of filenames
- only affects paths when "shorten" is in `path_display`

* chore: revert rebase for `path.lua` to 876bed9

* refactor: replace `shorten_len` with the `shorten` key in `path_display`

- also deprecates `utils.path_shorten` and passes straight to `plenary`s `Path:shorten`

* feat: allow `path_display` to handle table keys, as well as strings
2021-07-16 17:41:39 +01:00
Nazeeh ElDirghami
138697980b feat: Add ability to have a user defined function to format the path display (#1000) 2021-07-16 17:20:25 +02:00
Jonathan Teran
37a3a68a78 feat: add search_dirs to split_keywords table (#986)
This allows the command parser to correctly split `search_dirs` into a
table. Should solve nvim-telescope/telescope.nvim#985
2021-07-14 22:11:07 +02:00
Simon Hauser
876bed9632 chore: changelog for 473 (#992) 2021-07-14 19:54:06 +02:00
anott03
df579bac42 refactor: move from telescope.path to plenary.path (#473)
This will deprecate telescope.path, we will remove it soon. Please move over to plenary.path

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-07-14 19:25:00 +02:00
Luke Kershaw
a4896e5ef3 fix: builtin find_files, find command win32 check == 0 (#989)
- changes check for Windows OS, as 0 is truthy, so `not 0` and `not 1` are both `false`
2021-07-14 13:46:46 +02:00
Luke Kershaw
999fad2ce5 feat: add Windows where file finder command (#979) 2021-07-13 19:16:50 +01:00
Ole
5692edd004 chore: define undefined variable in config example (#976)
Define the undefined variable “action_state”, which is used in a code
example for replacing picker mappings in the README.
2021-07-12 04:56:10 +07:00
caojoshua
49b86b4610 fix: for closed buffer in tagstack picker (#972) 2021-07-11 08:26:57 +02:00
caojoshua
dc0dca27dc refactor: Jumplist picker uses quickfix entry maker. Delete jumplist entry maker. (#973) 2021-07-11 08:24:57 +02:00
toppair
7cdaaaa39d fix: pasting multiline register content (#971) 2021-07-10 17:46:08 +02:00
adrian5
777ff91ddc docs: Normalize README, fix typos (#966) 2021-07-09 21:11:57 +02:00
Simon Hauser
d176dd80da hotfix: just only false to disable
I knew i will break it with my last commit
2021-07-09 21:00:00 +02:00
Simon Hauser
3699605627 feat: cycle prompt history (#521)
history is enabled on default but cycle_history_next and cycle_history_prev is not mapped yet

Example:
require('telescope').setup {
  defaults = {
    mappings = {
      i = {
        ["<C-Down>"] = require('telescope.actions').cycle_history_next,
        ["<C-Up>"] = require('telescope.actions').cycle_history_prev,
      }
    }
  }
}

For more information :help telescope.defaults.history

big thanks to clason and all other testers :)
2021-07-09 20:45:29 +02:00
Jesús Lapastora
385020eb23 docs: Fixed a typo on CONTRIBUTING file (#969) 2021-07-09 20:17:34 +02:00
Simon Hauser
1dd6f8408b fix: wrong information in changelog 2021-07-08 11:16:18 +02:00