File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,19 +274,6 @@ vim.api.nvim_create_autocmd('TextYankPost', {
274274 end ,
275275})
276276
277- -- add recipe for showing function signature after completion
278- vim .api .nvim_create_autocmd (' User' , {
279- pattern = ' BlinkCmpAccept' ,
280- callback = function (ev )
281- local item = ev .data .item
282- if item .kind == require (' blink.cmp.types' ).CompletionItemKind .Function then
283- vim .defer_fn (function ()
284- require (' blink.cmp' ).show_signature ()
285- end , 10 )
286- end
287- end ,
288- })
289-
290277-- [[ Install `lazy.nvim` plugin manager ]]
291278-- See `:help lazy.nvim.txt` or https://github.com/folke/lazy.nvim for more info
292279local lazypath = vim .fn .stdpath ' data' .. ' /lazy/lazy.nvim'
@@ -1042,7 +1029,12 @@ require('lazy').setup({
10421029 fuzzy = { implementation = ' prefer_rust_with_warning' },
10431030
10441031 -- Shows a signature help window while you type arguments for a function
1045- signature = { enabled = true },
1032+ signature = {
1033+ enabled = true ,
1034+ trigger = {
1035+ enabled = true ,
1036+ },
1037+ },
10461038 cmdline = {
10471039 keymap = {
10481040 preset = ' cmdline' ,
You can’t perform that action at this time.
0 commit comments