Highlights
- Improved edit range guessing (#923)
- Clojure and other LSPs which don't send edit ranges should no longer insert the prefix
- Sort in rust when no lua sorts provided (in
fuzzy.sorts
table) - Improves performance by ~40% on long lists (i.e. from tailwind)
- Resolved neovim crash on large completions, i.e. from copilot (thank you @otakenz!)
- Major cmdline work by @soifou
- Paths no longer contain their prefix (such as in
:e
) and fuzzy match correctly- Escaped spaces in paths now work as expcted
- Shows shortest unique prefix for
:buffer
items - Buffer completion on
:s/foo/bar/
and:g
- Due to an upstream issue, requires
providers.buffer.opts.enable_in_ex_commands = true
) - Note that this option disables
inccommand
- Due to an upstream issue, requires
Features
- add
!
as cmdline trigger character (59a58b5) - add
completion.trigger.show_on_insert
option (#1796) (03c5fea) - buffer: add configurable sync/async buffer size thresholds (#1795) (d324508), closes #1789
- cmdline: add buffer completion for
:s
and:g
commands (#1734) (75c9117), closes #1625 - completion.trigger: add
show_on_backspace_*
options (#1813) (0289534) - don't disable signature help when pumvisible (396f19a)
- frecency: use blake3 hash as db key for accesses (#1908) (9c007ae)
- handle multiple filetypes in per_filetype table (#1798) (becda04)
- improved edit range guess logic (5cf9a78), closes #923
- make max_typos optionally a number (980b09c)
- sort in rust when no lua sorts provided (#1830) (faee548), closes #1752
- space instead of autobrackets for lean (#1825) (cd83fee)
- update repro.lua with mason (3e7b05e)
- window: support function for
direction_priority
in menu and signature (#1873) (d59d55d), closes #1801
Bug Fixes
- add
fennel
andjannet
to blocked auto bracket filetypes (#1804) (a434b7b) - add
ps1
(powershell) to blocked auto bracket filetypes (#1816) (992644b) - add dot-repeat hack to terminal mode (#1788) (9873411)
- add missing comma in configuration examples (#1867) (7370740)
- avoid overlapping signature window with popupmenu (0fc23d2)
- buffer: deduplicate words globally (#1790) (c2bac7f), closes #1789
- check for trigger character after semantic token auto brackets (755bc7e)
- cmdline: use current argument for 'file' completion in
input()
prompts (#1821) (92029d3), closes #1817 - completion: reset
selected_item_idx
on hide to prevent stale selection (#1860) (8cab663), closes #1856 - default providers used when filetype specific sources are empty (3e4a237)
- disable
completion.trigger.show_on_insert
, add to reference (084439e) - disabling keymaps in cmdline/term mode not working (94000bd), closes #1855
- handle delay on
:ts xx
No tags file error (#1814) (fd6e9c6) - keymap: disable preset keymaps with
false
(#1859) (0d9a7e4), closes #1855 - panic on no matched indices (bf612a5), closes #1902
- perform keyword range checks on bytes instead of chars (30f0a7b), closes #1834
- put output values of guess_keyword_range into a table (#1833) (f03e488)
- rust sorting provider order (#1880) (8d0b89b), closes #1876 #1846
- screenpos in floating window due to incorrect winid (#1853) (fe44a7d)
- skip useless redraws when not running in Neovide (#1903) (feb34a9)
- snippet edit range with lua implementation (29c8d72), closes #1340
- use vim.tbl_isempty to check for empty providers table (7c76cf5)
- window: ensure completion buffer is modifiable before rendering (#1891) (024727a), closes #1889
- window: hide all blink windows when another completion menu is triggered (#1852) (e7dcfe4), closes #1806
Performance Improvements
New Contributors
- @garyhurtz made their first contribution in https://github.com/Saghen/blink.cmp/pull/1819
- @lost22git made their first contribution in https://github.com/Saghen/blink.cmp/pull/1804
- @madduck made their first contribution in https://github.com/Saghen/blink.cmp/pull/1798
- @marcoSven made their first contribution in https://github.com/Saghen/blink.cmp/pull/1808
- @erikleffler made their first contribution in https://github.com/Saghen/blink.cmp/pull/1825
- @staticssleever668 made their first contribution in https://github.com/Saghen/blink.cmp/pull/1833
- @mcauley-penney made their first contribution in https://github.com/Saghen/blink.cmp/pull/1813
- @kchr made their first contribution in https://github.com/Saghen/blink.cmp/pull/1867
- @dmitmel made their first contribution in https://github.com/Saghen/blink.cmp/pull/1903
- @petobens made their first contribution in https://github.com/Saghen/blink.cmp/pull/1853
- @otakenz made their first contribution in https://github.com/Saghen/blink.cmp/pull/1908
Full Changelog: https://github.com/Saghen/blink.cmp/compare/v1.3.1...v1.4.0