| Age | Commit message (Collapse) | Author |
|
|
|
* Added closest selection_strategy to use default_selection_index initially but prefer highest ranked match when prompt not empty
* Updated supporting documentation to include selection_strategy
|
|
* 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>
|
|
|
|
This allows easier picker configuration for example:
```lua
require("telescope").setup {
pickers = {
buffers = {
show_all_buffers = true,
sort_lastused = true,
theme = "dropdown",
previewer = false,
mappings = {
i = {
["<c-q>"] = "smart_send_to_qflist",
}
}
}
}
}
```
This configuration will be applied when running `:Telescope buffers`
|
|
The configuration example does not match the comment.
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
|
|
|
|
|
|
|
|
|
|
* added lsp definitoins
* don't call locations_to_items when there is one
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>
* added missing end
* added description
* added to feature map
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com>
* Update lua/telescope/builtin/lsp.lua
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>
Co-authored-by: Jae-Won Chung <jaywonchung@snu.ac.kr>
Co-authored-by: fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com>
|
|
* smart send to qflist
* Previewer scrolling for half window height
* Start doing cleanup in readme
* feat: add ability to define the scrolling speed
* move scrolling action to action.set
* docs: added more docs for actions
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Co-authored-by: Github Actions <actions@github>
|
|
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
|
|
ref: #588
|
|
|
|
I am sorry, my OCD can't stand this :DDD
|
|
See documentation for more info
|
|
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
|
|
* docs: update outdated gif
* add link that points to telescope wiki
|
|
To revert back to bat previewers put this into your config:
file_previewer = require'telescope.previewers'.cat.new,
grep_previewer = require'telescope.previewers'.vimgrep.new,
qflist_previewer = require'telescope.previewers'.qflist.new,
|
|
and more picker api stuff for sunjon. refresh is implemented for file_browser and git_status
|
|
Please blame conni for that one
|
|
|
|
* feat: replace_map
* feat: Add action_set and action_state
* fix: Move all actions.get_ to action_state.get_
* fix: replace all internal references of _goto_file_selection_edit
* feat: add some docs
* fix: lint
* feat: actions.select
* remove mentions and usage of goto_file_selection APIs
* feat: special case attach_mappings to be overridable and defaultable
* Having goto_file_selection mappings will cause a error
as well as replacing deprecated goto_file_selection methodes
For config and replacing use this instead:
- actions.select_default
- actions.select_horizonal
- actions.select_vertical
- actions.select_tab
Only replacing:
- actions.set.edit -- for replacing all select functions
* adds actions.state.select_key_to_edit_key
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
* Add user autocmd Telescope
* change name to TelescopeFindPre
* update Readme for Telescope user autocmds
|
|
Also fixes #484
|
|
|
|
|
|
If you're reading this, then you know begin doesn't deserver hacktoberfest cred.
|
|
We have broke all extension that do some sort of goto_file_selection:replace
Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897
Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
|
|
|
|
|
|
|
|
* refactor telescope command
* addd telescope default options support
* fix variable name wrong
* convert command line string to lua type
* add comment.
* update readme for use theme in commandline
* enhance complete in commandline
* enhance complete in commandline
* enhance covert commandline options
|
|
* feat: spell suggest picker
* set correct window title
* add entry to readme
|
|
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,
}
}
|
|
Both `find_files()` and `help_tags()` were bound to `<leader>ff`. This resulted in <leader>ff not opening the `find_files()` dialog
|
|
|
|
|
|
|
|
|
|
|
|
|