github Saghen/blink.cmp v1.1.0

latest release: v1.1.1
one day ago

Highlights

  • <Tab> now shows the menu when ghost text is visible in cmdline with noice.nvim
  • Many fixes to menu unexpectedly opening or staying open (i.e. after pressing <Tab>)
  • frizbee (fuzzy matcher) updated to v0.3.0
    • Capitals now receive a bonus similar to delimiters, for better matching on PascalCase and camelCase (i.e. fb matched on fooBar beats foobar)
    • Delimiters no longer incorrectly receive a bonus when coming after a delimiter (i.e. f_b matched on foo__bar no longer beats foo_bar)
  • Cmdline shell commands have been disabled by default on windows
    • You may re-enable them by overriding the logic with sources.providers.cmdline.enabled = true
  • Recipe for kind icon with background

Features

  • bump frizbee to 0.3.0 (46188c1), closes #1147 #1473
  • cmdline: show menu on tab when ghost text visible (380548f)
  • configure lua_ls type checking (c7ceb78)
  • set kind icon default priority to 20000 (f1e1940)
  • support highlight priority for menu draw (bf2b10e)
  • use non-deprecated LSP methods when supported (033fbcc)

Bug Fixes

  • cmdline ignoring two cursor moved events after auto insert (40adb0d)
  • disable cmdline shell completions on windows by default (3350451), closes #1529 #795 #1167
  • docs: show_documentation crashing when documentation is nil (#1552) (6fe420a)
  • ignore prefetch context for cursor moved updates (a8c5684), closes #1563 #1569
  • maintain menu when cursor moves onto trigger character (61178aa), closes #1559
  • menu position for multibyte characters (#1573) (bd086ef)
  • refresh the menu on char after auto insertion (6f3baea), closes #1568
  • snippet: correctly expand luasnip hidden snippet (#1521) (c02a45b), closes #f0f68 #1503 #1515
  • snippet: keep luasnip item in completion list on exact match (#1554) (623ed75), closes #1553
  • trigger: adjust query bounds logic to handle 0-indexed cursor (#1559) (b83ffad), closes #1500
  • use max of label, insert_text and filter_text guessed edit ranges (7d5ddba), closes #1340
  • use regular trigger characters for keeping menu open (6172f8f)
  • window: correctly extract CursorLine winhiglight (#1536) (e28d61e), closes #1513

New Contributors

Full Changelog: v1.0.0...v1.1.0

Don't miss a new blink.cmp release

NewReleases is sending notifications on new releases.