switched to blink for auto complete

This commit is contained in:
2025-05-04 17:31:26 +02:00
parent 5e6716e263
commit 9e4735ee47
6 changed files with 30 additions and 29 deletions
+13
View File
@@ -0,0 +1,13 @@
return {
'saghen/blink.cmp',
dependencies = { 'rafamadriz/friendly-snippets' },
version = '1.*',
opts = {
keymap = { preset = 'default' },
appearance = {
nerd_font_variant = 'mono'
},
signature = { enabled = true }
},
}
+6 -4
View File
@@ -1,9 +1,11 @@
return {
{ "neovim/nvim-lspconfig" },
{
"neovim/nvim-lspconfig",
dependencies = {
"saghen/blink.cmp"
}
},
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{ "hrsh7th/cmp-buffer"},
{ "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-nvim-lsp" },
{ "mfussenegger/nvim-jdtls" } -- jdtls bindings for neovim
}
+10 -10
View File
@@ -12,16 +12,16 @@ return {
end,
},
{
"nvim-telescope/telescope.nvim",
dependencies = {"nvim-lua/plenary.nvim"},
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)
end,
"nvim-telescope/telescope.nvim",
dependencies = {"nvim-lua/plenary.nvim"},
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)
end,
},
{
"theprimeagen/harpoon",