-
| It doesn't seem you can open the completion window at all (via  There are times when I encounter a completely foreign codebase and I want to quickly see what methods/properties and object has. While I could turn off  My config for reference. return { -- Autocompletion
	'saghen/blink.cmp',
	event = 'VimEnter',
	version = '1.*',
	dependencies = {
		'L3MON4D3/LuaSnip',
		'folke/lazydev.nvim',
	},
	--- @module 'blink.cmp'
	--- @type blink.cmp.Config
	opts = {
		keymap = {
			preset = 'default',
			['<C-j>'] = { 'snippet_forward', 'fallback' },
			['<C-k>'] = { 'snippet_backward', 'fallback' },
		},
		appearance = {
			nerd_font_variant = 'mono',
		},
		completion = {
			documentation = { auto_show = false, auto_show_delay_ms = 500 },
		},
		sources = {
			default = { 'lsp', 'path', 'snippets', 'lazydev', 'buffer' },
			providers = {
				lazydev = {
					module = 'lazydev.integrations.blink',
					score_offset = 100,
				},
				lsp = {
					min_keyword_length = 2,
				},
				path = {
					min_keyword_length = 0,
				},
				snippets = {
					min_keyword_length = 2,
				},
				buffer = {
					min_keyword_length = 4,
					max_items = 5,
				},
			},
		},
		snippets = { preset = 'luasnip' },
		fuzzy = { implementation = 'prefer_rust_with_warning' },
		signature = { enabled = true },
		cmdline = {
			enabled = true,
			completion = {
				menu = {
					auto_show = true,
				},
			},
		},
	},
}
 | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
#2145 (comment)