Skip to content

Latest commit

 

History

History
538 lines (439 loc) · 63 KB

CHANGELOG.md

File metadata and controls

538 lines (439 loc) · 63 KB

0.7.5 (2024-12-10)

Features

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

Bug Fixes

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

0.7.4 (2024-12-09)

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)

0.7.3 (2024-12-03)

Bug Fixes

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

0.7.2 (2024-12-03)

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)

0.7.1 (2024-12-02)

Bug Fixes

0.7.0 (2024-12-02)

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)

0.6.2 (2024-11-26)

Features

  • add cancel command for use with auto_insert (c58b3a8), closes #215
  • remove rust from blocked auto brackets filetypes (8500a62), closes #359

Bug Fixes

  • mark all config properties as optional (e328bde), closes #370
  • path source not handling hidden files correctly (22c5c0d), closes #369
  • use offset encoding of first client (0a2abab), closes #380

0.6.1 (2024-11-24)

Features

0.6.0 (2024-11-24)

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)

0.5.1 (2024-11-03)

BREAKING CHANGES

  • set max_width to 80 for documentation

Features

  • 'enter' keymap (4ec5cea)
  • add label details to all draw functions (f9c58ab), closes #97
  • add winblend option for windows (#237) (ca94ee0)
  • align completion window (#235) (0c13fbd), closes #221
  • allow merging of keymap preset with custom keymap (#233) (6b46164)
  • better extraction of detail from doc (b0815e4)
  • only offset window when using preset draw (75cadbc)
  • rework window positioning (a67adaf), closes #45 #194
  • set max_width to 80 for documentation (dc1de2b)
  • TailwindCSS highlight support (#143) (b2bbef5)

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

0.5.0 (2024-10-30)

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

BREAKING CHANGES

  • rework keymap config

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)
  • rework keymap config (3fd92f0)
  • 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)

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)

0.4.1 (2024-10-24)

Bug Fixes

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

0.4.0 (2024-10-24)

Important

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

BREAKING CHANGES

  • rework sources config structure and available options
  • rework sources system and configuration

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
  • rework sources config structure and available options (e3a811b), closes #144
  • rework sources system and configuration (7fea65c), closes #144
  • 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)

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

0.3.1 (2024-10-14)

Bug Fixes

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

0.3.0 (2024-10-14)

BREAKING CHANGES

  • implement auto-insert option (#65)
  • autocompletion window components alignment (#51)
  • disable auto_show documentation by default, use to toggle

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)
  • disable auto_show documentation by default, use to toggle (84361bd)
  • 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)
  • implement auto-insert option (#65) (1df7d33)
  • make fuzzy secondary min_score more lenient (b330b61)
  • stylize markdown in documentation window (05229dd)
  • use faster shallow_copy for context (98575f0)

Bug Fixes

  • accept replacing first char in line (655d2ee), closes #38
  • add union to utils (88f71b1)
  • autocomplete positioning on first char in line (7afb06c)
  • autocompletion window components alignment (#51) (a4f5f8e)
  • 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

0.2.1 (2024-10-08)

Features

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)

0.2.0 (2024-10-07)

Features

  • blink cmp specific winhighlights and highlights (a034865)
  • check for brackets in front of item (2c6ee0d)
  • custom drawing support (3e55028)
  • customizable undo point (876707f)
  • introduce customizable winhighlight for autocomplete and documentation windows (1a9cb7a)
  • support keyword_length on sources (77080a5)

Bug Fixes

  • autocomplete window placement (4e9d7ca)
  • frecency access scoring (e736972)
  • misc (5f4db7a)
  • path completions (6a5cf05)
  • respect min/max width for autocomplete window rendering (0843884)
  • signature trigger config (cf9e4aa)
  • signature window showing up after context deleted (857b336)
  • window placement with border (d6a81d3)

0.1.0 (2024-10-05)

Features

  • .local/state db location and misc (bf76a01)
  • accept and auto brackets config (fd32689)
  • add back to repo (24422f2)
  • add documentation keymaps (e248579)
  • auto brackets support (7203d51)
  • basic snippet expansion and text edit support (451dd9e)
  • better documentation window positioning (a7ee523)
  • complete rework (1efdc8a)
  • consolidate context table (ad9ba28)
  • drop performance logging (2974bc0)
  • dynamic cmp and doc window width (6b78c89)
  • enable path source by default (e7362c0)
  • hack around LSPs returning filtered items (b58a382)
  • handle no items in source provider (82106a4)
  • immediate fuzzy on keystroke (1d3d54f)
  • implement snippets without deps (37dbee4)
  • init flake (87e0416)
  • initial (1b28288)
  • initial configuration support (b101fc1)
  • keymaps in config (d6bad7b)
  • lock position to context start (6ee55d4)
  • maintain window on immediate new context while deleting (4d1b785)
  • min score on fuzzy results, avoid trimming valid items (14a014d)
  • misc (e8372ab)
  • multi-repo setup based on mini.nvim (15e808b)
  • nerd font variant and misc cleanup (6571c96)
  • nvim cmp as default highlight (b93a5e3)
  • pre-built binary download support, misc refactors (b1004ab)
  • put context via wrapper (f5d4dae)
  • reenable auto_show for documentation (f1f7de4)
  • rework path source (5787816)
  • rework sources again (7568de9)
  • rework sources system (3ee91b5)
  • show on insert on trigger character (a9ff243)
  • signature help and misc (fbfdf29)
  • smarter caching, misc fixes (3f1c8bd)
  • smarter fuzzy, drop logging (6b09eaa)
  • sort _ items last (210f21f)
  • source should_show, windowing config/fixes, misc (3d1c168)
  • update flake to reflect merge with mono-repo (aa80347)
  • use naersk to simplify build, remove unused inputs (5579688)
  • use remote fzrs for build (04d5647)
  • WIP sources rework (ad347a1)

Bug Fixes

  • a lot (8a599ba)
  • accept auto brackets (3927e23)
  • add version to pkg (8983597)
  • avoid immediately showing on context change (632e6ac)
  • avoid setting filetype for preview for now (32ef1b9)
  • buffer response context (4650a35)
  • cancel signature help request on hide (b1fdee5)
  • documentation delays (01d5fd0)
  • keymap and simplify (0924c8a)
  • keymaps (863bad7)
  • lazy.nvim loading (9115fc2)
  • maintain autocomplete pos when scrolling/resizing (a720117)
  • plugin paths (ae4aeae)
  • proximity and frecency bonus (7bb4000)
  • reference correct signature window (30855cd)
  • remove debug prints (013dc02)
  • remove references to removed inputs (d69b4d1)
  • set pname instead of name (addf204)
  • snippets items (d8a593d)
  • sources trigger character blocklist (69d3854)
  • trigger, docs, so much stuff (fae11d1)
  • update package build dir to cmp/fuzzy (13203e3)