Commit Graph

735 Commits

Author SHA1 Message Date
David Mejorado
feaed4b6e2 docs: update builtin.file_browser options (#887) 2021-06-06 21:11:42 +02:00
the continium
4aa4590510 fix: search_dirs in builtin.grep_string (#897) 2021-06-06 19:39:09 +02:00
Gwarnifarn
2697bcfaf0 docs: add more builtin.buffers documentation (#888) 2021-06-03 22:16:09 +02:00
Jose Alvarez
5b6b23a3a2 fix: correctly check output of git worktree command (#882) 2021-06-01 23:27:32 +02:00
fdschmidt93
57ac8dcc3e feat: add prefiltering to treesitter picker (#879) 2021-05-31 09:39:21 +02:00
runiq
e659e3336f feat: send to loclist (#868) 2021-05-31 08:47:05 +02:00
Ben Smith
654b11aa08 Change the show_all_buffers option to true by default for buffers picker (#858)
* show_all_buffers true by default, added docs

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

* fix for docs, used param instead of field oops

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

Co-authored-by: Github Actions <actions@github>
2021-05-30 22:12:18 -04:00
runiq
517f4b204b Add documentation for quickfix actions (#869)
* Add documentation for quickfix actions

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

Co-authored-by: Github Actions <actions@github>
2021-05-30 21:45:57 -04:00
Alex Mastro
d2b3b08077 fix: attempt to concatenate when entry.kind == nil or or symbol_type == nil (#853) 2021-05-30 10:54:17 +02:00
Samuel Yvon
ec8cf12cdc Make comment match with config (#870)
The configuration example does not match the comment.
2021-05-27 20:01:01 -04:00
Dave Lage
904f849423 Add Ivy Theme 2021-05-27 15:23:25 -04:00
kaddkaka
b06e17e4a1 fix: abort picker set_selection if no manager (#866) 2021-05-26 17:19:17 -04:00
Damon Timm
69eb5eacff fix: string.find() matching for only_cwd option (builtin.buffers) (#849)
`string.find()` is defaulting to _pattern_ matching (rather than string
literal matching).  If you are using the `only_cwd` command in a
directory with a `-` (for example) the option fails to work.

This fix asks `string.find()` to interpret the arguments as literal
strings rather than patterns.

Reference: https://stackoverflow.com/a/15258515/181902
2021-05-16 20:36:16 +02:00
TJ DeVries
4da66dab44 feat: add ivy-style layout strategy (#771)
* feat: add new layout strategy

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

Co-authored-by: Github Actions <actions@github>
2021-05-15 15:02:14 -04:00
Tom Praschan
b78d4ef10c Reset multi-selection in Picker:refresh() (#830)
If there's a new finder the multi selection is invalidated, so reset it
2021-05-15 12:54:53 -04:00
TJ DeVries
d466135418 doc: Add related projects 2021-05-15 08:33:39 -04:00
Ben Smith
e88864123b Docs for builtin pickers (#783) 2021-05-13 18:44:26 +00:00
Michał Nowotnik
22a78a4636 fix: prevents flickering when first loading a buffer preview entry (#797)
There's a slight lag on the first preview loading (during preview buffer creation).
It is not visible the next time user chooses a file for preview because scratch buffer
for the file already exists. This lag *and* setting preview window to display the newly
created buffer before its fully initialized causes a brief flash of blank terminal background.

This change delays setting preview window to display the new preview buffer and consequently
eliminates the flash. It should improve user experience since flickering can be distracting.
2021-05-11 20:16:04 +02:00
saadparwaiz1
6dc69f46f6 fix: add git_stash field to builitn (#836)
PR #800 add git_stash picker. However, it's not added as a field in builtin.
2021-05-11 17:08:14 +02:00
Kyoichiro Yamada
1fefd0098e fix: rename actions.git_switch to git_switch_branch (#835) 2021-05-11 13:06:38 +03:00
Kyoichiro Yamada
d5aa53dcd3 create new action: git switch (#798)
* create new action: git switch

If the branch already exists in local, switch to that.
If the branch is only in remote, create new branch tracking remote and switch to new one.

* fix a point of review

* fix a point of review: map to git-switch action

* Revert "fix a point of review"

This reverts commit 017ce424a3adfe1b3712a421385cfc3f4258a0fb.

* undocument header comment
2021-05-11 01:55:41 -07:00
Amirreza Askarpour
9fd242db26 feat: add git_stash picker (#800) 2021-05-11 10:20:57 +02:00
Luke Kershaw
c061c216bf fix: add check for nil win_id in Picker.close_windows (#831)
This probably fixes issues with nobuflisted buffers (startify, dashboard-nvim and probably more)
2021-05-09 22:17:39 +02:00
caojoshua
e2907fc0f2 feat: jumplist picker and jump to row/col on existing buffers. (#813) 2021-05-09 11:05:12 +02:00
Khalid
25a7ecc289 feat: add use_regex option to grep_string (#767) 2021-05-08 14:02:18 +02:00
Tom Praschan
1408e3bbb7 feat: add option to configure width of items in gen_from_lsp_symbols() (#812) 2021-05-08 13:43:38 +02:00
Luke Kershaw
144c761e03 fix: oldfiles cwd_only that include backslashes (windows) (#820) 2021-05-08 13:38:40 +02:00
Eugene Oliveros
bc6385be31 feat: Add only_sort_tags option for builtin.tags (#825) 2021-05-08 13:38:18 +02:00
William Boman
88f7b27222 handle errors from buf_request_sync (#819) 2021-05-06 23:00:31 +03:00
Alex Fischer
ad30a7b085 fix: file browser navigate to parent directory on windows (#786) 2021-04-28 20:15:25 +02:00
TJ DeVries
38765f68db fix: Fix things for conni 2021-04-28 10:38:24 -04:00
Dhruv Manilawala
28ae702682 fix: use treesitter language name instead of ft if available (#801)
* fix: use treesitter language name if available

This will fix the problem where the filetype is different than the
treesitter lang name. Eg., filetyep -> "sh", langname -> "bash"

* refactor: use treesitter only if the query object is available

* refactor: ok -> parser_ok ;)
2021-04-28 10:29:28 -04:00
TJ DeVries
1675d370bf feat: Just straight up error right away for nvim 0.4.4 2021-04-27 17:30:45 -04:00
Ben Smith
6fd1b3bd25 docs: Git actions docs fix (#787)
* Removed function headers for git actions

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

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

* Added TODO & comments instead of removing headers

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

Co-authored-by: Github Actions <actions@github>
2021-04-23 14:16:44 -04:00
Volodymyr Kot
712de3e182 feat: add search history picker (#769)
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
2021-04-23 18:24:09 +03:00
TJ DeVries
a28999574e feat: allow reset prompt to set text as well 2021-04-22 17:55:06 -04:00
TJ DeVries
c6980a9acf docs: add other actions modules (#792)
* docs: add other actions modules

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

* fixup

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

Co-authored-by: Github Actions <actions@github>
2021-04-22 17:08:22 -04:00
PolarMutex
0d6cd47990 fix checking for git dir in a bare repo (#757)
* fix checking for git dir in a bare repo

* revert last change and look for worktree

* fix lint error

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

Co-authored-by: Brian Ryall <brian.ryall@udri.udayton.edu>
Co-authored-by: Github Actions <actions@github>
2021-04-22 13:23:42 -04:00
William Boman
3adeab2bed fix: support multiple clients in lsp code actions (#722)
* fix: support multiple clients in lsp code actions

* no goto

* reduce diff a bit

* use displayer, also include lsp client name for each entry

* review comments
2021-04-20 17:48:29 -07:00
Viktor Kojouharov
13dae8c4d9 lsp: Implement lsp.implementations similar to lsp.definitions (#743)
Fixes #730
2021-04-20 17:31:43 -07:00
August Masquelier
f92b9b1fae fix: live_grep path appending with cwd when already absolute (#768) 2021-04-17 22:50:07 +03:00
TJ DeVries
d27907b0da fix: Default to an empty sorter, so we always have one 2021-04-16 11:11:40 -04:00
Lars Haalck
f2c3f724ad Fix: open files with the same name (#697) (#741)
* Fix: open files with the same name (#697)

* Fix: fire vim.cmd if command is not edit (#760)
2021-04-15 09:30:56 -04:00
Weihang Lo
9e603d3c1b feat: table layout for builtin commands (#754) 2021-04-15 09:26:38 -04:00
TJ DeVries
2e7ee55aa4 feat: Add more sorter hooks (#752)
* feat: Add more sorter hooks

* fix breaking conni brain
2021-04-15 09:24:10 -04:00
James Walmsley
07d518105c picker(live_grep): add option to grep only over open files (#666) 2021-04-14 18:31:22 +03:00
Ben Smith
c5f0d05835 git(action): create and checkout branch (#755)
* added git action for creating and checking out a new branch, added basic docstrings for git actions

* Added confirmation for creation of new branch, changed default mapping
to <c-u>

* Switched back to `<c-a>` default mapping for now
2021-04-14 12:31:05 +03:00
Ben Smith
b7d0488db9 readme: fix broken links and spelling errors (#753) 2021-04-13 21:59:10 +03:00
oberblastmeister
253d3aaa6b added a new DynamicFinder (which can be used with rust_analyzer) (#705)
* started tree finder

* made tree more ergonmic

* deleted unneeded comments

* added stack root and node

* added preprocessing

* using staticfinder instead of separate finder, custom entry maker

* added selections and remember

* removed unused stuff

* fixed warnings

* fixed remember and selections pop

* started branch

* added go function

* changed up test

* removed root parameter from go function

* changed back to not do_close

* removed node and leaf classes

* removed stack class instead for table.insert and table.remove

* fixed warning

* started branch

* added better preprocessor and tree class

* started some tests

* finished making tests pass

* cleaned up

* fixed make entry and updated example

* started

* added some stuff

* deleted uneeded stuff

* added cancelable

* changed workspace requester

* use better cancellation mechanism

* removed accidental stuff

* removed useless print

* delete more useless stuff

* rename to dynamic

* added request cancellation

* CHECK IF NIL

* removed unused

* added trash global variable
2021-04-13 14:39:14 -04:00
Senghan Bright
5bd6f5ca98 feat: add icons to git_status finder (#401)
* add icons to git_status finder

* fix lint warning

* fix incorrect removed icon

* refactor, more states/icons

* refactor, widen columns to allow for 3char width icons

* attempted col width fix

* fixup: small comments

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-04-09 13:33:10 -04:00