Releases: Saghen/blink.cmp
Releases · Saghen/blink.cmp
v0.8.2
Highlights
- You may now set
completion.list.selection
andcompletion.menu.auto_show
via a function to get different behavior for i.e. cmdline: https://cmp.saghen.dev/recipes.html#change-selection-type-per-mode
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
- @guill made their first contribution in #697
- @polirritmico made their first contribution in #708
- @oysandvik94 made their first contribution in #729
- @marcelarie made their first contribution in #732
- @leath-dub made their first contribution in #726
Full Changelog: v0.8.1...v0.8.2
v0.8.1
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
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
{
toshow_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
- accept: schecule
fuzzy.access
using uv.new_work (#522) (f66f19c) - account for cmdheight in cmdline_position (thanks @lnrds!) (6b67d16), closes #538
- add '=' to cmdline trigger characters (fb03ca7), closes #541
- add back, skip undo point for snippet kinds (1563079)
- add gcc to flake.nix (380bccf), closes #581
- add icon gap on ellipsis, remove references to renderer (793b6ac)
- add mode to context type (f1afb8c)
- allow 'none' preset for keymaps in validation (bf1fd6a)
- always get latest keyword (13853d5), closes #539
- check raw key for space in cmdline_events (7be970e)
- check that scrollbar is not nil (790369b), closes #525
- clear LuaSnip cache on snippet updates (#664) (b1b58e7)
- cmdline event suppression and scrollbar rendering ([e3b3fde](https://github.com/Saghen/bl...
v0.7.6
Bug Fixes
Full Changelog: v0.7.5...v0.7.6
v0.7.5
Note
blocked_filetypes
has been replaced with a more generic enabled
function. Check the default configuration for how to block filetypes with it
Features
Bug Fixes
Full Changelog: v0.7.4...v0.7.5
v0.7.4
Features
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
- @Parsifa1 made their first contribution in #452
- @NStefan002 made their first contribution in #466
- @jarviliam made their first contribution in #473
Full Changelog: v0.7.3...v0.7.4
v0.7.3
Bug Fixes
Full Changelog: v0.7.2...v0.7.3
v0.7.2
Important
A native luasnip
source has been added, please see the README for the configuration
Features
- add
auto_show
property for menu (29fe017), closes #402 - clamp text edit range to bounds (7ceff61), closes #257
- expose reload function (f4e53f2), closes #428
- native luasnip source (08b59ed), closes #378 #401 #432
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
Full Changelog: v0.7.1...v0.7.2
v0.7.1
v0.7.0
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
andsource_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
- @tim3nd made their first contribution in #400
- @max397574 made their first contribution in #412
- @gh-liu made their first contribution in #411
Full Changelog: v0.6.2...v0.7.0