Simon Hauser
5131df7df1
docs: rewrite readme and add missing config values + builtin opts
2021-09-16 11:12:12 +02:00
qualious
1d17cc4abc
feat: smart path ( #914 )
...
path_display = { "smart" }
Co-authored-by: Deniz <deniz@admentum.se >
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-09-12 21:14:00 +02:00
Rodrigodd
d022ccaf11
feat: lsp type definitions ( #1224 )
2021-09-12 11:36:28 +02:00
thibthib18
b4d6eb9a23
feat: git merge branch action ( #1220 )
2021-09-10 08:50:58 +02:00
fdschmidt93
fbe004142f
feat: show keymaps for builtin actions ( #1084 )
...
* Add default mappings `<C-/>`and `?` for insert and normal mode, respectively, to show registered keymappings (`actions.which_key`) attached to prompt buffer
2021-09-01 20:11:53 +02:00
fdschmidt93
5d37c3ea08
feat: allow caching and resuming picker ( #1051 )
...
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
2021-09-01 18:17:18 +02:00
Simon Hauser
baf39e5339
doc: generate docgen
...
i forgot it. My bad
2021-09-01 16:53:56 +02:00
Simon Hauser
364d795d22
fix: some improvements for telescope.symbols if run in insert mode ( #1117 )
...
- keep insert if run in insert mode
- also look in `.local/share/nvim/telescope/symbols/*.json` for symbols
can be overriden with `symbol_path`
2021-08-21 16:48:19 +02:00
Luke Kershaw
f67d3e883d
feat: allow tables in vimscript command parser ( #1075 )
2021-08-18 10:05:04 +01:00
Simon Hauser
e7362e9996
chore: reformat docs after tree-sitter-lua changes
2021-08-04 22:41:18 +02:00
zeertzjq
d7cdfcbeb6
feat: add option jump_type to lsp_definitions and lsp_implementations ( #1077 )
2021-08-04 22:33:13 +02:00
zeertzjq
654903fc04
fix: preview the correct man page section ( #1076 )
2021-08-04 22:19:39 +02:00
Nazeeh ElDirghami
ca195e32e0
feat: live_grep and grep_string function for additional opts (allow file mask) ( #1017 )
2021-08-04 09:07:04 +02:00
bi0ha2ard
b7cd8c7699
fix(entry_to_qf): handle nil entry.cwd and absolute filenames ( #1058 )
2021-08-04 08:56:15 +02:00
Luke Kershaw
f8caad1d6b
fix: fix file_browser on windows and potentially other file opens ( #1026 )
2021-08-03 11:08:42 +02:00
Simon Hauser
46e03a935f
feat: sort_mru for builtin buffers ( #1028 )
...
:help builtin.buffers
2021-07-19 09:10:06 +02:00
Corentin Brunel
b13306e5cc
feat: add cursor layout ( #878 )
...
* 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-16 19:17:21 +01:00
wongxy
747396227d
feat: enable to preview themes ( #980 )
2021-07-16 18:45:31 +02:00
Luke Kershaw
1866265fea
feat: Add length option for shorten_path ( #886 )
...
* 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-16 17:41:39 +01:00
Nazeeh ElDirghami
138697980b
feat: Add ability to have a user defined function to format the path display ( #1000 )
2021-07-16 17:20:25 +02:00
anott03
df579bac42
refactor: move from telescope.path to plenary.path ( #473 )
...
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-14 19:25:00 +02:00
toppair
7cdaaaa39d
fix: pasting multiline register content ( #971 )
2021-07-10 17:46:08 +02:00
Simon Hauser
3699605627
feat: cycle prompt history ( #521 )
...
history is enabled on default but cycle_history_next and cycle_history_prev is not mapped yet
Example:
require('telescope').setup {
defaults = {
mappings = {
i = {
["<C-Down>"] = require('telescope.actions').cycle_history_next,
["<C-Up>"] = require('telescope.actions').cycle_history_prev,
}
}
}
}
For more information :help telescope.defaults.history
big thanks to clason and all other testers :)
2021-07-09 20:45:29 +02:00
caojoshua
d5a8e48aa6
Consistent filepath display and code cleanup. ( #839 )
...
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-07-08 10:30:44 +02:00
fdschmidt93
bdd0df73a6
feat: select_all, toggle_all and drop_all actions ( #931 )
2021-07-03 10:54:06 +02:00
Tom
c5a6ed16e2
feat: selection_strategy closest ( #885 )
...
* 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
2021-07-02 12:42:25 +02:00
TJ DeVries
5a53ec5c2f
feat: Consistent and sensible layout_config ( #922 )
...
* 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>
2021-07-01 05:41:58 -04:00
Simon Hauser
6ac5ee0854
feat: cycle previewers with commit and bcommit already using it ( #528 )
...
- 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 >
2021-06-14 21:50:46 +02:00
fdschmidt93
e27c87f88a
feat: add filtering by symbol(s) to lsp_{document,workspace}_symbols ( #903 )
2021-06-10 23:10:18 +02:00
fdschmidt93
1407ac3400
feat: improved configuration and sorting of lsp_{document,workspace}_diagnostics ( #867 )
2021-06-10 17:13:34 +02:00
Dhruv Manilawala
495f84fd35
feat: delete entry from the picker without closing telescope ( #828 )
...
This action is not mapped but you can do it yourself in your telescope setup call
Example config:
```lua
require("telescope").setup {
pickers = {
buffers = {
mappings = {
i = {
["<c-d>"] = "delete_buffer",
}
}
}
}
}
```
2021-06-09 19:58:36 +02:00
Simon Hauser
618e0e6075
feat: set defaults for each picker in telescope setup ( #883 )
...
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`
2021-06-09 19:51:03 +02:00
David Mejorado
feaed4b6e2
docs: update builtin.file_browser options ( #887 )
2021-06-06 21:11:42 +02:00
Gwarnifarn
2697bcfaf0
docs: add more builtin.buffers documentation ( #888 )
2021-06-03 22:16:09 +02:00
fdschmidt93
57ac8dcc3e
feat: add prefiltering to treesitter picker ( #879 )
2021-05-31 09:39:21 +02:00
runiq
e659e3336f
feat: send to loclist ( #868 )
2021-05-31 08:47:05 +02:00
Ben Smith
654b11aa08
Change the show_all_buffers option to true by default for buffers picker ( #858 )
...
* show_all_buffers true by default, added docs
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix for docs, used param instead of field oops
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-05-30 22:12:18 -04:00
runiq
517f4b204b
Add documentation for quickfix actions ( #869 )
...
* Add documentation for quickfix actions
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-05-30 21:45:57 -04:00
TJ DeVries
4da66dab44
feat: add ivy-style layout strategy ( #771 )
...
* feat: add new layout strategy
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-05-15 15:02:14 -04:00
Ben Smith
e88864123b
Docs for builtin pickers ( #783 )
2021-05-13 18:44:26 +00:00
Amirreza Askarpour
9fd242db26
feat: add git_stash picker ( #800 )
2021-05-11 10:20:57 +02:00
Ben Smith
6fd1b3bd25
docs: Git actions docs fix ( #787 )
...
* Removed function headers for git actions
* [docgen] Update doc/telescope.txt
skip-checks: true
* [docgen] Update doc/telescope.txt
skip-checks: true
* Added TODO & comments instead of removing headers
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-04-23 14:16:44 -04:00
TJ DeVries
c6980a9acf
docs: add other actions modules ( #792 )
...
* docs: add other actions modules
* [docgen] Update doc/telescope.txt
skip-checks: true
* fixup
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-04-22 17:08:22 -04:00
PolarMutex
0d6cd47990
fix checking for git dir in a bare repo ( #757 )
...
* fix checking for git dir in a bare repo
* revert last change and look for worktree
* fix lint error
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Brian Ryall <brian.ryall@udri.udayton.edu >
Co-authored-by: Github Actions <actions@github>
2021-04-22 13:23:42 -04:00
Simon Hauser
aefc831735
fix: no longer leaking one buffer previewer in some occasions ( #664 )
...
* fix: stop leaking last preview buffer
* fix: formatting for docs
* fix: async check if file is dir or not and
- fix for in_fast_event when overriding file_maker
* fix: filtering for space in keymaps and fzy
* fix: show correct result numbers when using file_ignore_patterns
* Handle early close. Caused because we actually cleaning up buffers now
* cleanup
* [docgen] Update doc/telescope.txt
2021-03-30 12:32:18 +02:00
Christopher Laidler
812fae1d71
fix: related to #13 telescope-project, enter insert mode on prompt close ( #637 )
...
* fix: related to #13 telescope-project, enter insert mode on prompt close
* fix: related to #13 telescope-project, enter insert mode on prompt close
* revert changes made in error
* fix PR issue
* fix: undefined variable do_close
* use action_state as actions is deprecated
* [docgen] Update doc/telescope.txt
skip-checks: true
Co-authored-by: Github Actions <actions@github>
2021-03-17 04:50:06 +07:00
elianiva
6e941e0ece
feat: define scroll speed + smart_send to qflist ( #610 )
...
* 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>
2021-03-05 20:13:48 +07:00
fdschmidt93
db7615578b
feat: lsp diagnostics and prefiltering by entry attribute ( #543 )
...
prefiltering for lsp_document_symbols and lsp_workspace_symbols.
example: type `:var:` to show all vars
2021-03-03 22:33:03 +01:00
Simon Hauser
3faca0802f
docs: start documenting previewers ( #574 )
...
Co-authored-by: Muhammed Zakir <MuhammedZakir@users.noreply.github.com >
2021-03-03 18:14:46 +01:00
Github Actions
3ee53c892d
[docgen] Update doc/telescope.txt
...
skip-checks: true
2021-03-03 16:52:10 +00:00