switch packer for pckr, fix indent-blankline and code folding
This commit is contained in:
71
.config/nvim/lua/config/pckr.lua
Normal file
71
.config/nvim/lua/config/pckr.lua
Normal file
@@ -0,0 +1,71 @@
|
||||
local function bootstrap_pckr()
|
||||
local pckr_path = vim.fn.stdpath("data") .. "/pckr/pckr.nvim"
|
||||
|
||||
if not (vim.uv or vim.loop).fs_stat(pckr_path) then
|
||||
vim.fn.system({
|
||||
'git',
|
||||
'clone',
|
||||
"--filter=blob:none",
|
||||
'https://github.com/lewis6991/pckr.nvim',
|
||||
pckr_path
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(pckr_path)
|
||||
end
|
||||
|
||||
bootstrap_pckr()
|
||||
|
||||
require('pckr').add{
|
||||
{
|
||||
'nvim-telescope/telescope.nvim',
|
||||
tag = '0.1.1',
|
||||
-- or branch = '0.1.x',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
};
|
||||
"ellisonleao/gruvbox.nvim";
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = function()
|
||||
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
||||
ts_update()
|
||||
end,
|
||||
};
|
||||
{
|
||||
'ThePrimeagen/harpoon',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
};
|
||||
'mbbill/undotree';
|
||||
'tpope/vim-fugitive';
|
||||
'airblade/vim-gitgutter';
|
||||
'lukas-reineke/indent-blankline.nvim';
|
||||
'JoosepAlviste/nvim-ts-context-commentstring';
|
||||
'numToStr/Comment.nvim';
|
||||
'lervag/vimtex';
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
requires = {
|
||||
-- LSP Support
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
-- DAP Support
|
||||
{'mfussenegger/nvim-dap'},
|
||||
{'mfussenegger/nvim-dap-python'},
|
||||
{'jay-babu/mason-nvim-dap.nvim'},
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'hrsh7th/cmp-buffer'},
|
||||
{'hrsh7th/cmp-path'},
|
||||
{'hrsh7th/cmp-cmdline'},
|
||||
-- Snippets
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
{'saadparwaiz1/cmp_luasnip'},
|
||||
{'rafamadriz/friendly-snippets'},
|
||||
{'onsails/lspkind.nvim'},
|
||||
-- Utils
|
||||
{'j-hui/fidget.nvim'},
|
||||
{'folke/neodev.nvim'}
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user