summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-08-11feat: Move to plenary.popup (#1102)TJ DeVries
2021-08-09fix: picker config (#1094)Simon Hauser
2021-08-06fixup: styluaTJ DeVries
2021-08-06fix: Do not transform URIsTJ DeVries
2021-08-04chore: reformat docs after tree-sitter-lua changesSimon Hauser
2021-08-04feat: add option jump_type to lsp_definitions and lsp_implementations (#1077)zeertzjq
2021-08-04fix: preview the correct man page section (#1076)zeertzjq
2021-08-04fix: escape newlines in code action title (#1012)Dhruv Manilawala
2021-08-04feat: live_grep and grep_string function for additional opts (allow file ↵Nazeeh ElDirghami
mask) (#1017)
2021-08-04fix(entry_to_qf): handle nil entry.cwd and absolute filenames (#1058)bi0ha2ard
2021-08-03fix: fix `file_browser` on windows and potentially other file opens (#1026)Luke Kershaw
2021-08-03fix: git_bcommit use absolute path for current file (#1059)Joshua Cao
2021-07-30feat: add git reset action for git commits picker (#999)Joel Palmer
2021-07-29feat: add no_ignore option to find_files (#1010)Lee Marlow
Allow find_files to find files ignored by .gitignore and other ignore files. This is supported by fd, rg, and fdfind.
2021-07-25refactor: remove unused parameter (#1044)elianiva
2021-07-23fix: make path for send to qflist correct (#1037)Sebastian Lyng Johansen
2021-07-23chore: use stylua for formatting (#1040)Simon Hauser
* chore: stylua job and config * reformat with stylua
2021-07-20fix: unknown filetype error message (#1034)Simon Hauser
2021-07-20fix: check if tabline is present when calculating certain layouts (#1027)Luke Kershaw
* fix: check if tabline is present when calculating certain layouts - also tweaks height calculation for `center` strategy * refactor: remove `center` strategy tweak - will reimplement something similar in another PR for a few of the strategies * fix: check if `preview.line` is `nil` * refactor: factor out `tbln` calculation and `max_lines` adjustment - also tweaked `vertical` calculations so that no `nil` check is required
2021-07-19feat: sort_mru for builtin buffers (#1028)Simon Hauser
:help builtin.buffers
2021-07-18feat: check type of `path_display` and warn user if wrong (#1023)Luke Kershaw
2021-07-18Set a filetype for the results buffer (#1019)Rasmus Bergström
**Why** is the change needed? So that it can be targeted with specific settings. These could include disabling plugins for the buffer (as in #840) or disabling folding (as per #991). **How** is the need addressed? - Add a filetype to the buffer after it has been created. Closes #991
2021-07-18fix for #847 (#1022)Ben Smith
2021-07-18Mirror option for bottom_pane layout_strategy (#847)Ben Smith
* functional mirror opt for bottom_pane strategy * [docgen] Update doc/telescope.txt skip-checks: true * forgot 'end' to close function * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
2021-07-17fix: prevent error if preview scroll is triggered but no preview is ↵Abe Nonym
available (#994)
2021-07-17feat: add ^ and $ to characters handled by regex escape (#1007)Daniel Imfeld
2021-07-17fix: correct the prompt title (#1013)wongxy
2021-07-16fix: error from hopping faster than preview (#1006)fdschmidt93
2021-07-16feat: add cursor layout (#878)Corentin Brunel
* 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-16feat: enable to preview themes (#980)wongxy
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-14feat: add `search_dirs` to split_keywords table (#986)Jonathan Teran
This allows the command parser to correctly split `search_dirs` into a table. Should solve nvim-telescope/telescope.nvim#985
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-14fix: builtin `find_files`, `find` command `win32` check == 0 (#989)Luke Kershaw
- changes check for Windows OS, as 0 is truthy, so `not 0` and `not 1` are both `false`
2021-07-13feat: add Windows `where` file finder command (#979)Luke Kershaw
2021-07-11fix: for closed buffer in tagstack picker (#972)caojoshua
2021-07-11refactor: Jumplist picker uses quickfix entry maker. Delete jumplist entry ↵caojoshua
maker. (#973)
2021-07-10fix: pasting multiline register content (#971)toppair
2021-07-09hotfix: just only false to disableSimon Hauser
I knew i will break it with my last commit
2021-07-09feat: cycle prompt history (#521)Simon Hauser
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-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-07-03feat: option to `include_extensions` in `builtin` picker (#953)Luke Kershaw
- add option `include_extensions` which defaults to `false` - if `include_extensions` is `true` then add functions from extensions to results - update `actions.run_builtin` to check if extension function provided
2021-07-03feat: select_all, toggle_all and drop_all actions (#931)fdschmidt93
2021-07-02feat: `selection_strategy` closest (#885)Tom
* 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-02fix: table number option extend (#947)Luke Kershaw
* fix: prevent error when overriding tables with numbers Fixes #944 - refactor `config.smarter_depth_2_extend` - use `config.smarter_depth_2_extend` for setting `layout_config` in `Picker:new` * test: check that can override a table with a number for layout configuration
2021-07-01feat: Consistent and sensible layout_config (#922)TJ DeVries
* 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-06-27fix: display issues in `:Telescope registers` (#940)Luke Kershaw
* 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
2021-06-14feat: cycle previewers with commit and bcommit already using it (#528)Simon Hauser
- 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>