v0.6.0
版本发布时间: 2024-11-25 02:42:47
Saghen/blink.cmp最新发布版本:v0.7.6(2024-12-11 09:02:10)
[!IMPORTANT] The
windows.autocomplete.draw
code has been reworked. Check this section of the README for a configuration similar to'reversed'/nvim-cmp
from before this change.
BREAKING CHANGES
- matched character highlighting, draw rework (#245)
- set default nerd_font_variant to mono
Features
- add
execute
function for sources (653b262) - add get_filetype option for snippet source (#352) (7c3ad2b), closes #292
- add scrollbar to autocomplete menu (#259) (4c2a36c)
- add snippet indicator back to label on render (6f5ae79)
- allow disabling keymap by passing an empty table (e384594)
- avoid taking up space when scrollbar is hidden (77f037c)
- extract word from completion item for auto-insert preview (#341) (285f6f4)
- matched character highlighting, draw rework (#245) (683c47a)
- option to disable treesitter highlighting (1c14f8e)
- position documentation based on desired size, not max size (973f06a)
- set default nerd_font_variant to mono (d3e1c92)
- support editRange, use textEditText when editRange is defined (db3d1ad), closes #310
- temporarily disable markdown combining (24b4d35)
- use filter_text when available (12b4f11)
- validate provider names in enabled_providers (e9c9b41)
Bug Fixes
- add ctx.icon_gap in kind_icon component (ccf02f5)
- applying preview text_edit (#296) (8372a6b)
- check if source is in
enabled_providers
before calling source:enabled (#266) (338d2a6) - clear last_char on trigger hide (1ce30c9), closes #228
- completion label details containing newline characters (#265) (1628800)
- consider the border when calculating the position of the autocom… (#325) (41178d3)
- consider the border when calculating the width of the documentat… (#326) (130eb51)
- convert to utf-8 encoding on text edits (2e37993), closes #188 #200
- default highlight groups (#317) (69a987b)
- default to item when assigning defaults, only use known defaults (fb9f374), closes #151
- documentation misplacement due to screenpos returning 0,0 (cb0baa4)
- download mechanism works with GIT_DIR and GIT_WORK_TREE set (#275) (8c9930c)
- drop unnecessary filetype configuration (bec27d9), closes #295
- drop vim print (c3447cc)
- get the cursor position relative to the window instead of the sc… (#327) (5479abf)
- ghost-text: flickering using autocmds (#255) (a94bbaf)
- handle gap for empty text (#301) (371ad28)
- handle not being in a git repository, fix error on flakes (#281) (d2a216d)
- ignore empty doc lines and detail lines (aeaa2e7), closes #247
- join newlines in
label_description
(#333) (8ba2069) - make ghost-text extmark with pcall (#287) (a2f6cfb)
- offset encoding conversion on nvim 0.11.0 (#308) (9822c6b), closes #307
- offset encoding for text edits (c2a56e4)
- only undo if not snippet (f4dcebf), closes #244
- override typing and module (f1647f7)
- padded window (#315) (7a37c64)
- prevent index out of bounds in get_code_block_range (#271) (e6c735b)
- remove offset from label detail highlight (5262586)
- reset documentation scroll on new item (cd3aa32), closes #239
- scrollbar gutter not updating on window resize (c8cf209)
- scrollbar: use cursorline to determine thumb position (#267) (28fcf95)
- signature help now highlights the right parameter (#297) (3fe4c75)
- snippets: fix nullpointer exception (#355) (3ac471b)
- tailwind colors (#306) (8e3af0e)
- types: allow resolving empty response from blink.cmd.Source (#254) (46a5f0b)
- use pmenu scrollbar highlights (5632376)
New Contributors
- @mikavilpas made their first contribution in https://github.com/Saghen/blink.cmp/pull/254
- @killitar made their first contribution in https://github.com/Saghen/blink.cmp/pull/248
- @willothy made their first contribution in https://github.com/Saghen/blink.cmp/pull/259
- @unknown made their first contribution in https://github.com/Saghen/blink.cmp/pull/265
- @Bahex made their first contribution in https://github.com/Saghen/blink.cmp/pull/275
- @zvrkSam made their first contribution in https://github.com/Saghen/blink.cmp/pull/271
- @stefanboca made their first contribution in https://github.com/Saghen/blink.cmp/pull/266
- @grecodavide made their first contribution in https://github.com/Saghen/blink.cmp/pull/296
- @leiserfg made their first contribution in https://github.com/Saghen/blink.cmp/pull/286
- @vinnymeller made their first contribution in https://github.com/Saghen/blink.cmp/pull/299
- @joncrangle made their first contribution in https://github.com/Saghen/blink.cmp/pull/298
- @Euro20179 made their first contribution in https://github.com/Saghen/blink.cmp/pull/308
- @ofseed made their first contribution in https://github.com/Saghen/blink.cmp/pull/324
- @maxcountryman made their first contribution in https://github.com/Saghen/blink.cmp/pull/349
- @jdrouhard made their first contribution in https://github.com/Saghen/blink.cmp/pull/341
- @aniaan made their first contribution in https://github.com/Saghen/blink.cmp/pull/355
Full Changelog: https://github.com/Saghen/blink.cmp/compare/v0.5.1...v0.6.0
1、 aarch64-apple-darwin.dylib 2.08MB
2、 aarch64-unknown-linux-gnu.so 3.16MB
3、 aarch64-unknown-linux-musl.so 3.15MB
4、 x86_64-apple-darwin.dylib 2.19MB
5、 x86_64-pc-windows-msvc.dll 2.4MB
6、 x86_64-unknown-linux-gnu.so 3.33MB
7、 x86_64-unknown-linux-musl.so 3.23MB