commit 23b523c268dd4b5e3e7f8ca28bf8b1efa14f7888 parent 803bc181d7c0d6d5eeba9274d9be49b287294d99 Author: Eamon Caddigan <ec@eamoncaddigan.net> Date: Thu, 27 Mar 2025 20:58:21 -0700 feat: Extend blink.cmp to be disabled for markdown files Diffstat:
A | lua/plugins/extend-blink.lua | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/lua/plugins/extend-blink.lua b/lua/plugins/extend-blink.lua @@ -0,0 +1,10 @@ +return { + "saghen/blink.cmp", + opts = function(_, opts) + opts.enabled = function() + return not vim.tbl_contains({ "markdown" }, vim.bo.filetype) + and vim.bo.buftype ~= "prompt" + and vim.b.completion ~= false + end + end, +}