summaryrefslogtreecommitdiff
path: root/lua/telescope/config.lua
AgeCommit message (Collapse)Author
2023-01-30feat: add support for wrapping history on reaching history begin or end (#2349)Reid Swan
2023-01-22docs: proof-read edits (#2311)James Trew
2023-01-22docs: fix unfinised sentence in docs (#2335)cristiansofronie
2022-12-28fix(docs): point to correct lua modules (#2284)C.D. MacEachern
2022-10-08fix: selected icon highlight with color_devicons to false (#2187)Antoine Bertin
2022-10-08fix: preview = true (#2168)Simon Hauser
2022-08-26fix: remove un-needed check (#2144)Alexe Radu Andrei
2022-07-12docs: mappings documentation overhaul (#2065)Simon Hauser
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-01break: cleanup preview.treesitter language setting (#1612)marcel
this follows nvim-treesitter more closely but enable can also be a table of enabled languages The config now looks like this: ```lua defaults = { preview = { treesitter = { enable = false, -- or enable = { "c" }, -- disable can be set if enable isn't set disable = { "perl", "javascript" }, }, }, }, ```
2022-06-30break: deprecate utils.get_default utils.if_nil (#1545)Simon Hauser
2022-06-30feat: none strategy & control attachment (#1867)fdschmidt93
2022-06-30docs: document limitations of file_ignore_patterns and transform_path (#1955)Simon Hauser
2022-05-15feat: Add ability to choose window to edit (#745)TJ DeVries
2022-04-30docs(smart_path): add negative performance warning (#1899)Simon Hauser
2022-04-18feat: add default hl group for devicons (#1849)Antoine Bertin
2022-04-08feat: global configuration of results_title and prompt_title (#1817)Michael Benford
2022-03-20feat: enable individual options for mappings (#890)Waldson Patrício
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-20docs: fix typo in defaults.history section (#1797)Suvansh Kumar
2022-02-15feat: allow user to wrap picker results (#701, #1296) (#1735)Sultanahamer
2022-01-14feat: adds multiselect counter in prompt status_text (#1614)Luke Kershaw
2022-01-09feat: tiebreak config function (#1401)Julian Fricker
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-01-05feat: multiselect icon (#1572)Luke Kershaw
* feat: add `multi_icon` option to pickers and corresponding highlight * feat: allow `multi_icon` to be any length * fix: adjust `selection_caret` highlighting
2021-12-03defaults: change `center` layout default size (#1546)Luke Kershaw
* defaults: change `center` layout default size - now matches the description and has space for a preview above the central block
2021-11-28feat: add `preview width` option for `bottom_pane` layout (#1505)max397574
* feat(layout_strategies): started adding preview width for bottom pane * fix(bottom_pane preview_width): fixed some values and added defualt * fix(config): better default for preview cutoff * fix(layout): removed unnecessary variable value
2021-11-18fix: cleanup of layout actionsLuke Kershaw
* 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-18feat: layout actions (#1383)Luke Kershaw
Co-authored-by: johnybx <johnybx@users.noreply.github.com>
2021-11-18feat: add hide / unhide preview (#1305)johnybx
* 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-14feat: `exclude` option for `shorten` in `path_display` (#1429)Luke Kershaw
* feat: allow excluding positions for `shorten` in `path_display` * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-11-04fix: deactivate binary ft detection for Win32 (#1413)fdschmidt93
* Make `file` mime type detection for Windows users opt-in, as it caused issues when they had it
2021-11-04feat: Full width select (#1403)Julian Fricker
Can be changed back by setting telescope.setup { defaults = { hl_result_eol = false, } }
2021-11-01chore: remove a lot of deprecated stuff (#1399)Simon Hauser
2021-10-31Revert "break: changed the results window highlight to always be full width ↵Simon Hauser
(#1312)" (#1398) This reverts commit 3b9ac8edba8c1b4053c7f6ac8a4e78969cec66dd.
2021-10-29break: changed the results window highlight to always be full width (#1312)Julian Fricker
Can be changed back by setting telescope.setup { defaults = { hl_result_eol = false, } }
2021-10-24docs: fix typo in qflist_previewer's default value (#1363)nickelc
2021-10-04feat: more prompt position strategies (#1280)Luke Kershaw
* feat: allow `prompt_position` for `vertical` layout strategy * feat: allow `prompt_position` for `bottom_pane` layout strategy * stylua * [docgen] Update doc/telescope.txt skip-checks: true * refactor: switch to `string.format` * stylua * feat: allow `prompt_position` for `center` layout strategy * feat: handle user defined `prompt_position` within themes * [docgen] Update doc/telescope.txt skip-checks: true * fix: tweak `center` layout - ensure `prompt` title is visible when `prompt_position="bottom"` * fix: refactor `center` tweak - move title to bottom of picker when `prompt_position="bottom"` * fix: tweak `bottom_pane` layout * stylua Co-authored-by: Github Actions <actions@github>
2021-09-27feat: filetype_hook & improved docs; fix preview partial override (#1273)fdschmidt93
2021-09-20feat(defaults): enable customization of path_display.truncate (#1264)tami5
followup to https://github.com/nvim-telescope/telescope.nvim/pull/1254 and implementation of https://github.com/nvim-telescope/telescope.nvim/pull/1254#issuecomment-922527270
2021-09-19feat: `truncate` option for `path_display` (#1254)Luke Kershaw
2021-09-19feat: `layout_strategies` refactor (#1039)Luke Kershaw
* wip: 2021-07-22 15:00 BST * wip: `horizontal` refactored * wip: `center` refactored * wip: `cursor` and `vertical` refactored * wip: `current_buffer` refactor - also changed `layout_config_defaults` as they gave errors when using `current_buffer` * wip: `bottom_pane` refactor * [docgen] Update doc/telescope.txt skip-checks: true * fix: put accidentally remove config option back * [docgen] Update doc/telescope.txt skip-checks: true * wip: standardise `height` calculation for `center` and `bottom_pane` * wip: improve comments * [docgen] Update doc/telescope.txt skip-checks: true * stylua - also fix a merge mistake * [docgen] Update doc/telescope.txt skip-checks: true * fix: attempt to fix bad merge * refactor: remove unused entry in `borderchars` table - also fix some typos * wip: tweak padding for `bottom_pane` * wip: add `tabline` checks to `bottom_pane` - also tweaked position so that `statusline` is not covered when borders are enabled * stylua * refactor: factor out size capping function * [docgen] Update doc/telescope.txt skip-checks: true * fix: adjust tests that relied on height being number of results * fix: forgot variable in calc_size_and_spacing * fix: maybe this fixes these tests? * test: try other plenary branch for ci * test: switch back to main plenary branch for ci * fix: actually define `max_results` in the test * fix: final tweaks for edge cases Co-authored-by: Github Actions <actions@github>
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-16docs: rewrite readme and add missing config values + builtin optsSimon Hauser
2021-09-12feat: smart path (#914)qualious
path_display = { "smart" } Co-authored-by: Deniz <deniz@admentum.se> Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
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-08-20feat: Use nvim_buf_set_extmark right_align to do the magic for us (#1138)TJ DeVries
2021-08-20feat(performance): Major performance improvements using async v2 from ↵TJ DeVries
@oberblastmeister (#987) * start: Working w/ async jobs * short circuit to using bad finder if you pass writer.
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
2021-07-16feat: add cursor layout (#878)Corentin Brunel
* Add basic implementation of "cursor" layout strategy * Update cursor layout strategy to properly follow cursor * feat(cursor_layout): handle previewer * Refactor cursor layout code * Add cursor theme * Update readme * Improve cursor theme and layout documentation * [docgen] Update doc/telescope.txt skip-checks: true * Remove trailing whitespace * Fix issues related with neovim and plugin api changes * [docgen] Update doc/telescope.txt skip-checks: true * Allow preview width to be configured * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github> Co-authored-by: cbrunel <cbrunel@sogescom.local>
2021-07-16feat: Add length option for `shorten_path` (#886)Luke Kershaw
* feat: add `shorten_len` option for path shortening - adds option to configure the length of shortened parts of filenames - only affects paths when "shorten" is in `path_display` * chore: revert rebase for `path.lua` to 876bed9 * refactor: replace `shorten_len` with the `shorten` key in `path_display` - also deprecates `utils.path_shorten` and passes straight to `plenary`s `Path:shorten` * feat: allow `path_display` to handle table keys, as well as strings
2021-07-16feat: Add ability to have a user defined function to format the path display ↵Nazeeh ElDirghami
(#1000)
2021-07-09hotfix: just only false to disableSimon Hauser
I knew i will break it with my last commit