github Saghen/blink.cmp v1.7.0

12 hours ago

Highlights

  • Configurable delay before showing completion menu (completion.menu.auto_show_delay_ms)
  • Added :BlinkCmp build command for building fuzzy matching library from source, primarily for vim.pack users building from soruce
  • Dropped LMDB in favor of pure Rust implementation for frecency DB, resolving neovim crashing on accepting completions
    • Moved from ~/.local/share/nvim/blink/cmp/fuzzy.db to ~/.local/state/nvim/blink/cmp/frecency.dat
  • Added support for vsnip via snippets.preset = 'vsnip'
  • Fixed stutter on InsertEnter when using snippets with TM_SELECTED_TEXT (such as with friendly-snippets in latex)
  • Misc cmdline fixes/performance improvements

Features

  • completion.menu.auto_show_delay_ms option (debe907), closes #619
  • scroll_signature_up/down keymap commands (#2057) (b7e2404)
  • add :BlinkCmp build and :BlinkCmp build-log commands (4c6a29e)
  • add show_and_insert_or_accept_single keymap, set as <Tab> in cmdline (#2037) (a93cdb8), closes #2032
  • add snippet_indicator option #2034 (#2038) (5e1c0e8)
  • add snippets.preset = 'vsnip' (#2110) (221c3d8)
  • append-only frecency database, drop LMDB (#2136) (f1c3905)
  • brackets: add css pseudo-class exceptions (#2054) (e3f28f1), closes #2052
  • cmdline: handle ex special characters and filename modifiers (#2074) (f6ca10f), closes #2068
  • fuzzy: make frecency database path configurable (#2061) (b8154b4), closes #2006
  • keymap: add jump_by option to navigate by item property (6a84282), closes #1890
  • keymap: add fallback action to mapping (#2064) (d9fa997), closes #2063
  • luasnip: pass matched part of trigger to luasnip. (#2132) (6bceed7)
  • remove item.documentation.render (aeba0f0)
  • snippets: add option sources.providers.snippets.opts.use_label_description (#2094) (34e4483)

Bug Fixes

  • :BlinkCmp build working directory (5209af5)
  • add svelte to javascript auto-brackets import exception (#2152) (5a4461b), closes #2151
  • cmdline: respect wildignore during command-line completion (dc68824), closes #2083
  • cmdline: support wildcard completion in file (7b0548e), closes #2106
  • cmdline: translate mappings for use with :map (7770a67), closes #2126
  • disable frecency writing when not enabled (fa9e5fa), closes #2031
  • fuzzy: check shared lib existence before skipping download (#2055) (b745bea), closes #2048
  • ghost_text: validate buffer before redraw to prevent errors (#2050) (16b6ba0), closes #1764
  • keymap: accept completion when only one item remains (54cc521)
  • keymap: add fallback action to mapping (c375967)
  • libc detection failing on shorter triples (6d35b78), closes #2040
  • Move runtime inputs to derivation args and add libiconv for macOS compatibility (#1993) (4834ecf)
  • presets: add missing cmdline preset to hide completion on <End> (#2030) (1a5607f)
  • prevent out of bounds scrollbar position (e465c73)
  • use table.concat instead of vim.fn.join for provider list (4e9edba)
  • window: clamp highlights to prevent overflow beyond text bounds (#2049) (d73dfcb)

Performance Improvements

  • cmdline: reduce spurious cursor and char events (#1953) (6323a6d)
  • snippets: cache lazy vars when expanding vars (33f0789), closes #2024
  • snippets: fix previous attempt at caching snippet lazy vars (ce26f9f), closes #2024

Reverts

  • Move runtime inputs to derivation args and add libiconv for macOS compatibility (#1993) (a0bcede), closes #2044

New Contributors

Full Changelog: v1.6.0...v1.7.0

Don't miss a new blink.cmp release

NewReleases is sending notifications on new releases.