summaryrefslogtreecommitdiff
path: root/nvim/lua/config/blink-cmp.lua
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2025-10-22 22:26:52 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2025-10-22 22:26:52 +0200
commit6272f7a9b2cce09576d7630131eb0a636c78b0c8 (patch)
tree25c433ee9f78322cdb8f78ecb74707dc8c6bb106 /nvim/lua/config/blink-cmp.lua
parentcb14f8f9f922a785427035a05059b28909a39102 (diff)
Add blink.cmp back, update fzf and lsp config
Diffstat (limited to 'nvim/lua/config/blink-cmp.lua')
-rw-r--r--nvim/lua/config/blink-cmp.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/nvim/lua/config/blink-cmp.lua b/nvim/lua/config/blink-cmp.lua
new file mode 100644
index 0000000..cca782c
--- /dev/null
+++ b/nvim/lua/config/blink-cmp.lua
@@ -0,0 +1,25 @@
+return {
+ 'saghen/blink.cmp',
+ dependencies = { 'rafamadriz/friendly-snippets' },
+
+ version = '1.*',
+
+ ---@module 'blink.cmp'
+ ---@type blink.cmp.Config
+ opts = {
+ keymap = { preset = 'default' },
+
+ appearance = {
+ nerd_font_variant = 'mono'
+ },
+
+ completion = { documentation = { auto_show = false } },
+
+ sources = {
+ default = { 'lsp', 'path', 'snippets', 'buffer' },
+ },
+
+ fuzzy = { implementation = "prefer_rust_with_warning" }
+ },
+ opts_extend = { "sources.default" }
+}