* Initial commit
* Fixes issue with find_files where devicons where disabled
* Fixes issue with vimgrep where devicons where disabled
* Fixes trailing space for path with only a file name
* Adds test for reverse path_display
* Refactors reverse to filename_first
* Adds tests
* Fixes highlighting
* Fixes linting issues
* Uses trim function
* Fixes issue with highlighting
* Moves local function to utils
* Removes redundant code
* Adds highlighting for gen_from_buffer
* fix formatting
---------
Co-authored-by: alycklama <>
Co-authored-by: James Trew <j.trew10@gmail.com>
There's a limitation with extmark's `right_align` virtual text and how
it handles side scrolling. This causes text entered to be hidden behind
the virtual text rather than begin the side scroll.
An issue is opened upstream https://github.com/neovim/neovim/issues/27540
But this could take a while before it's fixed as it's considered
`complexity:high`.
This PR adds a temporary workaround of just hiding the status text if the
prompt is long enough to interfere with it.
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" },
},
},
},
```
* feat: add `multi_icon` option to pickers and corresponding highlight
* feat: allow `multi_icon` to be any length
* fix: adjust `selection_caret` highlighting
* 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
* 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