Skip to content

Releases: Saghen/blink.cmp

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

v0.5.1

03 Nov 00:03
v0.5.1
75cadbc
Compare
Choose a tag to compare

Bug Fixes

  • add "enter" keymap to types (3ca68ef)
  • allow to be lazy loaded on InsertEnter (#243) (9d50661)
  • alpine linux detection (a078c87)
  • check LSP methods before requesting (193423c), closes #220
  • documentation width (9bdd828)
  • documentation: better docs (#234) (a253b35)
  • enable show_in_snippet by default (76d11a6)
  • ensure treesitter does not run on windows (2ac2f43), closes #193
  • lazily call fuzzy access (aeb6195)
  • make all of source provider config optional (055b943)
  • only check enabled fallback sources (#232) (ecb3520)
  • window direction and autocomplete closing on position update (4b3fd8f), closes #240

Features

New Contributors

v0.5.0

30 Oct 16:59
v0.5.0
9170264
Compare
Choose a tag to compare

Important

The keymap configuration has been reworked, please see the README for the new schema

You may now use nvim-cmp sources within blink.cmp using @stefanboca's compatibility layer: https://github.com/Saghen/blink.compat

Bug Fixes

  • add back cursor move after accept, but use current line (ceeeb53)
  • always return item in resolve (6f0fc86), closes #211
  • documentation auto show no longer working (#202) (6290abd)
  • dont move cursor after accepting (cab91c5)
  • fallback show_documentation when window open (bc311b7)
  • handle failed lsp resolve request gracefully (4c40bf2)
  • ignore nil item for resolve prefetching (b7d1233), closes #209
  • invalid insertTextMode capabilities (4de7b7e)
  • prevent treesitter from running on windows (9b9be31)
  • schedule non-expr fallback keymaps (#196) (1a55fd1)
  • sending erroneous fields to LSP on resolve (e82c1b7)
  • set default keymap to use accept (7d265b4)
  • snippet reload function (407f2d5)
  • snippet resolve (5d9fa1c)

Features

  • enabled function for sources (c104663), closes #208
  • accept error handling, expose autocomplete.select (9cd1236)
  • cache resolve tasks (83a8303)
  • glibc 2.17 and musl prebuilt binaries (c593835), closes #160
  • ignore _*.lua files (f6eccaf)
  • lsp capabilities (e0e08cb)
  • output preview with ghost text, including for snippets (#186) (6d25187)
  • perf: call score_offset func once per source (bd90e00)
  • prefetch resolve on select (52ec2c9)
  • resolve item before accept (3927128)
  • show completion window after accept if on trigger character (28e0b5a), closes #198
  • support disabling accept on trigger character, block parenthesis (125d4f1), closes #212
  • switch default keymap to select_and_accept (f0f2672)
  • use treesitter for signature help hl (0271d79)

Full Changelog: v0.4.1...v0.5.0

v0.4.1

24 Oct 21:47
v0.4.1
70438ac
Compare
Choose a tag to compare

Bug Fixes

  • check semantic token type (0b493ff)
  • exclude prefix including one char (70438ac)

Full Changelog: v0.4.0...v0.4.1

v0.4.0

24 Oct 20:14
v0.4.0
9846c2d
Compare
Choose a tag to compare

Important

The sources configuration has been reworked, please see the README for the new schema

Bug Fixes

  • add back undo text edit for accept (f62046a)
  • add missing select_and_accept keymap to config (d2140dc)
  • always hide window on accept (7f5a3d9)
  • auto insert breaking on single line text edit (78ac56e), closes #169
  • check if item contains brackets before defering to semantic token (e5f543d)
  • config: set correct type def for blink.cmp.WindowBorderChar (516190b)
  • don't show completions when trigger context is nil (5b39d83)
  • drop prints (89259f9), closes #179
  • drop prints (67fa41f)
  • frizbee not matching on capital letters (722b41b), closes #162 #173
  • fuzzy get query returning extra characters (b2380a0), closes #170 #172 #176
  • fuzzy panic on too many items (1e6dcbf)
  • handle treesitter get_parser failure (fe68c28), closes #171
  • item defaults not being applied (42f8efb), closes #158
  • missing access function (d11f271)
  • only show autocomplete window on select if auto_show is disabled (fa64556)
  • re-enable memory check for now (6b24f48)
  • remove debug prints (9846c2d)
  • select always triggering when auto_show enabled (db635f2)
  • select_and_accept not working with auto_insert (65eb336), closes #118
  • signature window no longer overlaps cursor (#149) (7d6b50b)
  • single char non-matching keyword (3cb084c), closes #141
  • skip treesitter hl on nil lang (cb9397c)
  • temporary workaround for insertReplaceEdit (c218faf), closes #178
  • typo in signature.win (#125) (69ad25f)
  • use treesitter.language.get_lang when choosing parser (213fd94), closes #133
  • window positioning with folds (819b978), closes #95

Features

  • add extra space to ... on normal nerd font (9b9647b)
  • add nix build-plugin command, update devShell to not require (32069be)
  • auto_show on autocomplete window (#98) (82e03b1)
  • config: add ignored filetypes option (#108) (b56a2b1)
  • custom documentation highlighting (90d6394), closes #113
  • default to not showing in snippet (49b033a), closes #131
  • expose reload function for sources (ff1f5fa), closes #28
  • expose typo resistance, update frizbee (63b7b22)
  • fuzzy: lazy get lua properties (5cc63f0)
  • ignore empty fallback_for table (9c9e0cc), closes #122
  • ignore some characters at prefix of keyword (569156f), closes #135
  • mark buffer completion items as plain text (0f5f484), closes #148
  • more robust preview for auto_insert mode (6e15864), closes #117
  • notify user on json parsing error for snippets (c5146a5), closes #132
  • place cursor at first tab stop on snippet preview (d3e8701)
  • re-enable typo resistance by default (b35a559)
  • reduce build-plugin command to minimal dependencies, add command to docs (cfaf9fc)
  • remove snippet deduplication (e296d8f), closes #146
  • select_and_accept keymap (6394508), closes #118
  • support detail only in doc window (#147) (57abdb8)
  • support LSP item defaults (ffc4282)
  • support LSPs with only full semantic tokens and cleanup (0626cb5)
  • support using suffix for fuzzy matching (815f4df), closes #88
  • switch to mlua (#105) (873680d)
  • use textEditText as fallback for textEdit (abcb2a0)
  • windows: add support for individual border character highlights (#175) (3c1a502)

New Contributors

Full Changelog: https://g...

Read more

v0.3.1

14 Oct 16:53
v0.3.1
Compare
Choose a tag to compare

Bug Fixes

  • ci: use correct file ext for windows (af68874)

Full Changelog: v0.3.0...v0.3.1

v0.3.0

14 Oct 03:07
v0.3.0
5e999f8
Compare
Choose a tag to compare

Bug Fixes

  • accept replacing first char in line (655d2ee), closes #38
  • add union to utils (88f71b1)
  • autocomplete positioning on first char in line (7afb06c)
  • binary symlink in flake only working on Linux (#93) (fc5feb8)
  • check if LSP supports resolve provider (957a57a), closes #48
  • close completion if the accepted item matches the current word (2f1b85b), closes #41
  • close completion window on ctrl+c in insert mode (#63) (e695c79)
  • config: make blink lua config fields optional (#18) (9c73b0d)
  • context not clearing on trigger character, path regexes (15cb871), closes #16
  • correctly handle non-blink keymaps with string rhs (#78) (1ad59aa)
  • disable blink.cmp remaps when telescope prompt is open (#104) (7f2f74f), closes #102
  • documentation manual trigger not updating on scroll (cd15078)
  • documentation of snippet cannot be shown when description is list (#92) (f99bf6b)
  • don't initialize first_fill with 1 (#87) (526f786)
  • double send on append on trigger character (ebbce90), closes #25
  • enable kind auto brackets for TS/JS (808f628)
  • expand vars in snippets for insertText (ce337cb), closes #27
  • ffi: handle cargo library naming conventions for windows binaries (#74) (e9493c6)
  • guess text edit once and for all (fc348da)
  • handle empty table in additionalTextEdits (#99) (65e9605)
  • handle newlines in autocomplete suggestions (#110) (c39227a)
  • passthrough bind on show/hide when shown/hidden (a5145ae), closes #49
  • re-enable preselect by default (64673ea)
  • replace keycodes on callback alternate mappings (df5c0de), closes #47
  • respect autocomplete min_width (#86) (c15aefe)
  • signature window failing when trigger context empty (6a21d7c)
  • snippet keymaps not applying in insert (a89ae20), closes #70
  • snippet source markdown generation (a6cf72a)
  • snippets source expanding vars (5ffd608)
  • strip blink fields from lsp items for resolve (ab99b02)
  • union_keys not using pairs (8c2cb2e)
  • update ffi.lua (27903be)
  • use correct prev/next keymap (#53) (f456c2a), closes /github.com/Saghen/blink.cmp/pull/23#issuecomment-2399876619
  • use empty separator for joining snippet description (28f3a31)
  • use internal CompletionItemKind table (4daf96d), closes #17

Features

  • add back min_width to autocomplete (9a008c9)
  • add basic event trigger API (#31) (127f518)
  • add detail to documentation window (#33) (588e4d4)
  • add health.lua and basic healthchecks (#101) (a12617d)
  • add minimal render style (#85) (b4bbad1)
  • added a preselect option to the cmp menu (#24) (1749e32)
  • apply keymap on InsertEnter (340370d), closes #37
  • ci: support windows pre-built binaries (#100) (b378d50)
  • don't search forward when guessing text edit (a7e1acc), closes #58
  • drop source groups in favor of fallback_for (#83) (1f0c0f3)
  • expose source provider config to sources (deba523)
  • ignore repeated call at cursor position in trigger (4883420)
  • make fuzzy secondary min_score more lenient (b330b61)
  • stylize markdown in documentation window (05229dd)
  • use faster shallow_copy for context (98575f0)

New Contributors

Read more

v0.2.1

08 Oct 18:49
v0.2.1
506ea74
Compare
Choose a tag to compare

Bug Fixes

  • autocomplete window positioning with borders (ba62bda), closes #29
  • check server capabilities (#5) (8d2615d)
  • keymaps not replacing keycodes (5dd7d66)
  • keymaps replacing buffer local bindings (506ea74), closes #39
  • use buffer-local keymaps (ecb3510), closes #20
  • use correct prev/next keymap for k and j (#23) (43e7532)

Features

New Contributors

Full Changelog: v0.2.0...v0.2.1