| Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit 8d13f4ca8a449d9bd687234b4cb7c531c50b0fa4.
|
|
* Starting to make some progress on extmarks for prefixes
* Finished up extmarks for multi-icons
* Cleaned up update_prefix calls, added display highlights
* remove highlight_one_row
* Remove TODOs
* stylua fixes
* fixes for luacheck
* Fixed whitespace to appease the stylua gods
* fixed a couple nits from pr
* Got tests passing with new highlighting functionality
* Apply suggestions from code review
Co-authored-by: Fabian David Schmidt <39233597+fdschmidt93@users.noreply.github.com>
Co-authored-by: Fabian David Schmidt <39233597+fdschmidt93@users.noreply.github.com>
|
|
after refactor to some new asynchronous items for finders,
the tests stopped actually doing anything.
now they do things again.
|
|
|
|
|
|
|
|
actions should be concatinable again
|
|
|
|
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
* feat: add `anchor` option to some `layout_strategies`
* tests: improve tests for `resolve_height/width`
|
|
So we can use `vim.json` and `vim.diagnostics`.
If you aren't able to update to 0.6.* yet you should pin the previous commit.
|
|
tables (#1143)" (#1486)
This reverts commit 6daf35c88c07dd4b220468968a742cda04889cd3.
|
|
* fix: action mt so we can again concat actions from two different tables
- without actually changing the public interface
- without having a local table that keeps track of all actions
* this should clear actions now
we never actually called this function which is kinda a problem because
we never cleaned up previous mapping stores.
We can also make a better mappings store which has access to the keys
sequences which would help the showing actions part
* bugfix
* that should now clear everything
only tests left i think
* more tests
* cleanup
* hack: make sure all actions get cleared
|
|
* wip: 2021-07-22 15:00 BST
* wip: `horizontal` refactored
* wip: `center` refactored
* wip: `cursor` and `vertical` refactored
* wip: `current_buffer` refactor
- also changed `layout_config_defaults` as they gave errors when using `current_buffer`
* wip: `bottom_pane` refactor
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: put accidentally remove config option back
* [docgen] Update doc/telescope.txt
skip-checks: true
* wip: standardise `height` calculation for `center` and `bottom_pane`
* wip: improve comments
* [docgen] Update doc/telescope.txt
skip-checks: true
* stylua
- also fix a merge mistake
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: attempt to fix bad merge
* refactor: remove unused entry in `borderchars` table
- also fix some typos
* wip: tweak padding for `bottom_pane`
* wip: add `tabline` checks to `bottom_pane`
- also tweaked position so that `statusline` is not covered when borders are enabled
* stylua
* refactor: factor out size capping function
* [docgen] Update doc/telescope.txt
skip-checks: true
* fix: adjust tests that relied on height being number of results
* fix: forgot variable in calc_size_and_spacing
* fix: maybe this fixes these tests?
* test: try other plenary branch for ci
* test: switch back to main plenary branch for ci
* fix: actually define `max_results` in the test
* fix: final tweaks for edge cases
Co-authored-by: Github Actions <actions@github>
|
|
|
|
@oberblastmeister (#987)
* start: Working w/ async jobs
* short circuit to using bad finder if you pass writer.
|
|
* chore: stylua job and config
* reformat with stylua
|
|
* 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
|
|
* 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>
|
|
Co-authored-by: Volodymyr Kot <vkot@palantir.com>
|
|
* something kind of works already
* yayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayayaya
* use async for everything besides live jobs
* fix: fixup autocmds previewer
* fix: lints for prime
* temp: Add example of how we can think about async sorters
* feat: Allow picker to decide when to cancel
* fix: simplify scoring logic and tests
* fixup: name
* fix: Move back towards more backwards compat methods
* fixup: Remove results from opts
* fixup: remove trailing quote
* fixup: Attempt to clean up some more async items. Next is status
* wip: Add todo for when bfredl implements extmarks over the EOL
* wip
* fixup: got em
* fixup: cleaning
* fixup: docs
|
|
This will not yet work with select actions. More work is needed in that case.
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
* fix: scroll misbehaving + fixed jump to middle
* add test
* fixx
* fix nil
|
|
|
|
Add <count>j and k to normal mode and H and L to jump at top and bottom of displayed results
|
|
* 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>
|
|
This is needed for calling strdisplaywidth() from Lua loop.
See https://github.com/nvim-telescope/telescope.nvim/issues/414
See https://github.com/neovim/neovim/blob/a1ed941a7881122fda2fd48e71e890ed55e4d08e/src/nvim/eval/funcs.c#L9845-L9858
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
|
|
* 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
|
|
* more tests
* lint
|
|
* Revert "Revert "fix: Better highlights (#344)" (#350)"
This reverts commit 7950fc8ba0accfcf6c540c7810feee646281fd8a.
* better highlights take 2
* fixup
* install fd find for sameness
* add some debug output
* more deterministic
* better ci
|
|
|
|
|
|
|
|
* Add luacheck ci job
* Fix most of the linting issues
* fixup: lint
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
* Add a sorter using the fzy algorithm
* Reformat fzy.lua
Also, update author attribution.
* Remove constansts from fzy module
Replace a few of the useful ones with getter functions that make it
clear they're not modifiable.
* Change names of fzy constant getters
* fixup: some small nit picks
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
Instead of storing everything in key / value pair hashes, we store as much as possible in an array and then reference the items in the array using metatables.
This provides us with a much lower memory footprint and just one level of table lookup indirection (so I think the speed will not be noticeably different)
|
|
It is not 100% clear that we've gotten ALL the memory leaks, but it
seems much much much better and doesn't look like it's going to die
immediately or as often anymore :)
|
|
* [WIP]: Mon 28 Sep 2020 01:08:24 PM EDT
* add much much better tracking. so much less hax
* status updates, oneshot job updates, etc.
* remove temp function
* add status function
* asdfasdfasdf
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|