summaryrefslogtreecommitdiff
path: root/lua/telescope/previewers/buffer_previewer.lua
AgeCommit message (Collapse)Author
2023-03-21fix: make git_status diff works with staged files (#2421)Zoe Roux
2022-10-08fix: preview = true (#2168)Simon Hauser
2022-08-09fix(previewer): regression on live_grep (#2119)Fabian David Schmidt
2022-08-09fix(buffer_previewer): bypass path validation for terminal buffers (#2117)Fabian David Schmidt
2022-07-10fix: from_entry escape and validation (#2058)Simon Hauser
2022-07-07fix: autocmd, show desc if available (#2046)Simon Hauser
2022-07-01fix: crash in tags on enter for no results and random crash in previewerSimon Hauser
2022-06-30fix: Inconsistent Color highlighting inside Git File Diff PreviewSimon Hauser
fix #1098
2022-06-30chore: cleanup autocmd builtin (#1947)Simon Hauser
2022-06-15fix: block autocommands when setting preview buffer (#2010)zeertzjq
Telescope creates most floating windows with `noautocmd = true`, so these windows do not trigger autocommands, but preview buffer is set in window using `nvim_win_set_buf()`, which triggers buffer autocommands. This may be unwanted, so block them using 'eventignore'.
2022-06-13fix: TelescopePreviewerLoaded (#2005)Simon Hauser
2022-03-26fix (tags|btags): escape all special characters (#1806)ibhagwan
2022-03-13feat: improve UX with vim.notify (#1763)tami5
* 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-11fix: disable signcolumn in telescope windows (#1781)Simon Hauser
2022-03-10refactor: remove redundant state in preview (#1761)Laura
2022-03-10fix: man_pages previewer, respecting MANPATH and apropos output parsing (#1764)Simon Hauser
- 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-02-23fix builtin.autocommands throwing error (#1758)Vedant Neema
2022-02-14fix: builtin `autocommands` previewer throws error (#1732)daangoossens22
2021-12-10fix: previewer for builtin.builtin (#1583)smhc
2021-12-05fix: git_branch previewer highlighter error (#1543)Simon Hauser
2021-11-26fix: issue when scrollbind is set (#1496)Simon Hauser
2021-11-04fix: revert buffers previewer (#1400)fdschmidt93
* Reverts #1120 many issues arise (mru, highlighting, settings inheritance, ...) when previewing actual buffers
2021-10-20fix: preview title key and a bug with dynamic_title (#1350)Simon Hauser
2021-10-04fix: stacking highlights in buffer previewer (#1294)fdschmidt93
2021-09-27feat: filetype_hook & improved docs; fix preview partial override (#1273)fdschmidt93
2021-09-27feat: add highlight group: TelescopePreviewMessage (#1286)Sávio Carlos Martins Costa
* feat: add highlight group: TelescopePreviewMessage * fix indentation from 4 to 2 spaces
2021-09-26fix: tags now also support suppercollider tags (#1284)Simon Hauser
2021-09-17fix: stacked hooks in buffer previewer (#1253)fdschmidt93
2021-09-16feat: skip/timeout preview if file cannot be easily previewed (#1231)fdschmidt93
* For full configuration, see `:h telescope.defaults.preview` * Unblocks previewer on binaries, too large files, and files that take too long to read * Allows toggling treesitter highlighting for buffer_previewer * Allows to globally opt out of previewer
2021-09-10fix: stale lnum in buffer previewer (#1229)fdschmidt93
* fix: lnum to jump to might be stale eg when resuming buffer picker after changes
2021-09-02fix: clear buffer previewer fully for caching (#1201)fdschmidt93
2021-09-01fix: string `display` for builtin.pickers (#1194)fdschmidt93
2021-09-01feat: allow caching and resuming picker (#1051)fdschmidt93
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker` * add builtin.resume and builtin.pickers picker
2021-09-01fix: autocommands cursor outside of buffer (#1157)Omar Zeghouani
Closes #957
2021-08-23fix: safer teardown of buffer previewer (#1158)fdschmidt93
2021-08-23fix: (terminal) buffer previewer (#1120)fdschmidt93
Use existing buffers for buffer previewer to allow previewing special buffer types
2021-08-04fix: preview the correct man page section (#1076)zeertzjq
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
2021-07-16fix: error from hopping faster than preview (#1006)fdschmidt93
2021-07-14refactor: move from telescope.path to plenary.path (#473)anott03
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-06-14feat: cycle previewers with commit and bcommit already using it (#528)Simon Hauser
- new git previewers - jump to line in bcommit previewer - vimdiff for bcommits - dynamic preview window titles - more previewers documentation Cycle previewers are not mapped yet. So you need to setup yourself: ```lua require('telescope').setup { defaults = { mappings = { i = { ["<C-s>"] = actions.cycle_previewers_next, ["<C-a>"] = actions.cycle_previewers_prev, }, }, } } ``` Co-authored-by: Thore Strassburg <thore@weilbier.net>
2021-05-11fix: prevents flickering when first loading a buffer preview entry (#797)Michał Nowotnik
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-11feat: add git_stash picker (#800)Amirreza Askarpour
2021-03-30fix: no longer leaking one buffer previewer in some occasions (#664)Simon Hauser
* fix: stop leaking last preview buffer * fix: formatting for docs * fix: async check if file is dir or not and - fix for in_fast_event when overriding file_maker * fix: filtering for space in keymaps and fzy * fix: show correct result numbers when using file_ignore_patterns * Handle early close. Caused because we actually cleaning up buffers now * cleanup * [docgen] Update doc/telescope.txt
2021-03-07fix: only expand if we are not in_fast_event()Simon Hauser
2021-02-27fix: a lot of small things and adds more customization for caret (#554)Simon Hauser
Attention: prompt_prefix will no longer add a space at the end. So if you still want a space at the end make sure your configuration has one. The default should not be changed. So if you haven't copied prompt_prefix in your config this doesn't affect you. Feat: - prompt prefix does no longer always end with space - selection_caret configurable. Default: `> ` - result_prefix configurable. Default: ` ` - more actions for git_branches - <c-t> does track the branch - <c-r> does rebase branch - also added delete branch action but not configured. See readme on how to do that Fixes: - fix docgen ci - Better error for lsp_workspace_symbols - better formatting for CONTRIBUTING.md - move from systemlist to plenary.job - git branch now supports checkout on remote branches
2021-02-26fix: change git previewers from using -P to --no-pager for better ↵Jae-Won Chung
compatibility (#558)
2021-02-12feat: buffer previewers ls is now colorized (#505)Simon Hauser
Requires up to date plenary version
2021-02-09fix: all git builtin respect cwd now (#517)Simon Hauser
2021-02-02feat: add sections opt for man_pages and fix for macos (#413)JINNOUCHI Yasushi
:Telescope man_pages sections=3 will only show man pages from section 3 :Telescope man_pages sections=1,2,3 will show man pages from section 1, 2 and 3