Commit Graph

89 Commits

Author SHA1 Message Date
Simon Hauser
77e2b8ceea chore: cleanup autocmd builtin (#1947) 2022-06-30 14:01:51 +02:00
Bjarki Baldursson Harksen
6703c957e7 feat: add option use_default_opts to builtin.builtin (#1996) 2022-06-30 14:01:50 +02:00
Simon Hauser
6dc0a7d7c2 fix(resume): previewer if toggled (#1957) 2022-06-30 14:01:49 +02:00
Simon Hauser
83b6cadb2c break: deprecate utils.get_default utils.if_nil (#1545) 2022-06-30 14:01:49 +02:00
Simon Hauser
4482c2b551 chore: cleanup vim options (#1946) 2022-06-30 14:01:48 +02:00
Anton
28bb75fd91 fix: pass user opts to planets picker (#1983) 2022-06-02 16:02:19 +02:00
iwataka
54be102e20 fix(builtin.commands): action error caused by remapping : (#1972) 2022-05-29 12:52:40 +02:00
dagle
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
pjmtdw
2e421ef02d fix: get mark list from opts.bufnr instead of using :marks (#1935)
Should fix marks when going through builtin.builtin
2022-05-15 22:00:01 +02:00
fdschmidt93
8d1841bff5 feat: quickfixhistory picker (#1878) 2022-05-04 21:50:15 +02:00
milanglacier
8fe79f9d1d feat: support for builtin.commands to show buffer commands (#1889) 2022-04-30 12:27:16 +02:00
Simon Hauser
460eb8c32b fix: man_pages respect nosplitright for <c-v>
followup to bf16fe620f
2022-04-30 09:22:08 +02:00
Simon Hauser
bf16fe620f fix: help_tags respect nosplitright for <c-v>
fix #1897
2022-04-30 09:18:16 +02:00
Simon Hauser
fd9e1e1674 fix(help_tags): exclude invalid help-tag that errors
fix #1858
2022-04-25 22:29:53 +02:00
kylo252
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
wongxy
b7ae91c82b fix(builtin.colorscheme): also restore &background (#1835) 2022-04-10 15:24:47 +02:00
Joshua Cao
8af0d384d2 fix: save position into jumplist before 'edit' action (#1234)
currently enabled for some builtins. You can manually enable it by adding `push_cursor_on_edit = true` to the builtin options. But feel free to open a PR if you find a builtin that needs this option enabled.
2022-04-08 20:09:58 +02:00
tami5
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
Simon Hauser
234066f875 fix: man_pages previewer, respecting MANPATH and apropos output parsing (#1764)
- introducing putils writer and use it rather than using PAGER env var
- introducing env for lua/telescope/_.lua job interface
  - to respect MANPATH (and PATH just in case)
- fix for apropos output parsing might return e.g. `alacritty, Alacritty`
  We need to split on first `,`
2022-03-10 13:48:40 +01:00
James Trew
206e71d133 fix: add opts.bufnr and opts.winnr to builtin picker (#1706) 2022-02-14 17:39:58 +01:00
Roland Fredenhagen
f58b0d4dd1 feat(spell_suggest): ignore spell setting (#1744)
z= works even when spell is not set. I think it would be nice if Telescope would behave the same.
2022-02-13 00:00:21 +03:00
daangoossens22
3a3c9a3c8b feat (keymaps): add configuration options (#1703) 2022-01-28 16:36:42 +01:00
daangoossens22
6c275e2f6a fix (autocommands): doesn't show all autocommands (#1717) 2022-01-28 16:31:39 +01:00
daangoossens22
d173740bb4 feat: make results pane of builtin keymaps more readable (#1684) 2022-01-14 21:13:32 +01:00
Sebastian Lyng Johansen
a01ebd2793 fix: picker for keymaps error with new api for keymaps (#1646) 2022-01-03 08:41:39 +01:00
kylo252
a1f838d436 chore: remove redundant run_builtin action (#1589) 2021-12-27 09:48:34 +01:00
Luke Kershaw
9aaaa0c5f3 fix: builtin only have entries for extension functions (#1587)
* fix: `builtin` only have entries for extension functions

* fix: add check for underscore and explanation of which functions included
2021-12-19 17:55:50 +00:00
Simon Hauser
61240ac75a break: bump the minimum required neovim version to 0.6 or higher (#1549)
So we can use `vim.json` and `vim.diagnostics`.

If you aren't able to update to 0.6.* yet you should pin the previous commit.
2021-12-10 16:32:28 +01:00
Luke Kershaw
e9743620ce fix: use string.format on builtin.resume error message (#1465) 2021-11-18 19:44:16 +01:00
fdschmidt93
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
A. Schueler
09b0d87b9f fix: Exclude unlisted lsp buffers in oldfiles picker (#1219)
Files opened by LSPs are listed with a trailing `line 0` instead of a date like files opened by the user.
Use this behavior to filter out buffers that should not be displayed in oldfiles.
2021-10-24 08:22:56 +02:00
fdschmidt93
45051df61b fix: loclist can have non current buf entries (#1333) 2021-10-12 14:42:41 +02:00
Patrick Ziegler
ba41f0eeb1 fix: alias cwd_only and only_cwd option for buffers and oldfiles (#1316)
* Alias cwd_only and only_cwd option for builtins

Fixes #1199
Closes #1275
2021-10-09 15:40:08 +02:00
Jonas Strittmatter
4e629cdea1 fix: show error message when nothing is selected (#1289)
* fix: always show error message when nothing is selected

This continues the fixes done in 4816a27d76 (ref #1283)

* Use correct variable name (selection) and add one more nil check

* Fix indentation
2021-09-27 20:45:27 +01:00
Simon Hauser
4816a27d76 fix: print error mesage and dont close telescope if nothing is selected (#1285) 2021-09-26 12:59:24 +02:00
Rafael A. Madriz
f6480b0ecb fix: help_tags if file_ignore_patterns = { "doc" } is set (#1279) 2021-09-22 18:07:48 +02:00
Javier Lopez
ca05f8955c fix(builtin): internal.help_tags not finding all tags (#1258)
After changes on &rtp in neovim/neovim it's neccessary to use
`nvim_get_runtime_file` to actually find all the runtime files.
2021-09-19 10:26:00 +02:00
Simon Hauser
5131df7df1 docs: rewrite readme and add missing config values + builtin opts 2021-09-16 11:12:12 +02:00
fdschmidt93
5d37c3ea08 feat: allow caching and resuming picker (#1051)
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
2021-09-01 18:17:18 +02:00
Aiden Scandella
f45c170f28 fix(pickers): attach_mappings on builtins.buffers needs return (#1155) 2021-08-23 19:07:57 +02:00
fdschmidt93
79dc995f82 fix: (terminal) buffer previewer (#1120)
Use existing buffers for buffer previewer to allow previewing special buffer types
2021-08-23 15:27:11 +02:00
Simon Hauser
364d795d22 fix: some improvements for telescope.symbols if run in insert mode (#1117)
- keep insert if run in insert mode
- also look in `.local/share/nvim/telescope/symbols/*.json` for symbols
  can be overriden with `symbol_path`
2021-08-21 16:48:19 +02: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
46e03a935f feat: sort_mru for builtin buffers (#1028)
:help builtin.buffers
2021-07-19 09:10:06 +02:00
wongxy
0708120a84 fix: correct the prompt title (#1013) 2021-07-17 10:27:36 +02:00
wongxy
747396227d feat: enable to preview themes (#980) 2021-07-16 18:45:31 +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
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
caojoshua
d5a8e48aa6 Consistent filepath display and code cleanup. (#839)
BREAKING CHANGE: see :help telescope.changelog-839 for more information

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-07-08 10:30:44 +02:00