James Trew
206e71d133
fix: add opts.bufnr and opts.winnr to builtin picker ( #1706 )
2022-02-14 17:39:58 +01:00
Luke Kershaw
c1b9dab300
fix: handle filenames with colons in live_grep ( #1609 )
2022-01-16 16:54:51 +01:00
daangoossens22
d173740bb4
feat: make results pane of builtin keymaps more readable ( #1684 )
2022-01-14 21:13:32 +01:00
Simon Hauser
56325fefb2
feat: migrate to Telescope diagnostics using vim.diagnostic ( #1553 )
2021-12-10 17:49:06 +01:00
Farbod Salamat-Zadeh
6b1579741a
fix: git stash entry formatting ( #1452 )
2021-12-06 21:20:37 +01:00
Simon Hauser
27294d73e4
fix: regression with grep builtins ( #1548 )
2021-12-03 17:57:28 +01:00
Luke Kershaw
b50b364ae1
fix: check for Windows drive letter when parsing vimgrep ( #1494 )
2021-12-03 16:29:20 +01:00
Daniel Kempkens
aa41912ef8
fix: Remove symbol_msg substitution ( #1525 )
...
Because Elixir source code can contain `|`, the removed substitution
sometimes broke `lsp_document_symbols()`.
Example:
```
E5108: Error executing lua ...packer/start/telescope.nvim/lua/telescope/make_entry.lua:392: attempt to concatenate local 'symbol_name' (a nil value)
stack traceback:
...packer/start/telescope.nvim/lua/telescope/make_entry.lua:392: in function 'entry_maker'
...scope.nvim/lua/telescope/finders/async_static_finder.lua:17: in function 'new_table'
...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:137: in function 'v'
...acker/start/telescope.nvim/lua/telescope/builtin/lsp.lua:500: in function 'v'
...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:496: in function <...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:467>
...ck/packer/start/telescope.nvim/lua/telescope/command.lua:179: in function 'run_command'
...ck/packer/start/telescope.nvim/lua/telescope/command.lua:241: in function 'load_command'
[string ":lua"]:1: in main chunk
```
Closes #874
2021-12-01 18:27:53 +01:00
Luke Kershaw
414a7a5b44
feat: extend functionality of entry_display.create ( #1408 )
...
* feat: extend functionality of `entry_display.create`
- now allows passing functions or fractional values to `width` option
* refactor: cache `width` instead of results window size
* feat: use new `width` functionality for more entry makers
2021-11-27 16:00:24 +00:00
x1314aq
9cad3a4a5d
fix(tags): wrong path separator on Windows ( #1354 )
...
the universal-ctags generates tag file in Unix path separator
even on Windows platform, this PR fix this.
2021-10-19 17:59:54 +02:00
Simon Hauser
41f362006b
fix: tags now also support suppercollider tags ( #1284 )
2021-09-26 12:56:06 +02:00
Luke Kershaw
f0db7d3a59
feat: truncate option for path_display ( #1254 )
2021-09-19 20:38:00 +02:00
Simon Hauser
5131df7df1
docs: rewrite readme and add missing config values + builtin opts
2021-09-16 11:12:12 +02:00
fdschmidt93
1c35ea319e
fix: stale lnum in buffer previewer ( #1229 )
...
* fix: lnum to jump to might be stale eg when resuming buffer picker after changes
2021-09-10 13:21:04 +02:00
Simon Hauser
d2b768983c
fix: jump to tag if buffer has unsaved changes ( #1230 )
2021-09-10 08:48:41 +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
79644ab677
chore: use stylua for formatting ( #1040 )
...
* chore: stylua job and config
* reformat with stylua
2021-07-23 11:42:37 -04: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
caojoshua
dc0dca27dc
refactor: Jumplist picker uses quickfix entry maker. Delete jumplist entry maker. ( #973 )
2021-07-11 08:24:57 +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
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
Luke Kershaw
e5bd4963da
fix: display issues in :Telescope registers ( #940 )
...
* 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-27 12:20:50 +01: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
JINNOUCHI Yasushi
0c1bc129da
chore: use plenary.strings and remove strings functions from utils ( #690 )
...
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-06-14 20:47:33 +02:00
fdschmidt93
1407ac3400
feat: improved configuration and sorting of lsp_{document,workspace}_diagnostics ( #867 )
2021-06-10 17:13:34 +02:00
Alex Mastro
d2b3b08077
fix: attempt to concatenate when entry.kind == nil or or symbol_type == nil ( #853 )
2021-05-30 10:54:17 +02:00
Amirreza Askarpour
9fd242db26
feat: add git_stash picker ( #800 )
2021-05-11 10:20:57 +02:00
caojoshua
e2907fc0f2
feat: jumplist picker and jump to row/col on existing buffers. ( #813 )
2021-05-09 11:05:12 +02:00
Tom Praschan
1408e3bbb7
feat: add option to configure width of items in gen_from_lsp_symbols() ( #812 )
2021-05-08 13:43:38 +02:00
Eugene Oliveros
bc6385be31
feat: Add only_sort_tags option for builtin.tags ( #825 )
2021-05-08 13:38:18 +02:00
August Masquelier
f92b9b1fae
fix: live_grep path appending with cwd when already absolute ( #768 )
2021-04-17 22:50:07 +03:00
Weihang Lo
9e603d3c1b
feat: table layout for builtin commands ( #754 )
2021-04-15 09:26:38 -04:00
Senghan Bright
5bd6f5ca98
feat: add icons to git_status finder ( #401 )
...
* 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 >
2021-04-09 13:33:10 -04:00
TJ DeVries
ba1e674e68
fix: update to newer code ( #744 )
2021-04-09 13:04:01 -04:00
TJ DeVries
e5fbe6fe60
fix: Use standardized names for current buffer fuzzy find ( #737 )
2021-04-07 17:12:47 -04:00
TJ DeVries
0b2c801978
feat: buf highlights for current buffer fuzzy find ( #732 )
...
* feat: Add buffer highlights from treesitter
* fix: Handle not having tree sitter in some buffers
* fixup
* fixup
* fixup: move back to old node
2021-04-06 19:59:42 -04:00
August Masquelier
d0cf646f65
feat: current buffer fuzzy find improvements ( #694 )
...
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`
2021-04-04 13:04:06 +02:00
fdschmidt93
8369acea3e
fix: error from unset LspDiagnosticSign & introduce opts.no_sign to lsp_*_diagnostics ( #607 )
2021-03-04 21:53:41 +01:00
fdschmidt93
908752fc67
feat: workspace diagnostics, jump to and improved styling ( #599 )
...
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 >
2021-03-04 15:01:17 +01: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
ndavid
678494e503
refactor: move transform_devicons and get_devicons to utils ( #580 )
...
So extension developers can access them
2021-03-01 23:59:17 +01:00
Danilo Luvizotto
b075d0d2b6
fix: git_commits when a commit has no message ( #529 )
2021-02-12 19:23:13 +01:00
Simon Hauser
3a7fa41857
fix: all git builtin respect cwd now ( #517 )
2021-02-09 18:25:57 +01:00
JINNOUCHI Yasushi
b3d3d93869
feat: show all sections in man_pages ( #512 )
...
:Telescope sections=ALL
2021-02-08 09:52:33 +01:00
JINNOUCHI Yasushi
c422d86eb9
feat: add sections opt for man_pages and fix for macos ( #413 )
...
: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
2021-02-02 13:23:37 +01:00
JINNOUCHI Yasushi
1ca1e7ccba
fix: Multi byte truncate for displayer ( #464 )
...
This is needed for calling strdisplaywidth() from Lua loop.
See https://github.com/nvim-telescope/telescope.nvim/issues/414
See a1ed941a78/src/nvim/eval/funcs.c (L9845-L9858)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-01-31 10:55:17 +01:00
TJ DeVries
4ca523232e
feat: only_search_text ( #419 )
2021-01-11 16:32:53 -05:00
Cedric M'Passi
9503603f88
feat: Add highlight to builtin.git_status ( #388 )
2021-01-04 23:04:58 +01:00
Senghan Bright
71ea4130a2
Fix missing global ( #384 )
...
* add selected command to cmd-history
* make N_ function global
* fix vimoptions description resolution and add color
2021-01-04 08:02:11 +01:00
Simon Hauser
4691863f43
fix: termopen previewer for powershell ( #382 )
2021-01-03 20:27:23 +01:00