Releases: liuchengxu/vim-clap
Releases · liuchengxu/vim-clap
Release v0.24
[0.24] 2021-03-13
Added
- Add user autocmd
ClapOnInitialize
, can be used to ignore some buffers when opening clap. #653 - Add
g:clap_provider_colors_ignore_default
to ignore the default colors inVIMRUNTIME
. #632 - Support neovim floating_win based action menu. #655
Improved
- Truncate the lines of
grep
provider. #650 - Support unordered substring query. #652
- Add
hi default link ClapIndicator ClapInput
for the default theme.
Fixed
- Cannot open files with pipe in file path. #643
- Fix the grep preview when
g:clap_enable_icon
is enabled andg:clap_provider_grep_enable_icon
is disabled. #648 - Reset the old selections when the input changes. #646
- Make customize the icon easier. #392
Changed
- Remove some colors close the white color in the default value of
g:clap_fuzzy_match_hl_groups
.
Release v0.23
[0.23] 2021-02-16
Added
- Add
g:clap_force_matchfuzzy
to use the builtinmatchfuzzy()
when filtering in sync way. #607 - Add
g:clap_force_python
to always use the Python sync filter as some improvements are only implemented on the Rust side and you need the Python dynamic module to use that. #614 - Support
+name-only
for Lua sync filter. #612 - Add
g:ClapProviderHistoryCustomFilter
for customizing the source ofhistory
provider. #615 - Add a bonus for the match in the filename when the source item is a path, but you can only have this when you are using Python dynamic module or the Rust backend. #614.
- Add a bonus for the files you opened since you enter vim. #622
- Add async preview support for
help_tags
provider, the Rust binary is required. #630 Add(Seeg:clap_always_open_preview
to open the preview always if the provider implson_move_async
g:clap_open_preview
), it's on by the default which changes the behavior before. #625- Add
g:clap_preview_direction
for opening the preview window on the right of the display window, and the default behavior has been changed toLR
if your screen'scolumns
is less than 80. #634 - Add
g:clap_open_preview
to control the opening of preview window, you can set it tonever
to fully disable the preview feature. #636
Fixed
- Add
--color=never
to the default grep option. #609 - Show create new file entry when in empty directory. #624
Internal
- Introduce
MatchText
for passing more match context easier later. #626
Release v0.22
[0.22] 2021-01-01
Added
- Add
g:clap_enable_background_shadow
to render a transparent shadow (neovim-only) #546, #550 - Add
g:clap_popup_move_manager
so that Vim users can override the default mappings easily. #536 - Allow user to always download the prebuilt binary. #531
- Support smartcase fitlering for fzy algo and it's the default behavior. #541 @romgrk
- Add initial support for fzy lua, neovim-nightly or vim compiled with lua is required. #599
- Add the providers defined via global variable into the
providers
provider, which means you can see the global variable type providers when you call:Clap
now. But you have to definedescription
explicitly otherwise they won't be found. #605let g:clap_provider_tasks = { \ 'source': function('TaskListSource'), \ 'sink': function('TaskListSink'), \ 'description': 'List various tasks', \ }
Improved
- Command provider has a better rendering and let's the user add arguments #570
- Fix the sluggish of vim when the preview lines are awfully long. #543
Fixed
- Fix the installer on Windows. #529 @Grueslayer
- Fix the condition of vim8 job exists or not. #566
- Add the missing
ClapOnExit
forg:clap_open_action
operation. #576
Improved
- Keybindings for
filer
:<CR>
now expands directory instead of editing it - Make the grep opts work as normal in the command line. #595
Release v0.21
[0.21] 2020-09-27
Added
- New shortcut for
+no-cache
,:Clap files!
is equivalent to:Clap!! files
and:Clap files +no-cache
. (#509) - Add
g:clap_enable_debug
, useful when you find vim-clap is problematic and want to debug vim-clap.
Improved
- The open action
ctrl-t
,ctrl-v
,ctrl-t
now supports the multiple files. (#496) - Check if the ctags has the JSON output feature. (#491)
Fixed
- Fix
:Clap install-binary
does not work correctly on Windows. (#494) @Bakudankun - Fix #306, note the signature of
bs_action
are different between vim and neovim now. (#503) - Fix filer issue on Windows #370. @Grueslayer
- Handle the maple error in the filer provider, fix #500, #501.
- Fix regression #513
- Fix #515
- Fix #517
- Fix #526
Release v0.20
[0.20] 2020-08-06
Added
- Python dynamic module now can be compiled using stable Rust. (#471)
- Add
windows
preview support. (#473) - Impl
commits
andbcommits
provider. (#477) @ray-x - Add new provider property
on_move_async
. (#481) - Support expanding
%
now, e.g.,:Clap files %:p:h
. - Build static Rust binary for Linux. #469
Fixed
- Fix
history
provideropen_action
support. (#474)
Changed
- Remove
noautocmd
when closing neovim's floating win for clap. #472
Release v0.19
[0.19] 2020-06-28
Added
- Add
clap#run(provider)
which is similar tofzf#run()
. The argumentprovider
is a Dict likeg:clap_provider_foo
with an optional extra field specifying the provider id. It can used for adhoc running, don't use it with asource
that probably has a fair mount of items as it's normally undeveloped in performance. #433 - Impl async preview for
git_files
andhistory
provider.
Improved
- Make the indicator winwidth a bit adpative when using the
relative
layout. - Ensure the sign always visiable when running maple via job.
Fixed
- Fixed the win contexted
execute()
forjumps
andmarks
provider when clap window is not yet visible.
Release v0.18
[0.18] 2020-06-09
Improved
- Try loading the clap theme having a same name with the current colorscheme when
g:clap_theme
does not exist.
Added
- Implement async preview for
blines
,tags
andproj_tags
provider. (#457) - Add icon support for
proj_tags
provider. (#461) - Add
g:clap_preview_size
for configuring the number of preview lines. (#444) - Add
g:clap_provider_buffers_cur_tab_only
. (#439)
Fixed
Release v0.17
[0.17] 2020-05-25
Fixed
- Fix the
sink*
args inselection.vim
, convert the truncated lines to the original full lines.
Release v0.16
[0.16] 2020-05-21
Added
- Async
on_move
impl forfiler
,files
,grep
andgrep2
provider in Rust binary, no delay for the preview function. (#437)
Changed
- Decrease the max number of candidates for running in sync from 100000 to 30000, which means once the total number of candidates is larger than 30000, the async filter will be used, otherwise use the builtin sync one.
filer
uses the daemon job which requires the latest binary. Download the latest binary if you uses the prebuilt binary.
Improved
Release v0.15
[0.15] 2020-05-02
Added
- Support substring matcher for dyn filter, used when the query contains space. (#411)
- Add progress bar support for the download feature of maple. (#419)
- Add instructions for building the Rust binary via Docker in case of some users run into the libssl error when using the prebuilt binary, see more info in INSTALL.md.
Fixed
- Reset handler state. (#418)