123456789101112131415161718192021222324252627282930313233343536 |
- local blink_cmp = require('blink.cmp')
- blink_cmp.setup({
- cmdline = {
- enabled = false,
- },
- completion = {
- accept = {
- auto_brackets = {
- enabled = false,
- },
- },
- documentation = {
- auto_show = true,
- auto_show_delay_ms = 500,
- },
- trigger = {
- prefetch_on_insert = false,
- show_on_keyword = false,
- show_on_trigger_character = false,
- },
- menu = {
- draw = {
- columns = {
- { 'label', 'label_description', gap = 1 },
- { 'kind' },
- },
- },
- },
- },
- keymap = {
- ['<Enter>'] = { 'select_and_accept', 'fallback' },
- ['<C-u>'] = { 'scroll_documentation_up', 'fallback' },
- ['<C-d>'] = { 'scroll_documentation_down', 'fallback' },
- },
- })
|