summaryrefslogtreecommitdiff
path: root/lua/telescope/utils.lua
AgeCommit message (Collapse)Author
2023-01-22docs: proof-read edits (#2311)James Trew
2022-12-02fix: icons with multiple dots but without custom overrides (#2256)Simon Hauser
2022-12-01feat: support for multi-part file extensions like *.test.js (#2252)Mat Jones
2022-10-08fix: selected icon highlight with color_devicons to false (#2187)Antoine Bertin
2022-07-12chore: remove deprecated functions / messages (#2063)Simon Hauser
2022-07-07chore: reformat with stylua 0.14.0Simon Hauser
2022-07-06fix(path_display): allow function on path_display (#2043)Charles Moscofian
2022-06-30fix: truncate for builtin.buffersSimon Hauser
fix #2022
2022-06-30break: deprecate utils.get_default utils.if_nil (#1545)Simon Hauser
2022-06-30docs: document limitations of file_ignore_patterns and transform_path (#1955)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-05-15fix: correctly use nvim-web-devicons (#1937)xeluxee
Also performance improvements for utils.path_tail
2022-04-22feat: show assigned function in actions.which_key (#1871)fdschmidt93
2022-04-18feat: add default hl group for devicons (#1849)Antoine Bertin
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-13chore: delete unused functions (#1788)Simon Hauser
* chore: delete unused functions * chore: remove unused file No one needs this WIP file as well. We already have all these pickers implemented in a better way
2022-03-11feat(lsp): ignore_symbols option (#1745)tami5
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-12-27fix: transform_path nil input (#1576)Simon Hauser
2021-12-10feat: migrate to Telescope diagnostics using vim.diagnostic (#1553)Simon Hauser
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-01chore: remove a lot of deprecated stuff (#1399)Simon Hauser
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-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: show keymaps for builtin actions (#1084)fdschmidt93
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
2021-09-01doc: generate docgenSimon Hauser
i forgot it. My bad
2021-09-01feat: add utility for fetching buffer directory (#902)Logan Connolly
2021-08-20startup: load once and only when called for devicons (#1139)TJ DeVries
2021-08-06fixup: styluaTJ DeVries
2021-08-06fix: Do not transform URIsTJ DeVries
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
2021-07-18feat: check type of `path_display` and warn user if wrong (#1023)Luke Kershaw
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-14chore: changelog for 473 (#992)Simon Hauser
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-07-08Consistent filepath display and code cleanup. (#839)caojoshua
BREAKING CHANGE: see :help telescope.changelog-839 for more information Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-06-14chore: use plenary.strings and remove strings functions from utils (#690)JINNOUCHI Yasushi
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-06-10feat: add filtering by symbol(s) to lsp_{document,workspace}_symbols (#903)fdschmidt93
2021-06-10feat: improved configuration and sorting of ↵fdschmidt93
lsp_{document,workspace}_diagnostics (#867)
2021-04-20fix: support multiple clients in lsp code actions (#722)William Boman
* fix: support multiple clients in lsp code actions * no goto * reduce diff a bit * use displayer, also include lsp client name for each entry * review comments
2021-03-04feat: workspace diagnostics, jump to and improved styling (#599)fdschmidt93
Changes: `Telescope lsp_diagnostics` is now `Telescope lsp_document_diagnostics` New: `Telescope lsp_workspace_diagnostics` Co-authored-by: Fabian David Schmidt <fabian.david.schmidt@hotmail.com> Co-authored-by: elianiva <dicha.arkana03@gmail.com>
2021-03-03feat: lsp diagnostics and prefiltering by entry attribute (#543)fdschmidt93
prefiltering for lsp_document_symbols and lsp_workspace_symbols. example: type `:var:` to show all vars
2021-03-02fix: make sure devicons are loaded (#590)Simon Hauser
2021-03-01refactor: move transform_devicons and get_devicons to utils (#580)ndavid
So extension developers can access them
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: proper multibytes chars alignment (#560)elianiva
I am 100% did not spoil anything, I swear
2021-02-09fix: all git builtin respect cwd now (#517)Simon Hauser
2021-02-09hotfix: displayer showing now items on windows (#515)JINNOUCHI Yasushi
No longer use ffi for strdisplaywidth and utf_ptr2len on windows. That might lead to wrong truncations on windows but its better than nothing.