Skip to content
Discussion options

You must be logged in to vote

Found this solution after digging:

-- does not show up by default, can be triggered by tab and then tab can be used to cycle thru the options
cmdline = {
  keymap = {
    preset = "super-tab",
    ["<Tab>"] = { "show", "select_next", "fallback" },
    ["<S-Tab>"] = { "select_prev", "fallback" },
  },
  completion = {
    menu = {
      auto_show = false,
    },
  },
},

-- This essentially stops blink.cmp after > and hence when inside a <div></div>
completion.trigger.show_on_x_blocked_trigger_characters = { "'", '"', "(", "{", ">" },

Reference(this is a great page):

https://cmp.saghen.dev/configuration/reference.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by itse4elhaam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #1294 on February 22, 2025 15:00.