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
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
Ben Smith
ed2764a1bd
feat: layout horizontal and vertical can now be mirrored ( #548 )
...
See documentation for more info
2021-02-28 11:16:47 +01:00
TJ DeVries
11674ac021
feat: multi selection. Only integrates with send_selected_to_qflist ( #551 )
...
This will not yet work with select actions. More work is needed in that case.
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-02-27 21:06:04 +01:00
elianiva
d37dc88eab
fix: proper multibytes chars alignment ( #560 )
...
I am 100% did not spoil anything, I swear
2021-02-26 20:17:47 +07:00
TJ DeVries
55ab5c77a5
feat: Add vim docs & generators ( #370 )
...
* feat: Add vim docs & generators
* example of what we could start to do
* Docgen CI job
* wip
* incremental updates. soon good validation
* [Actions] Generate Documentation
skip-checks: true
* pretty cool now
* [Actions] Generate Documentation
skip-checks: true
* make sure telescope is loaded first
* Add updates. Maybe this will not delete now?
* Add defaults tags as well
* 😄
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
Co-authored-by: Github Actions <actions@github>
2021-02-24 21:44:51 -05:00
elianiva
8b3d08d7a6
fix: scroll misbehaving + fixed jump to middle ( #547 )
...
* fix: scroll misbehaving + fixed jump to middle
* add test
* fixx
* fix nil
2021-02-24 21:40:11 +07:00
Hubert Pelczarski
67b0661537
feat: adds M mapping in normal mode ( #544 )
2021-02-24 03:35:52 +01:00
Simon Hauser
10627e889e
feat: advanced normal mode ( #463 )
...
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
2021-02-24 02:41:00 +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
Simon Hauser
e08a5b1331
feat: show git log for remote branches ( #428 )
2021-01-15 09:27:46 +01:00
TJ DeVries
8783bea06e
feat: quickfix ( #293 )
...
* feat: quickfix (not implemented)
* [WIP]: Wed 09 Dec 2020 11:11:30 PM EST
* somewhat working linked list impl
* getting closer
* might be working
* might be working for real
* works and implemented basic example
* dont forget to close prompt
* fix descending and add more tests
* test fixes
* fix test
* more logging
* Fix some more tests
* Fix logging messing up tests
* fix: lint
* fix: multi select stuffs
2021-01-11 13:29:37 -05:00
MenBrial
3e884e863a
fix: bug scroller.create ( #366 )
...
Corrects error creation
2020-12-26 18:51:08 +01:00
TJ DeVries
049602a2c5
ci: more tests ( #359 )
...
* more tests
* lint
2020-12-23 13:31:05 -05:00
TJ DeVries
2aa8bcb878
feat: Add better highlighting and new CI abilities ( #355 )
...
* Revert "Revert "fix: Better highlights (#344 )" (#350 )"
This reverts commit 7950fc8ba0 .
* better highlights take 2
* fixup
* install fd find for sameness
* add some debug output
* more deterministic
* better ci
2020-12-21 16:03:48 -05:00
Simon Hauser
2488e31df8
Feat: displayer hl_chars and TelescopeResults hlgroups ( #349 )
2020-12-19 21:13:05 +01:00
Senghan Bright
7950fc8ba0
Revert "fix: Better highlights ( #344 )" ( #350 )
...
This reverts commit eca83f214a .
2020-12-18 23:44:58 +01:00
TJ DeVries
eca83f214a
fix: Better highlights ( #344 )
...
* scratch: easy reproduce for buffers
* fix: Many highlight fixes
2020-12-18 23:42:51 +01:00
Simon Hauser
f078d149a1
Update autocmd, highlights and help_tags previewers ( #332 )
...
Also make vim buffer line configurable
2020-12-17 15:58:38 +01:00
Simon Hauser
6e6fbbc49e
Fix: scroller for descending ( #327 )
2020-12-11 16:48:14 +01:00
TJ DeVries
f3609abd7f
refactor: Move scroller into own testable module
2020-12-10 23:31:28 -05:00
Simon Hauser
141dc6d55e
ci: Add luacheck ci job ( #317 )
...
* Add luacheck ci job
* Fix most of the linting issues
* fixup: lint
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2020-12-09 15:46:41 -05:00
Simon Hauser
486ab56776
Feat: Displayer now supports highlights for separator and elements ( #304 )
...
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,
}
```
2020-12-03 08:41:10 +01:00
Simon Hauser
eaa7011f84
feat: Add tags ( #219 )
2020-11-16 15:17:13 -05:00
Senghan Bright
051aefdb8c
feat: v1 options menu ( #133 )
...
Still has a bunch of improvements that can be done, but wanted to merge in some of the related changes.
* options parser
* wip: vimoptions finder
* feat: pre-populate ex-command line with `:set foo=`
* use options current value when populating command line
* fix: use result.raw_value to store original option value
* .
* options: Continue work on option finder
* [WIP]: Tue 27 Oct 2020 10:34:09 PM EDT
* [WIP]: Mon 02 Nov 2020 08:20:13 PM EST
* [WIP]: Mon 02 Nov 2020 09:04:23 PM EST
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2020-11-02 21:05:10 -05:00
TJ DeVries
a3afb35614
feat: Added some docs & validation
2020-10-27 23:33:49 -04:00
TJ DeVries
59497d6640
feat: Do a bit better sorting for command history
...
To be honest, I'm not 100% sure this is fantastic, but it's definitely a
step in the right direction for command history.
Closes : #150
2020-10-08 22:31:44 -04:00
Dave Lage
27baff48d5
Revert "fix picking height as width ( #157 )" ( #158 )
...
This reverts commit c6716a5f6a .
2020-10-08 17:59:46 -04:00
Alvaro Muñoz
c6716a5f6a
fix picking height as width ( #157 )
2020-10-08 17:45:11 -04:00
TJ DeVries
9d894f8229
fix: Respect cmdheight and laststatus
2020-10-08 12:53:42 -04:00
TJ DeVries
8736ea5f6a
feat: ALPHA Add layout_defaults and layout_config options
2020-10-08 12:15:29 -04:00
TJ DeVries
2f03dbf265
fix: Remove useless prompt_title
2020-10-08 10:40:22 -04:00
Dave Lage
b4a6355f50
fix: Use width not results_width ( #144 )
2020-10-04 19:27:15 -04:00
rockerBOO
1821eb11f1
fix: Results height configurable. Properly collapse on border = false
2020-10-04 16:19:56 -04:00
rockerBOO
acd79d3d4c
fix: Tighten up prompt on dropdown theme
2020-09-23 00:13:07 -04:00
rockerBOO
e4f1a748aa
fix: Fixing positioning of dropdown
2020-09-18 02:10:03 -04:00
rockerBOO
8cc6e67851
fix: Resolve many display issues with the dropdown theme
2020-09-17 21:42:50 -04:00
Dave Lage
15d3cac7b1
feat: Themes ( #79 )
...
Big shoutout to @rockerBOO for the idea and basically all the impl!
* feat: Add dropdown layout strategy
* Adding more docs. Working better with options
* Refactor borders
* Fix for spaces
* Add preview to layout. Add Themes.
* feat: themes
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2020-09-15 14:54:29 -04:00
TJ DeVries
0ab858d9fe
feat: (wip) current_buffer strategy
2020-09-15 13:10:34 -04:00
TJ DeVries
f449c0499c
feat: Better border configuration.
...
Started adding `resolve` which will allow you to do some really nice
stuff easily with options to get the window options from a variety of
inputs.
You can see how we do it in pickers.lua for borders & borderchars
currently.
2020-09-12 14:56:58 -04:00
TJ DeVries
a9404201a9
scratch: add thoughts
2020-09-11 14:39:56 -04:00
TJ DeVries
382c491380
feat: Add some more layout options
2020-09-11 00:14:40 -04:00
TJ DeVries
fe387d10db
feat: add top down prompt position
2020-09-11 00:14:40 -04:00
TJ DeVries
a6e8b63709
feat: add flex
2020-09-09 00:18:54 -04:00
TJ DeVries
c98c4917be
feat: no longer need to set minheight in window_options
2020-09-07 10:54:36 -04:00
TJ DeVries
11a3c70609
Begin work on larger global config, to tailor defaults
2020-09-07 00:20:08 -04:00
TJ DeVries
14310ee6b1
fix: Don't push past midnight. You'll make clason's stuff break :/
2020-09-04 09:49:10 -04:00
TJ DeVries
996f69465e
feat: vertical layouts. see 'layout_strategy'
2020-09-04 00:36:28 -04:00