Skip to content

Commit

Permalink
feat(config): allow plugins to disable blink for some buffers (#556)
Browse files Browse the repository at this point in the history
* feat(config): allow plugins to disable blink for some buffers

* refactor: blink_cmp -> completion
  • Loading branch information
folke authored Dec 14, 2024
1 parent 217f670 commit c8e86a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
local validate = require('blink.cmp.config.utils').validate
--- @type blink.cmp.ConfigStrict
local config = {
enabled = function() return vim.bo.buftype ~= 'prompt' end,
enabled = function() return vim.bo.buftype ~= 'prompt' and vim.b.completion ~= false end,
keymap = require('blink.cmp.config.keymap').default,
completion = require('blink.cmp.config.completion').default,
fuzzy = require('blink.cmp.config.fuzzy').default,
Expand Down

0 comments on commit c8e86a3

Please sign in to comment.