| Age | Commit message (Collapse) | Author |
|
|
|
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
|
|
* chore: stylua job and config
* reformat with stylua
|
|
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>
|
|
maker. (#973)
|
|
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
* feat: Consistent and sensible layout_config
* [docgen] Update doc/telescope.txt
skip-checks: true
* [WIP]: Thu 17 Jun 2021 03:36:44 PM EDT
* [WIP]: Thu 17 Jun 2021 03:38:11 PM EDT
* layout_default -> layout_defaults
* remove options from bug repot
* Conni2461 suggestions: part 1
* [docgen] Update doc/telescope.txt
skip-checks: true
* Conni2461 suggestions: part 2
* [docgen] Update doc/telescope.txt
skip-checks: true
* Linting
* Improve deprecation checks
- Move `layout_defaults` handling to `deprecated.lua`
- Check for "layout keys" outside of `layout_config` on `setup`
* fixup: Just add a few more words
Co-authored-by: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com>
Co-authored-by: Github Actions <actions@github>
|
|
* fix: display issues in `:Telescope registers`
- Problems occured when a register contained newlines
- Caused issues in `Picker:set_selection`
- Couldn't move selection when a register with newlines was selected
|
|
- 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>
|
|
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
lsp_{document,workspace}_diagnostics (#867)
|
|
(#853)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* add icons to git_status finder
* fix lint warning
* fix incorrect removed icon
* refactor, more states/icons
* refactor, widen columns to allow for 3char width icons
* attempted col width fix
* fixup: small comments
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
|
|
* feat: Add buffer highlights from treesitter
* fix: Handle not having tree sitter in some buffers
* fixup
* fixup
* fixup: move back to old node
|
|
If you don't want to have a previewer disable it with `:Telescope current_buffer_fuzzy_find previewer=false`
To ignore empty lines do: `:Telescope current_buffer_fuzzy_find skip_empty_lines=true`
|
|
lsp_*_diagnostics (#607)
|
|
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>
|
|
prefiltering for lsp_document_symbols and lsp_workspace_symbols.
example: type `:var:` to show all vars
|
|
So extension developers can access them
|
|
|
|
|
|
:Telescope sections=ALL
|
|
: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
|
|
This is needed for calling strdisplaywidth() from Lua loop.
See https://github.com/nvim-telescope/telescope.nvim/issues/414
See https://github.com/neovim/neovim/blob/a1ed941a7881122fda2fd48e71e890ed55e4d08e/src/nvim/eval/funcs.c#L9845-L9858
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
|
|
|
|
* add selected command to cmd-history
* make N_ function global
* fix vimoptions description resolution and add color
|
|
|
|
|
|
Configure preview window with:
autocmd User TelescopePreviewerLoaded setlocal wrap
autocmd User TelescopePreviewerLoaded setlocal number
file_maker example: Use regex highlighting for certain filetype like `*min.js` because they slow
down things with treesitter highlighter. Just a snippet for tests. We will do an extension :)
local previewers = require('telescope.previewers')
local putils = require('telescope.previewers.utils')
local pfiletype = require('plenary.filetype')
local _bad = { '.*%.min%.js' }
local bad_files = function(filepath)
for _, v in ipairs(_bad) do
if filepath:match(v) then
return true
end
end
return false
end
local new_maker = function(filepath, bufnr, bufname, use_ft_detect, callback)
if use_ft_detect == nil then use_ft_detect = true end
if bad_files(filepath) then
previewers.buffer_previewer_maker(filepath, bufnr, bufname, false, callback)
local ft = pfiletype.detect(filepath)
putils.regex_highlighter(bufnr, ft)
else
previewers.buffer_previewer_maker(filepath, bufnr, bufname, use_ft_detect, callback)
end
end
require('telescope').setup {
defaults = {
buffer_previewer_maker = new_maker,
}
}
|
|
|
|
|
|
* add vim hl_groups for autocmds finder
* spacing
* add displayer/colouring for git_commits
* LSP colouring and restore filename for workspace symbols
* resolve review issues.
* fix: handle 'show_line', 'ignore_filename', 'hide_filename'
* fix lsp workspace defaults
* allow for setting show_line when ignore filename is true
* move lsp_doc_symbol lineinfo to 2nd column
* reformat treesitter display to match LSP
* use utility functions for setting opts defaults
* add fix-me note for unlikely configuration permutation
* use hl_chars format for inline lineinfo
|
|
* add colour to buffers finder
* new display function for LSP workspace/doc symbols
* add more hl_groups and opts paramter
* use make_display() for man_pages finder.
* use make_display for registers finder and add color
* don't use quickfix make_entry() for builtin finder
* make_entry() for builtin finder
* remove debug output
* revert change to internal.builtin finder
* fix_spacing
|
|
Also make vim buffer line configurable
|
|
(#237)
|
|
* change quickfix make_entry to use column displayer
* fix: don't convert filename to empty string
|
|
* Add luacheck ci job
* Fix most of the linting issues
* fixup: lint
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
Separator Example: When creating the displayer
```lua
local displayer = entry_display.create {
separator = " ",
separator_hl = 'Visual', -- New
items = {
{ width = opts.bufnr_width },
{ width = 4 },
{ remaining = true },
},
}
```
Elements Example: When submitting data
```lua
local hl_group = x == y then 'Normal' or 'Visual'
return displayer {
entry.bufnr,
{ entry.indicator, hl_group },
display_bufname .. ":" .. entry.lnum,
}
```
|
|
* feat: new builtin - Autocommands finder
* fix: remove decorators to avoid confusion.
* make preview split same hl-group as border
* use highlight instead of marker character for preview selection hl
|
|
|
|
|