Skip to content

Releases: Saghen/blink.cmp

v0.8.2

23 Dec 22:38
v0.8.2
5f44268
Compare
Choose a tag to compare

Highlights

Features

  • improve auto_show flexibility (#697) (a937edd)
  • improve error messages for pre built binaries (c36b60c)
  • sort cmdline completions case insensitive (b68e924), closes #715
  • support dynamic selection mode (c1017f0)

Bug Fixes

  • add git to nix build dependencies and shell (ed1d4f5)
  • add java to blocked filetypes for semantic token auto_brackets (#729) (140ed36)
  • add missing git.lua for downloader (f7bef25)
  • auto_show function logic (#707) (4ef6d1e), closes #697
  • check version sha of locally built, better detection (3ffd31d), closes #68
  • doc scrollbar render (#724) (8f71ccb)
  • inherit package.cpath in worker thread (#726) (b6c7762), closes #725
  • notifications: add title to notifications (#722) (f93af0f)
  • prebuilt binary error message always firing (cab0e8e)

New Contributors

Full Changelog: v0.8.1...v0.8.2

v0.8.1

21 Dec 22:04
v0.8.1
a9a0f96
Compare
Choose a tag to compare

Documentation can now be found at https://cmp.saghen.dev

Features

  • path: sort directories first, then by name lowercase (400de65)

Bug Fixes

  • checkhealth after checksum changes (d8ffbe9), closes #669
  • duplicate cursor moved event firing (e360828)
  • get global mapping for fallback in cmdline mode (92da013), closes #674
  • internal types for config not using strict config (bdece4e)
  • path: no items when file fails stat (4218120), closes #688
  • type signature for enabled indicating ctx could be passed (3cb7208), closes #695
  • use context.get_line() when getting preview undo text edit (0f92fb8), closes #702
  • wrong key upstreamed by cmdline_events (4757317), closes #700

Full Changelog: v0.8.0...v0.8.1

v0.8.0

20 Dec 16:33
v0.8.0
ca05bb3
Compare
Choose a tag to compare

Important

sources.completion.enabled_providers has been moved to sources.default

Highlights

  • Cmdline completions! (#323)
  • Sorting now respects LSP hints more directly and doesn't sort alphabetically or by kind by default
  • Sources v2 (#465), adds support for async sources, timeouts, smarter fallbacks, adding sources at runtime and more!

Features

  • extra_curl_args option for prebuilt binaries download (4c2e9e7), closes #481
  • add [ to show_on_x_blocked_trigger_characters (#632) (046a2af)
  • add { to show_on_x_blocked_trigger_characters (712bd30), closes #597
  • add global transform_items and min_keyword_length (e07cb27), closes #502 #504
  • allow providers customize documentation rendering (#650) (bc94c75)
  • cmdline completions (#323) (414d615)
  • cmdline: allow configuring separate cmdline preset (#532) (13b3e57)
  • config: add partial types for each config option (#549) (c3bba64), closes #427
  • config: allow plugins to disable blink for some buffers (#556) (c8e86a3)
  • demote snippets from LSP explicitly (b7c84ac)
  • disable keymaps when no cmdline sources are defined (88ec601)
  • enable auto-brackets by default (4d099ee)
  • enable treesiter highlight in menu per source (#526) (f99b03c), closes #438
  • ensure nvim 0.10+ on startup (30a4a52)
  • expose cmp.is_visible() api (2c826d9), closes #535
  • filter out LSP text items by default (814392a)
  • honor extended luasnip filetypes and cache each (#625) (c3ef922)
  • ignore when source defining trigger character returns no items (684950d), closes #597
  • include ghost text in is_visible (1006662)
  • increase max length of buffer entry to 512 characters (4ab0860), closes #478
  • merge resolved item with item (7a83acf), closes #553
  • reset whole luasnip cache on snippets added (bff6c0f)
  • resolve help tags ourselves in cmdline (02051bf), closes #631
  • rework cmdline source (8f718cc)
  • rework download logic with checksums (#629) (53d22cb)
  • set cursor position for additional text edits (f0ab5e5), closes #223
  • set path to fallback to buffer by default (c9594d5)
  • sort on score and sort_text only by default, disable frecency and proximity on no keyword (76230d5), closes #570
  • sources v2 (#465) (533608f), closes #386 #219 #328 #331 #312 #454 #444 #372 #475
  • support callback on cmp.accept() (be3e9cf)
  • support configuring prefetch_on_insert, disable by default (9d4286f)
  • trigger: prefetch on InsertEnter (#507) (7e98665)
  • use block icon for tailwind items (#544) (1502c75)
  • use number[] for ui_cmdline_pos (80a5198)
  • validate config doesn't have erroneous fields (834163e), closes #501
  • window: add filetype configuration (#499) (eb6213b)

Bug Fixes

Read more

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