Commit Graph
113 Commits
Author SHA1 Message Date
Nghia Le MinhandSimon Hauser 11a3b16487 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>
(cherry picked from commit 219584a6ef)
2023-09-05 16:01:35 +02:00
Simon Hauser 776b509f80 fix(actions): which_key after mappings rework (#2556)
(cherry picked from commit 42267407ae)
2023-06-09 11:28:32 +02:00
Munif TanjimandSimon Hauser 9b54003f5e fix: use :botright modifier for quickfix window open (#2554)
(cherry picked from commit 9a82b5b73e)
2023-06-09 11:28:14 +02:00
Zhanibek AdilbekovandSimon Hauser e7d17b1890 fix(bcommits): wrong selection field is used (#2550)
(cherry picked from commit 333966610c)
2023-06-09 11:27:16 +02:00
Simon HauserandSimon Hauser 533c7fb1b3 Revert "fix: correctly restore cursor position in original window (#2336)" (#2538)
This reverts commit 3f1b57908b.

(cherry picked from commit eb95a31836)
2023-05-25 07:43:48 +02:00
Simon HauserandSimon Hauser ec42e02030 fix(actions): send_to_* and smart_send_to_* now append to history (#2527)
(cherry picked from commit dda9a3965b)
2023-05-24 17:09:41 +02:00
cristiansofronieandSimon Hauser be8d87b122 fix: correctly restore cursor position in original window (#2336)
(cherry picked from commit 3f1b57908b)
2023-05-24 17:08:51 +02:00
NAKAI TsuyoshiandSimon Hauser 05b42dab55 fix(actions): support commands with special chars (#2224)
(cherry picked from commit 713d26b985)
2023-05-14 21:34:07 +02:00
James TrewandSimon Hauser 0077389133 docs: proof-read edits (#2311)
(cherry picked from commit 053f2303c4)
2023-01-22 10:09:23 +01:00
Jieru MeiandSimon Hauser 8931c15a60 fix: checktime when git checkout (#2176)
(cherry picked from commit a7ede53f06)
2023-01-06 14:25:51 +01:00
Simon Hauser 76eb49ef32 fix: nop i_<c-j> because we dont want allow new line (#2147)
(cherry picked from commit 49b043e2a3)
2022-09-04 22:01:36 +02:00
Nicholas HoffmanandSimon Hauser 2642968388 fix(which_key): mode width options typo (#2078)
(cherry picked from commit bb8db6eda2)
2022-07-22 18:22:30 +02:00
Simon Hauser f838695459 chore: reformat with stylua 0.14.0 2022-07-07 08:27:46 +02:00
Simon HauserandGitHub 2b1da47deb chore: make to_fuzzy_refine configurable (#2034) 2022-07-03 21:39:24 +02:00
Simon Hauser a50352eb24 docs: document limitation of action
close #1994
2022-06-30 14:37:02 +02:00
TheMeaningfulEngineerandSimon Hauser a6c9ae088e feat: force buffer delete for terminal and improvements for Picker:delete_selection (#1943) 2022-06-30 14:01:50 +02:00
Simon HauserandSimon Hauser 83b6cadb2c break: deprecate utils.get_default utils.if_nil (#1545) 2022-06-30 14:01:49 +02:00
Jędrzej BoczarandGitHub 3eb90430b6 fix: error in action.close when picker.original_win_id is not valid (#1982) 2022-06-02 16:00:14 +02:00
Fabian David SchmidtandGitHub ad19bf6b8e fix: cursor move in actions.insert_symbol_i (#1979) 2022-06-01 16:52:15 +02:00
Fabian David SchmidtandGitHub cd9e6aaee0 fix(git_branch): fix typo in action notification (#1966) 2022-05-25 15:26:28 +02:00
fdschmidt93andGitHub b4c45e8c61 fix: exiting picker from insert mode (#1202) 2022-05-20 09:18:27 +02:00
fdschmidt93andGitHub 8d1841bff5 feat: quickfixhistory picker (#1878) 2022-05-04 21:50:15 +02:00
Simon HauserandGitHub 544c5ee407 fix: termopen previewer (#1901)
- buffer leaking
- still insert mode on confirm
2022-05-01 09:46:50 +02:00
fdschmidt93andGitHub 8b02088743 fix(which_key): get full path & handle table assignment of funcrefs (#1875) 2022-04-22 23:40:39 +02:00
Dave LageandGitHub 697ee7aa70 feat: lua autocmd (#1707) 2022-04-22 16:20:59 +02:00
cc1a3440f9 fix: fix keep insert when going from telescope window to telescope window (#1600)
Also fixes `initial_mode`

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-04-22 16:13:32 +02:00
fdschmidt93andGitHub d88094fbfd feat: show assigned function in actions.which_key (#1871) 2022-04-22 15:52:22 +02:00
Simon HauserandGitHub 831f76a809 docs: add module prefix (#1847) 2022-04-18 08:21:00 +02:00
Simon HauserandGitHub a5be929142 docs: document more actions and add introduction to actions (#1829) 2022-04-17 14:47:13 +02:00
Dhruv ManilawalaandGitHub 5a93a6f005 fix: typo for notify log level (#1813) 2022-03-30 21:43:32 +02:00
Dhruv ManilawalaandGitHub 4eedf1599e fix: add %s to notify message of git checkout action (#1812) 2022-03-30 17:12:46 +02:00
Jonathan BirkandGitHub 6a43634f5f doc: help for select_{default,tab,vertical,horizontal} (#1801) 2022-03-20 20:08:54 +01:00
ef7b6ada6d feat: improve UX with vim.notify (#1763)
* fix(notify): don't report request on new line

* ref(notify): update message format

* ref(msgs): always quote values + decrease duplication

* fix(ci): undefined variables

* ref(actions): temporary silent actions.__index errors

* cleanup

* revert: panic effort, we continue to use error for those

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-13 18:11:27 +01:00
Daniel ImfeldandGitHub b501d9ecb7 fix: skip path escaping when adding items to quickfix list (#1712) 2022-03-06 20:34:44 +01:00
Connor SheehanandGitHub 88229d5afd fix(actions.qflist): make it work with vim quickfix commands (#1742)
use `r` mode to instead use `" "` mode. This makes Telescope quickfix list action send results
to a new list in the quickfix stack instead of overwriting the entries in the current list. 

Doing so enables `:chistory`, `:colder` and `:cnewer` functions to review results of 
previous Telescope queries.

The location list uses a similar API and is updated in this PR also
(ie this also enables :lhistory, :lolder and :lnewer).
2022-02-13 03:00:52 +03:00
Christian ClasonandGitHub 21cb64aa1a fix(action): insert symbol in insert mode (#1722)
followup to #1618, ensure insert after cursor
2022-01-28 16:12:50 +01:00
2bfc0eb2cf fix: update multi_icon with select/drop/toggle_all actions (#1682)
* fix: `multi_icon` with `select/drop/toggle_all`

* typos

* fix: add check for no caret found

* fix: add check for no line found

* fix: check `max_results` in `Picker:can_select_row`

- also switch order of highlighting in `select/drop/toggle_all` actions

* fix: make `max_results` check a strict inequality

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

* fix: update `prompt_status` on `select/drop/toggle_all` actions

Co-authored-by: Github Actions <actions@github>
2022-01-15 22:27:03 +00:00
Luke KershawandGitHub 1bb5d5567f fix: allow which_key action without preview (#1668) 2022-01-09 18:40:40 +01:00
kylo252andGitHub a1f838d436 chore: remove redundant run_builtin action (#1589) 2021-12-27 09:48:34 +01:00
Christian ClasonandGitHub 7ebc27d818 fix(actions): force insertmode after inserting symbol (#1618)
required after upstream changes to prompt buffer behavior
(see
 https://github.com/neovim/neovim/commit/28134f4e78819c2bbf0344326b9d44f21eb0d736)

Fixes #1608
2021-12-27 09:40:37 +01:00
Jieru MeiandGitHub 3f4ee6f267 fix: which_key action foldenable=false by default (#1578) 2021-12-10 09:55:24 +01:00
GenesisTMSandGitHub a88d92417d typo: which_key (#1560) 2021-12-06 21:12:42 +01:00
Simon Hauser 4016ebe8e8 fix: actions.delete_buffer shouldnt force delete
fix #1541
2021-12-03 17:28:15 +01:00
Simon HauserandGitHub 7695d224c8 fix: telescope close process and cleanup layout actions (#1480) 2021-11-23 21:11:05 +01:00
Luke Kershaw d686fb2799 fix: cleanup of layout actions
* fix: finish docs and remove mistakes from merge

* fix: change order of `popup` changes based on type of change
  - removes "flash" issue where popups don't update in sync
2021-11-18 19:44:12 +00:00
johnybxandLuke Kershaw b952c2f852 feat: add hide / unhide preview (#1305)
* feat: add hide / unhide preview or results and prompt

* fix edit actions while only preview window is active

* add option to start telescope without previewer -> "disable_previewer_at_startup"

* remove hide / unhide prompt and resutls, improve hide / unhide preview

* fix tests - check if popup window should be created with borders - popup.create does not support setting borderhighlight and border=false

* allow toggle preview even if preview is set to false

* reuse recalculate_layout in hide / unhide preview

* add docs to toggle preview

* check if preview window is valid window

* remove unnecessary changes

* cleanup, remove unnecessary changes

* close all previewers, refactor toggle preview code

[docgen] Update doc/telescope.txt
skip-checks: true
2021-11-18 19:44:12 +00:00
Luke KershawandGitHub bf77c5d2fa feat: results scrolling actions (#1436) 2021-11-13 11:15:07 +00:00
hungpt2702andGitHub f3ef592072 fix: actions.git_checkout_current_buffer calling deprecated method (#1439) 2021-11-10 14:18:02 +01:00
fdschmidt93andGitHub 97842abb03 fix: revert buffers previewer (#1400)
* Reverts #1120 many issues arise (mru, highlighting, settings inheritance, ...) when previewing actual buffers
2021-11-04 07:55:32 +01:00
Simon HauserandGitHub 587a10d149 chore: remove a lot of deprecated stuff (#1399) 2021-11-01 20:30:10 +01:00