github Saghen/blink.cmp v1.5.0

latest releases: v1.6.0, v1.5.1
one month ago

Highlights

  • ~1.5-3x global speed-up due to dropping items on BlinkCmp* autocmds
    • You may use require('blink.cmp').get_items() instead
  • Buffer source rewrite (#1964)
    • Per-buffer caching for 2-100x speed-up, depending on the number, uniqueness and size of the buffers
    • Added total size cap of 500k chars (max_total_buffer_size) with configurable rentention_order
  • Enable cmdline source in command-line-window (q:)

Thank you @soifou for practically writing the whole release!

Features

  • cache buffer items by changedtick (5e8165b)
  • add clangd hack, adding .lsp_score to completion items (ca9019c), closes #1778
  • add blink-cmp-wezterm source (#1951) (a5081e8)
  • add blink-cmp-words to community sources (#1938) (f4ecb69)
  • cmdline: autoshow for cmdwin (36de2a7)
  • cmdline: enable in command-line-window and vim filetype (78b42f6), closes #1835 #1447
  • cmdline: support getcompletiontype for cmdwin (ec03764)
  • drop BlinkCmpSourceCompletions (dc62667)
  • prefer continuous matches (#1888) (2096cf1)

Bug Fixes

  • add racket to blocked filetypes for auto brackets (f31a46e), closes #1965
  • cmdline: :s/:g/:v don't trigger auto completion (#1956) (19a2ba4)
  • cmdline: avoids unintended prefix duplication of user-defined command (36ea052)
  • cmdline: do not mutate label description for boolean option (04b8325)
  • cmdline: improve Vim expression detection and handle custom completions (fe7c974)
  • cmdline: pick last pasted char for completion, not just the first (#1952) (e84b7d9), closes #1940
  • cmdline: prepend prefix for expressions (c880c77), closes #1939
  • cmdline: prevent error when unique prefix for buffer is missing (644fef3), closes #1927
  • cmdline: prevent hangs from shellcmd completion on win32/wsl (#1933) (1cc44a3), closes #1926 #1029
  • ghost_text: prevent out-of-bounds on multiline edits (#1967) (f66e22e), closes #1197 #1739
  • handle completion type for even more edge cases (78a6275)
  • keyword suffix matching and drop leading dash in lua impl (6c4302b), closes #1792
  • lsp: filter out text completion items only for lua_ls (#1979) (2f2ebc5), closes #1838
  • luasnip: avoid false positives for in-snippet detection (#1969) (47820df), closes #1805 #1966
  • minor signature improvements (#1971) (6d6b009)
  • show_signature now ignores trigger.enabled if called directly (#1946) (83e6a29)
  • signature show failing due to opts not defined (#1949) (dad68b3)
  • use cmdline config for cmdwin, add wrapper for completion type (a4e2be4)
  • use edit range start for compensation instead of old cursor (#1985) (d2ca33f), closes #1736 #1978
  • use lsp offset encoding when compensating text edit range (17e30f3)
  • winborder: handle custom border chars (#1984) (a946054)

Performance Improvements

New Contributors

Full Changelog: v1.4.1...v1.5.0

Don't miss a new blink.cmp release

NewReleases is sending notifications on new releases.