github Saghen/blink.cmp v0.14.0

23 hours ago

Highlights

  • The enabled option now includes vim.bo.buftype ~= 'prompt' and vim.b.completion ~= false and mode checks internally
    • When replacing this option, you no longer need to include those checks
  • sources.providers[id].name is no longer required, and defaults to the id capitalized
    • For example, id = buffer will default to name = Buffer)

BREAKING CHANGES

  • use default sources when dynamically adding filetype sources
  • apply default and mode specific rules to enabled by default
  • require sources to explicitly use default accept implementation
  • allow creating generic sources for complete-functions (#1351)

Features

  • add 'inherit' keymap preset for modes (e58c130), closes #1327
  • add insert_prev/next commands and is_active API (0a7f700), closes #1367
  • add nu to blocked auto bracket filetypes (ef9d861), closes #1383
  • allow creating generic sources for complete-functions (#1351) (02136c1)
  • apply default and mode specific rules to enabled by default (23c2afa)
  • default source.providers[id].name to source id capitalized (6ded22a), closes #1353
  • don't trigger when CursorMoved onto trigger character (be15af8)
  • enable cmdline in cmdline mode only (6a98990), closes #1405
  • force update_delay_ms to >= 50 (cf0c7e3), closes #1352
  • handle large buf text completion with pure lua (#1394) (8e744eb)
  • ignore htmx-lsp client (hack) (d5aa7f4), closes #825
  • keymap: toggle signature help window in snippet (#1411) (86d7cd6)
  • only check cmdline cursor position when in cmdline mode (8a17009), closes #1355
  • require sources to explicitly use default accept implementation (c5ca0f2)
  • snippet: add opt-in prefer_doc_trig for luasnip regex trigger (#1426) (d3607d2), closes #1373
  • support triggerParameterHints and triggerSuggest LSP client commands (4ed2fa7), closes #1333
  • use builtin neovim semantic token api (#1186) (bf810eb), closes #187
  • use default sources when dynamically adding filetype sources (183dd14), closes #1217

Bug Fixes

  • buffer source using rust matcher during async (bf8ee3a), closes #1346
  • bypass prebuilt binary download on nix (6c83ef1), closes #1334
  • check if frizzbee shared library exists (#1417) (bfa1aea), closes #1410
  • cmdline: correctly handle bulk deletions in nvim < 0.11 (#1427) (3900772), closes #1369
  • cmdline: handle boolean options and improve file completion (#1399) (43687e3), closes #1366
  • disable binary checks when version file missing (bcae807), closes #1376 #1364
  • downloader never downloading if version and library missing (38a234e)
  • drop client_name from LSP item when resolving (e66e50e), closes #1347
  • ensure noice never required in cmdline (9645614), closes #1406 #1396
  • ghost-text: check buffer valid before deleting extmark (273bb36), closes #1378
  • handle blob-type in documentation height computation (#1384) (becb5d4), closes #1320
  • improve luasnip integration and expand functionality (#1375) (f0f68a1)
  • incorrect initial trigger character (6eea1bb)
  • list selection cycling with preselect = false (62c0532)
  • lsp client command names (36a8b30)
  • lsp: missing source parameter (#1451) (5e2c28b)
  • luasnip: hide completion window when expanding autosnippets (#1450) (cf83e5d), closes #1018
  • luasnip: use enter instead of leave luasnip event (#1455) (cb5142e)
  • mini snippets source not clearing keyword (970dae0)
  • never show signature help if disabled (f29498e), closes #1062
  • nix: don't add trailing newline to version (#1356) (c90bd67)
  • off by one error in within_query_bounds (60a571e)
  • prefer luasnip name over regex trigger in completion results (#1382) (662a67c), closes #1373
  • preserve 'buflisted' state when applying LSP text edits (#1432) (16fece7)
  • return 0 offset when in cmdline without noice (b737295), closes #1406
  • schedule semantic process request from LspTokenUpdate (0075a2d)
  • text edit range on windows paths (86bf6fd), closes #1385

New Contributors

Full Changelog: v0.13.1...v0.14.0

Don't miss a new blink.cmp release

NewReleases is sending notifications on new releases.