feat: replace nvim-cmp with blink-cmp
This commit is contained in:
parent
022abfffc5
commit
eeb8173a90
4 changed files with 43 additions and 128 deletions
|
@ -1,5 +1,9 @@
|
|||
{ pkgs, theme, vimwikiPath, ... }:
|
||||
{
|
||||
pkgs,
|
||||
theme,
|
||||
vimwikiPath,
|
||||
...
|
||||
}: {
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
|
@ -55,15 +59,8 @@
|
|||
luasnip
|
||||
|
||||
# auto-completion
|
||||
nvim-cmp
|
||||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
cmp-path
|
||||
cmp-cmdline
|
||||
cmp-nvim-lua
|
||||
cmp_luasnip
|
||||
cmp-calc
|
||||
cmp-nvim-lsp-signature-help
|
||||
blink-cmp
|
||||
blink-copilot
|
||||
|
||||
# telescope
|
||||
telescope-nvim
|
||||
|
@ -82,7 +79,6 @@
|
|||
# Copilot
|
||||
copilot-lua
|
||||
copilot-cmp
|
||||
CopilotChat-nvim
|
||||
codecompanion-nvim
|
||||
|
||||
# debugging
|
||||
|
@ -114,14 +110,14 @@
|
|||
texlab
|
||||
nixd
|
||||
nixpkgs-fmt
|
||||
bitbake-language-server
|
||||
pyright
|
||||
|
||||
(python3.withPackages (ps: with ps; [
|
||||
pep8
|
||||
autopep8
|
||||
python-lsp-server
|
||||
]))
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
pep8
|
||||
autopep8
|
||||
python-lsp-server
|
||||
]))
|
||||
|
||||
#clipboard
|
||||
xclip
|
||||
|
@ -150,7 +146,7 @@
|
|||
require("local_indent-blankline")
|
||||
require("local_gitsigns")
|
||||
require("local_luasnip")
|
||||
require("local_nvim-cmp")
|
||||
require("local_blink-cmp")
|
||||
require("local_telescope")
|
||||
|
||||
require("local_themes").setup("${theme}")
|
||||
|
@ -168,17 +164,6 @@
|
|||
|
||||
require("local_firenvim")
|
||||
|
||||
require("CopilotChat").setup({
|
||||
highlight_headers = false,
|
||||
separator = "---",
|
||||
error_header = "> [!ERROR] Error",
|
||||
window = {
|
||||
layout = "float",
|
||||
width = 0.8,
|
||||
height = 0.8,
|
||||
},
|
||||
})
|
||||
|
||||
require("local_codecompanion")
|
||||
|
||||
require("diffview").setup({
|
||||
|
@ -212,7 +197,7 @@
|
|||
home.file.".config/nvim/lua/local_indent-blankline.lua".source = ./indent-blankline.lua;
|
||||
home.file.".config/nvim/lua/local_gitsigns.lua".source = ./gitsigns.lua;
|
||||
home.file.".config/nvim/lua/local_luasnip.lua".source = ./luasnip.lua;
|
||||
home.file.".config/nvim/lua/local_nvim-cmp.lua".source = ./nvim-cmp.lua;
|
||||
home.file.".config/nvim/lua/local_blink-cmp.lua".source = ./blink-cmp.lua;
|
||||
home.file.".config/nvim/lua/local_telescope.lua".source = ./telescope.lua;
|
||||
|
||||
home.file.".config/nvim/lua/local_themes.lua".source = ./themes.lua;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue