diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2025-10-22 22:26:52 +0200 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2025-10-22 22:26:52 +0200 |
| commit | 6272f7a9b2cce09576d7630131eb0a636c78b0c8 (patch) | |
| tree | 25c433ee9f78322cdb8f78ecb74707dc8c6bb106 /nvim/lua | |
| parent | cb14f8f9f922a785427035a05059b28909a39102 (diff) | |
Add blink.cmp back, update fzf and lsp config
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/config/blink-cmp.lua | 25 | ||||
| -rw-r--r-- | nvim/lua/config/lazy.lua | 3 |
2 files changed, 27 insertions, 1 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" } +} diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index b252fa3..913bacb 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -58,7 +58,8 @@ require("lazy").setup({ opts = {}, }, { "prettier/vim-prettier" }, - require("config.lazygit") + require("config.lazygit"), + require("config.blink-cmp"), }, install = { colorscheme = { "gruvbox" } }, checker = { enabled = true }, |
