Skip to content

Disable completing for dressing.nvim input #728

Answered by Hashino
abenz1267 asked this question in Q&A
Discussion options

You must be logged in to vote

the vim.bo.buftype ~= "nofile" is what did it for me

require("blink.cmp").setup({
  enabled = function()
    return not vim.tbl_contains({}, vim.bo.filetype)
       and vim.bo.buftype ~= "nofile"
       and vim.bo.buftype ~= "prompt"
       and vim.b.completion ~= false
  end,
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by abenz1267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants