nvim: Switch back to paq

Packer does not seem to be maintained. Version 2 being developed
by Lewis @ https://github.com/lewis6991/packer.nvim has breaking
changes. Migrating to Lazy will open it's own can of worms & it
does not use packages. Funny thing is author of Packer himself
uses Lazy.

We really should not be needing anything fancy. neovim can load
packages automatically from packpath. All we need is something
which will clone the packages to packpath and all those will be
automatically loaded.

paq.nvim which we were using before packer was the right choice
and does the bare minimum we stated above.

Rest all with features like fancy lazy loading is nonsense.
This commit is contained in:
Sanchayan Maity 2023-02-09 19:56:25 +05:30
parent 547bf78b9b
commit 56f81f598e
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
4 changed files with 43 additions and 56 deletions

4
.gitignore vendored
View File

@ -1,8 +1,8 @@
tmux/.tmux/resurrect tmux/.tmux/resurrect
nvim/.config/nvim/.netrwhist nvim/.config/nvim/.netrwhist
nvim/.config/nvim/plugin/packer_compiled.vim nvim/.config/nvim/plugin/packer_compiled.vim
nvim/.local/share/nvim/site/pack/packer/start nvim/.local/share/nvim/site/pack/paqs/start
nvim/.local/share/nvim/site/pack/packer/opt/* nvim/.local/share/nvim/site/pack/paqs/opt/*
nvim/.local/share/nvim/log nvim/.local/share/nvim/log
nvim/.local/share/nvim/lsp.log nvim/.local/share/nvim/lsp.log
nvim/.local/share/nvim/rplugin.vim nvim/.local/share/nvim/rplugin.vim

6
.gitmodules vendored
View File

@ -7,9 +7,6 @@
[submodule "tmux/.tmux/plugins/tmux-butler"] [submodule "tmux/.tmux/plugins/tmux-butler"]
path = tmux/.tmux/plugins/tmux-butler path = tmux/.tmux/plugins/tmux-butler
url = https://github.com/woodstok/tmux-butler url = https://github.com/woodstok/tmux-butler
[submodule "nvim/.local/share/nvim/site/pack/packer/opt/packer.nvim"]
path = nvim/.local/share/nvim/site/pack/packer/opt/packer.nvim
url = https://github.com/wbthomason/packer.nvim
[submodule "tmux/.tmux/plugins/tmux-fuzzback"] [submodule "tmux/.tmux/plugins/tmux-fuzzback"]
path = tmux/.tmux/plugins/tmux-fuzzback path = tmux/.tmux/plugins/tmux-fuzzback
url = https://github.com/roosta/tmux-fuzzback.git url = https://github.com/roosta/tmux-fuzzback.git
@ -19,3 +16,6 @@
[submodule "tmux/.tmux/plugins/vim-tmux-navigator"] [submodule "tmux/.tmux/plugins/vim-tmux-navigator"]
path = tmux/.tmux/plugins/vim-tmux-navigator path = tmux/.tmux/plugins/vim-tmux-navigator
url = https://github.com/christoomey/vim-tmux-navigator.git url = https://github.com/christoomey/vim-tmux-navigator.git
[submodule "nvim/.local/share/nvim/site/pack/paqs/start/paq-nvim"]
path = nvim/.local/share/nvim/site/pack/paqs/start/paq-nvim
url = https://github.com/savq/paq-nvim.git

View File

@ -1,55 +1,41 @@
-- Add the in built Cfilter plugin. Replaces QFGrep. -- Add the in built Cfilter plugin. Replaces QFGrep.
vim.cmd 'packadd cfilter' vim.cmd 'packadd cfilter'
local init = function () require "paq" {
use { 'phaazon/hop.nvim' ,
'wbthomason/packer.nvim' , 'junegunn/fzf' ,
'phaazon/hop.nvim' , 'junegunn/fzf.vim' ,
'junegunn/fzf' , 'rmagatti/auto-session' ,
'junegunn/fzf.vim' , 'dcampos/nvim-snippy' ,
'rmagatti/auto-session' , 'honza/vim-snippets' ,
'dcampos/nvim-snippy' , 'lewis6991/gitsigns.nvim' ,
'honza/vim-snippets' , 'tpope/vim-fugitive' ,
'lewis6991/gitsigns.nvim' , 'SanchayanMaity/gitlinker.nvim' ,
'tpope/vim-fugitive' , 'vim-utils/vim-husk' ,
'https://github.com/SanchayanMaity/gitlinker.nvim', 'chengzeyi/fzf-preview.vim' ,
'vim-utils/vim-husk' , 'https://gitlab.com/yorickpeterse/nvim-pqf',
'chengzeyi/fzf-preview.vim' , 'wellle/targets.vim' ,
'https://gitlab.com/yorickpeterse/nvim-pqf' , 'tpope/vim-surround' ,
'wellle/targets.vim' , 'kana/vim-textobj-user' ,
'tpope/vim-surround' , 'idbrii/textobj-word-column.vim' ,
'kana/vim-textobj-user' , 'glts/vim-textobj-comment' ,
'idbrii/textobj-word-column.vim' , 'numToStr/Comment.nvim' ,
'glts/vim-textobj-comment' , 'tpope/vim-repeat' ,
'numToStr/Comment.nvim' , 'tpope/vim-sleuth' ,
'tpope/vim-repeat' , 'tpope/vim-dispatch' ,
'tpope/vim-sleuth' , 'elihunter173/dirbuf.nvim' ,
'tpope/vim-dispatch' , 'junegunn/vim-easy-align' ,
'elihunter173/dirbuf.nvim' , 'nvim-lua/plenary.nvim' ,
'junegunn/vim-easy-align' , 'kosayoda/nvim-lightbulb' ,
'nvim-lua/plenary.nvim' , 'mfussenegger/nvim-lint' ,
'kosayoda/nvim-lightbulb' , 'lvimuser/lsp-inlayhints.nvim' ,
'mfussenegger/nvim-lint' , 'sdiehl/vim-cabalfmt' ,
'lvimuser/lsp-inlayhints.nvim' , 'nvim-treesitter/nvim-treesitter' ,
'sdiehl/vim-cabalfmt' , 'nvim-treesitter/playground' ,
'nvim-treesitter/nvim-treesitter' , 'mfussenegger/nvim-treehopper' ,
'nvim-treesitter/playground' , 'chentoast/marks.nvim' ,
'mfussenegger/nvim-treehopper' , 'andymass/vim-matchup' ,
'chentoast/marks.nvim' , 'christoomey/vim-tmux-navigator' ,
'andymass/vim-matchup' , 'windwp/nvim-autopairs' ,
'christoomey/vim-tmux-navigator' , 'gpanders/nvim-parinfer'
'windwp/nvim-autopairs' ,
'gpanders/nvim-parinfer'
}
end
local config = {
git = {
subcommands = {
update = 'pull --ff-only --progress --rebase=false --no-tags',
fetch = 'fetch --depth 999999 --progress --no-tags',
}
}
} }
require('packer').startup(init, config)

@ -0,0 +1 @@
Subproject commit 540642d7765fa5fbe661f26b635b08ad9fb24fd0