James Trew and Simon Hauser
021a358db9
fix(which_key): close window on mouse click action ( #3053 )
...
* fix(which_key): close window on mouse click action
`nvim_buf_delete` is not allowed during text change or window change.
Window switching with left mouse click was leading to race
condition/error.
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit d00d9df48c )
2024-05-20 11:28:38 +02:00
Mohamad Sulton Hasanuddin and Simon Hauser
93bd73e646
fix(which_key): increase zindex for popup window ( #3046 )
...
(cherry picked from commit a3284957d3 )
2024-05-20 11:28:12 +02:00
James Trew and Simon Hauser
b9ea3a2d5f
fix(actions): set function name for generate.which_key ( #3044 )
...
Using anonymous function is throwing warning "No name available for
anonymous functions" when `action_generate.which_key` is used as shown
in the docs.
(cherry picked from commit 5a701e9990 )
2024-05-20 11:14:19 +02:00
James Trew and Simon Hauser
d5fe96ec8a
fix: expand/normalize paths more selectively ( #2628 )
...
(cherry picked from commit 3b8399c273 )
2024-05-20 11:10:12 +02:00
Kobu and Simon Hauser
6ee97f1f8b
doc(action_state): improve description of action_state.get_current_line ( #2895 )
...
(cherry picked from commit f1fd99ebfb )
2024-03-06 11:08:56 +01:00
Sean Mackesey and Simon Hauser
abd9a6f451
fix(which_key): always close on telescope prompt exit
...
* Add autocmd to make `which_key` window close on prompt exit
Currently `actions.which_key` supports a `close_with_action` option
(default true). When this is set, the `which_key` window will close
after any Telescope action is triggered. This makes sense. However, when
it is false, the `which_key` window remains open even after Telescope
closes. This seems like a bug.
This PR fixes this by setting an autocommand when `close_with_action` is
false to close on prompt exit.
* [docgen] Update doc/telescope.txt
skip-checks: true
* Add autocmd to make `which_key` window close on prompt exit
Currently `actions.which_key` supports a `close_with_action` option
(default true). When this is set, the `which_key` window will close
after any Telescope action is triggered. This makes sense. However, when
it is false, the `which_key` window remains open even after Telescope
closes. This seems like a bug.
This PR fixes this by setting an autocommand when `close_with_action` is
false to close on prompt exit.
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit ae6708a90b )
2024-03-06 10:38:50 +01:00
Giuseppe Rota and Simon Hauser
fbe2b6c309
fix(actions): set location list title ( #2741 )
...
(cherry picked from commit 8c9fd22952 )
2023-11-28 11:19:00 +01:00
Simon Hauser and Simon Hauser
7011eaae0a
fix: correctly create User autocmd in action.which_key ( #2736 )
...
(cherry picked from commit 550055e640 )
2023-10-11 08:15:56 +02:00
Folke Lemaitre and Simon Hauser
2eb23ffa34
fix(actions): fixes folding. Fixes #699 ( #2726 )
...
(cherry picked from commit 205f469244 )
2023-10-11 08:13:36 +02:00
Sofronie Cristian and Simon Hauser
0847120c40
fix(builtin.pickers): fix wrong picker resuming when using filtering ( #2682 )
...
When filtering is applied, `picker:get_index(picker:get_selection_row())` returns index relative to the filtered entry list rather than the original full results. This causes inaccurate indexing into the `cache_pickers` table.
(cherry picked from commit 74be3c3bba )
2023-09-05 16:10:48 +02:00
Nghia Le Minh and Simon 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 Tanjim and Simon 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 Adilbekov and Simon Hauser
e7d17b1890
fix(bcommits): wrong selection field is used ( #2550 )
...
(cherry picked from commit 333966610c )
2023-06-09 11:27:16 +02:00
Simon Hauser and Simon 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 Hauser and Simon 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
cristiansofronie and Simon Hauser
be8d87b122
fix: correctly restore cursor position in original window ( #2336 )
...
(cherry picked from commit 3f1b57908b )
2023-05-24 17:08:51 +02:00
Simon Hauser and Simon Hauser
fccfbbb6a6
fix: opening file starting with a plus ( #2509 )
...
(cherry picked from commit ebf93395e7 )
2023-05-24 17:05:50 +02:00
NAKAI Tsuyoshi and Simon Hauser
05b42dab55
fix(actions): support commands with special chars ( #2224 )
...
(cherry picked from commit 713d26b985 )
2023-05-14 21:34:07 +02:00
James Trew and Simon Hauser
5dcff772cd
fix(action): grep_string select_default with nil column ( #2447 )
...
(cherry picked from commit 031322a7c3 )
2023-04-09 17:50:44 +02:00
Rafael Bodill and Simon Hauser
83c1704be3
fix: Incorrect refine option for prompt_prefix ( #2413 )
...
(cherry picked from commit f43eb22e0c )
2023-04-09 10:23:40 +02:00
James Trew and Simon Hauser
0326d4679e
feat: utilize last window cursor position ( #2416 )
...
closes #2386
(cherry picked from commit 98f9d5f948 )
2023-04-09 10:23:23 +02:00
vladislav doster and Simon Hauser
a1bd6866b5
docs: telescope.nvim spelling and grammar fixes ( #2325 )
...
Corrects the following issues:
- article agreement
- spelling
(cherry picked from commit dce1156ca1 )
2023-01-22 10:09:28 +01:00
James Trew and Simon Hauser
0077389133
docs: proof-read edits ( #2311 )
...
(cherry picked from commit 053f2303c4 )
2023-01-22 10:09:23 +01:00
Simon Hauser
c8d69359d4
fix: generate.refine with border=false ( #2223 )
...
(cherry picked from commit 30826fcfb8 )
2023-01-06 14:29:40 +01:00
Jieru Mei and Simon Hauser
8931c15a60
fix: checktime when git checkout ( #2176 )
...
(cherry picked from commit a7ede53f06 )
2023-01-06 14:25:51 +01:00
Jonas Strittmatter and Simon Hauser
006b458a45
fix: check for window before scrolling previewer ( #2163 )
...
This avoids an error when scrolling the preview window
but the window is not visible (e.g. due to a screen resize).
(cherry picked from commit 30e2dc5232 )
2023-01-06 14:25:33 +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 Hoffman and Simon Hauser
2642968388
fix(which_key): mode width options typo ( #2078 )
...
(cherry picked from commit bb8db6eda2 )
2022-07-22 18:22:30 +02:00
Fabian David Schmidt and Simon Hauser
5e7f6911f2
fix(which_key): only get telescope mappings ( #2090 )
...
(cherry picked from commit 8c56301720 )
2022-07-22 18:22:15 +02:00
Simon Hauser and Simon Hauser
273ccffc0b
fix: push history on refine ( #2074 )
...
(cherry picked from commit 6bddc38c25 )
2022-07-16 10:10:34 +02:00
Simon Hauser and GitHub
361482c599
docs: add module names to fix gO ( #2064 )
2022-07-12 09:46:30 +02:00
Simon Hauser
ddf60d2bbe
fix: grep_string search= jump to line
...
fix #2047
2022-07-07 19:08:46 +02:00
Simon Hauser
f838695459
chore: reformat with stylua 0.14.0
2022-07-07 08:27:46 +02:00
Simon Hauser and GitHub
2b1da47deb
chore: make to_fuzzy_refine configurable ( #2034 )
2022-07-03 21:39:24 +02:00
Fabian David Schmidt and Simon Hauser
ef9137d85c
feat: refine with new_table
2022-07-01 18:13:25 +02:00
Simon Hauser
a50352eb24
docs: document limitation of action
...
close #1994
2022-06-30 14:37:02 +02:00
Simon Hauser and Simon Hauser
ffcc2221d6
docs: clarify docs around search_dirs and map_entries
2022-06-30 14:01:51 +02:00
TheMeaningfulEngineer and Simon Hauser
a6c9ae088e
feat: force buffer delete for terminal and improvements for Picker:delete_selection ( #1943 )
2022-06-30 14:01:50 +02:00
Simon Hauser and Simon Hauser
83b6cadb2c
break: deprecate utils.get_default utils.if_nil ( #1545 )
2022-06-30 14:01:49 +02:00
Jędrzej Boczar and GitHub
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 Schmidt and GitHub
ad19bf6b8e
fix: cursor move in actions.insert_symbol_i ( #1979 )
2022-06-01 16:52:15 +02:00
Fabian David Schmidt and GitHub
cd9e6aaee0
fix(git_branch): fix typo in action notification ( #1966 )
2022-05-25 15:26:28 +02:00
fdschmidt93 and GitHub
1a91238a6a
fix: wrong win on selection ( #1951 )
2022-05-20 12:08:33 +02:00
fdschmidt93 and GitHub
b4c45e8c61
fix: exiting picker from insert mode ( #1202 )
2022-05-20 09:18:27 +02:00
3cc44f8f05
fix: set tagstack when we jump with lsp in telescope ( #1887 )
...
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-05-18 19:59:12 +02:00
Simon Hauser
01fc5a9274
hotfix: regression from latest commit, files could no longer be opened
2022-05-15 22:13:32 +02:00
TJ DeVries and GitHub
0b5f1d69d7
feat: Add ability to choose window to edit ( #745 )
2022-05-15 22:08:16 +02:00
fdschmidt93 and GitHub
8d1841bff5
feat: quickfixhistory picker ( #1878 )
2022-05-04 21:50:15 +02:00
Simon Hauser and GitHub
544c5ee407
fix: termopen previewer ( #1901 )
...
- buffer leaking
- still insert mode on confirm
2022-05-01 09:46:50 +02:00