| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Also make vim buffer line configurable
|
|
requires newest plenary.nvim version or you will have a bad day
|
|
|
|
When a bat theme contained spaces it would crash the bat previewer as
described in #318.
|
|
|
|
|
|
* Add luacheck ci job
* Fix most of the linting issues
* fixup: lint
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
Enable with:
require('telescope').setup {
defaults = {
file_previewer = previewers.vim_buffer_cat.new,
grep_previewer = previewers.vim_buffer_vimgrep.new,
qflist_previewer = previewers.vim_buffer_qflist.new,
}
}
|
|
* feat: new builtin - Autocommands finder
* fix: remove decorators to avoid confusion.
* make preview split same hl-group as border
* use highlight instead of marker character for preview selection hl
|
|
|
|
|
|
|
|
|
|
- Set env vars for previewer with set_env({ key = value } fix #228)
- Set pager for git previewes (default is GIT_PAGER=less so users can scroll see #253)
- Use less for people who don't have bat but less installed
- Reset less env to only '-RS' because '-X' will break scrolling(fix #253, thanks @eth3lbert)
- Scrolling for buffer previewer(thanks @tami5 for helping)
- Also new function to create buffer previewers (which has scrolling by default). Used for tags and help_tags previewer.
- Add new setting set_env to readme
|
|
|
|
|
|
|
|
Conni2461 is a great coder and contributor :)
|
|
|
|
|
|
|
|
Probably slower, but the builtin `taglist()` only looks at the first
file in 'tags', not ideal for this application. This can probably be
cleaned up a little.
|
|
Still doesn't update for multiple files, but the first file in the
taglist is shown, so that's a start?
|
|
Fixes previews for files beginning with ~/
Previewer will now show directories
Fix if clause with vim.fn.executable
|
|
|
|
Closes: #196
|
|
Adds the `-R` flag to `less` for the other code path as well, which is called for `grep` and `workspace_symbols`.
|
|
|
|
|
|
|
|
* fix: make sure that `$VIMRUNTIME/doc/tags` is in `tags` path
* feat: highlight matched topic in helptags preview
* fixup: Use previewer setup and teardown
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
First edition. Sometimes weird things can happen with the previewer, but I think I got it 99% working.
* feat: Manpages finder (output of apropos)
* fixup: Add previewer and fix comments
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
This gets rid of a slightly annoying difference between files that fit
in the preview pane and ones that don't: hitting the scroll-preview
mappings would complain about a closed stream. Always using the pager
ensures there's always a process at the other end, even if asking it
to scroll doesn't actually do anything.
|
|
* feature: Vim help-tags picker
* fix: filtered results were wrong because of missing `entry.value`
* fix: filtered (Vim only help) items are listed in results as empty
entries.
* fix: avoid search history pollution by replacing / in cmd returned by taglist() with search()
* fix: improve search() formatting
* fix: escape tilde in search() command
* fix: improve help-preview
* fix: improve search()
* fix: search() string fixes.
* fix: use no magic to do magic
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
|
|
preview (#110)
|
|
|
|
|
|
First pass, but seems to work. Fixed a few other related items, so pushing it to master now.
* [WIP]: Wed 16 Sep 2020 05:17:10 PM EDT
* [WIP]: Wed 16 Sep 2020 06:10:33 PM EDT
* [WIP]: Wed 16 Sep 2020 06:19:43 PM EDT
|
|
Co-authored-by: Oleg Matrokhin <o.matrohin@softpro.com>
|
|
* feat: add scrolling in preview window
refactor into two layers
* remove redundant code
* add error message for scroll_fn and send_input
* consider count for preview scrolling
|
|
|
|
|
|
|
|
|
|
TODO: Still need to fix the rest of em. And I see lots of repeated
code... we will need to fix that.
Also adjusted some bat options.
|
|
* add planets viewer builtin
* Remove print statement
* Don't use fzf & echo
* Add all planets as files and refactor accordingly
* Remove planets.lua
* add the moon
* example ofe how to do this without ls everywhere
* fix rebase and update to new style
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
|
|
* added treesitter builtim
* fixed treesitter pr comments
* fix the buffer previewer to keep lnum visable
|