Skip to content

Releases: Saghen/blink.cmp

v0.7.6

11 Dec 01:02
v0.7.6
ae5a4ce
Compare
Choose a tag to compare

Bug Fixes

  • fallback not working for built-in mappings (ae5a4ce), closes #489

Full Changelog: v0.7.5...v0.7.6

v0.7.5

10 Dec 19:40
v0.7.5
68ba8ae
Compare
Choose a tag to compare

Note

blocked_filetypes has been replaced with a more generic enabled function. Check the default configuration for how to block filetypes with it

Features

  • use enabled function instead of blocked_filetypes (a6636c1), closes #440

Bug Fixes

  • fallback: make fallback work with buffer-local mappings (#483) (8b553f6)

Full Changelog: v0.7.4...v0.7.5

v0.7.4

09 Dec 16:46
v0.7.4
9fa3fe2
Compare
Choose a tag to compare

Features

  • support non-latin characters for keyword and buffer source (51d5f59), closes #130 #388

Bug Fixes

  • check response.err instead of response.error (#473) (e720477)
  • completion.trigger.show_in_snippet (#452) (a42afb6), closes #443
  • documentation window auto show once and for all (624676e), closes #430
  • fill in cargoHash (aa70277)
  • highlight: fix invalid highlight for doc separator (#449) (283a6af)
  • luasnip resolve documentation (85f318b), closes #437
  • make buffer events options required (d0b0e16)
  • render: not render two separator for doc window (#451) (fc12fa9)
  • revert luasnip source to use current cursor position (5cfff34)

New Contributors

Full Changelog: v0.7.3...v0.7.4

v0.7.3

03 Dec 21:30
v0.7.3
777d6fb
Compare
Choose a tag to compare

Bug Fixes

  • revert to original logic for updating menu position (99129b6), closes #436

Full Changelog: v0.7.2...v0.7.3

v0.7.2

03 Dec 18:05
v0.7.2
af7c5d9
Compare
Choose a tag to compare

Important

A native luasnip source has been added, please see the README for the configuration

Features

Bug Fixes

  • avoid removing words for current line on out of focus buffers (2cbb02d), closes #433
  • documentation not updating after manually opened (8c1fdc9), closes #430
  • handle nil line (#429) (38b3ad6)

New Contributors

  • @b0o made their first contribution in #429

Full Changelog: v0.7.1...v0.7.2

v0.7.1

02 Dec 19:05
v0.7.1
6e9fb62
Compare
Choose a tag to compare

Small bug fix for v0.7.0 when downloading prebuilt binaries on curl < 8.0

Bug Fixes

Full Changelog: v0.7.0...v0.7.1

v0.7.0

02 Dec 18:07
v0.7.0
58ec494
Compare
Choose a tag to compare

Important

Most of the configuration has been reworked, please see the README for the new schema

  • Includes an enormous refactor in preparation for sources v2, commandline completions, and the v1 release #389
  • Enable experimental Treesitter highlighting on the labels via completion.menu.draw.treesitter = true

BREAKING CHANGES

Features

  • add show_on_keyword and show_on_trigger_character trigger options (69a69dd), closes #402
  • allow completing buffer words with unicode (#392) (e1d3e9d)
  • call execute after accepting, but before applying semantic brackets (073449a)
  • default to empty table for setup (#412) (4559ec5)
  • error on download failure (6054da2)
  • nuke the debt (#389) (1187172), closes #323
  • prebuilt binary retry, disable progress, and docs (bc67391), closes #68
  • render: support source_id and source_name in menu render (#400) (d5f62f9)
  • support accepting and drawing by index (4b1a793), closes #382
  • support get_bufnrs for the buffer source (#411) (4c65dbd)
  • treesitter highlighter (#404) (08a0777)
  • use sort_text over label for sorting (0386120), closes #365

Bug Fixes

  • accept grabbing wrong config (3dcf98d)
  • allow border to be a table (52f6387), closes #398
  • auto_insert scheduling and module reference (1b3cd31)
  • autocmd called in fast event (9428983), closes #396
  • buffer events suppression, auto_insert selection (96ceb56), closes #415
  • convert additional text edits to utf-8 (49981f2), closes #397
  • cycling list skipping one item (07b2ee1)
  • deduplicate mode changes, dont hide on select mode (04ff262), closes #393
  • default snippet active function not returning (59add2d), closes #399
  • don't set window properties when nil (cb815af), closes #407
  • ensure failed curl doesn't update the version (933052b), closes #68
  • ensure menu selection index is within bounds (bb5407d), closes #416
  • filter text always being nil (33f7d8d), closes #365
  • incorrect context start_col 1 char after beginning of line (e88da6a), closes #405
  • invalid configuration and readme after refactor (56f7cb6), closes #394
  • keyword range "full" when covering end of line (160b687), closes #268
  • misc typing issues (b94172c)
  • only affect initial show for show_on_keyword and show_on_trigger_character (ea61b1d), closes #402
  • signature window highlight ns (0b9a128)
  • signature window setup (cab7576)
  • super-tab preset keymap name (f569aeb)
  • user autocmd called in fast event not being wrapped (e9baeea)

Documentation

  • add note about reworked config (180be7b)

New Contributors

Full Changelog: v0.6.2...v0.7.0

v0.6.2

27 Nov 20:17
v0.6.2
12d9ecd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

24 Nov 19:00
v0.6.1
81069e3
Compare
Choose a tag to compare

Features

Full Changelog: v0.6.0...v0.6.1

v0.6.0

24 Nov 18:42
v0.6.0
c083b0e
Compare
Choose a tag to compare

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

Read more