Change package manager to paq

This commit is contained in:
Yorick Barbanneau 2022-01-03 23:09:46 +01:00
parent 0d9cc47300
commit d6a419cfdd

View file

@ -1,42 +1,38 @@
--Plug init --Plugins
-- --cmd 'packadd paq-nvim
local Plug = vim.fn['plug#'] local paq = require("paq")
vim.call('plug#begin', '~/.local/lib/nvim/plugged') paq {
"savq/paq-nvim";
-- vim airline and vim airline theme -- vim airline and vim airline theme
Plug 'vim-airline/vim-airline' 'vim-airline/vim-airline';
-- vim airline and vim airline theme -- vim airline and vim airline theme
Plug 'vim-airline/vim-airline-themes' 'vim-airline/vim-airline-themes';
'w0rp/ale';
Plug 'w0rp/ale'
-- Base16 theme -- Base16 theme
Plug 'chriskempson/base16-vim' 'chriskempson/base16-vim';
-- NERDTree file manager -- NERDTree file manager
Plug 'scrooloose/nerdtree' 'scrooloose/nerdtree';
-- Vim fugitive -- Vim fugitive
Plug 'tpope/vim-fugitive' 'tpope/vim-fugitive';
Plug 'tpope/vim-surround' 'tpope/vim-surround';
Plug 'sheerun/vim-polyglot' 'sheerun/vim-polyglot';
{'Shougo/deoplete.nvim', run = vim.fn['remote#host#UpdateRemotePlugins']};
Plug('Shougo/deoplete.nvim', { ['do'] = ':UpdateRemotePlugins' }) 'zchee/deoplete-jedi';
Plug 'zchee/deoplete-jedi'
-- Grammalecte -- Grammalecte
Plug('dpelle/vim-Grammalecte', { on = 'GrammalecteCheck' }) 'dpelle/vim-Grammalecte';
}
vim.call('plug#end')
-- General Option -- General Option
vim.opt.autoindent = true vim.opt.autoindent = true
vim.opt.background = 'dark' vim.opt.background = 'dark'
vim.opt.backupdir = '$HOME/.local/tmp/nvim' vim.opt.backupdir = os.getenv("HOME") .. '/.local/tmp/nvim'
vim.opt.clipboard = 'unnamedplus' --Use system clipboard vim.opt.clipboard = 'unnamedplus' --Use system clipboard
vim.opt.colorcolumn = '80' vim.opt.colorcolumn = '80'
vim.opt.directory = '$HOME/.local/tmp/nvim' vim.opt.directory = os.getenv("HOME") .. '/.local/tmp/nvim'
vim.opt.expandtab = true vim.opt.expandtab = true
vim.opt.foldmethod = 'syntax' vim.opt.foldmethod = 'syntax'
vim.opt.gdefault = true -- search: all occurrences by default vim.opt.gdefault = true -- search: all occurrences by default