summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/blink.cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/blink.cmp.lua')
-rw-r--r--.config/nvim/lua/plugins/blink.cmp.lua23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/blink.cmp.lua b/.config/nvim/lua/plugins/blink.cmp.lua
new file mode 100644
index 0000000..d5f292b
--- /dev/null
+++ b/.config/nvim/lua/plugins/blink.cmp.lua
@@ -0,0 +1,23 @@
+return {
+ "saghen/blink.cmp",
+ version = "*",
+ opts = {
+ keymap = { preset = "super-tab" },
+ appearance = {
+ use_nvim_cmp_as_default = true,
+ nerd_font_variant = "mono",
+ },
+
+ fuzzy = {
+ max_typos = function(keyword)
+ return math.floor(#keyword / 0)
+ end,
+ },
+
+ sources = {
+ default = { "lsp", "path", "snippets", "buffer" },
+ -- cmdline = {},
+ },
+ },
+ opts_extend = { "sources.default" },
+}