✨ Added vim-fugitive and harpoon to nvim config
This commit is contained in:
parent
1aa13410f3
commit
25c98539b9
22 changed files with 449 additions and 384 deletions
|
|
@ -1,64 +1,75 @@
|
|||
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
||||
|
||||
-- Only required if you have packer configured as `opt`
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
vim.cmd([[packadd packer.nvim]])
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use 'wbthomason/packer.nvim'
|
||||
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate'}
|
||||
use {'nvim-treesitter/playground'}
|
||||
use ({
|
||||
'shaunsingh/nord.nvim',
|
||||
config = function()
|
||||
vim.cmd('colorscheme nord')
|
||||
end
|
||||
})
|
||||
use {'preservim/nerdcommenter'}
|
||||
use {'nvim-lualine/lualine.nvim', requires = { 'kyazdani42/nvim-web-devicons', opt = true }}
|
||||
use {'kyazdani42/nvim-web-devicons'}
|
||||
use {'kyazdani42/nvim-tree.lua'}
|
||||
use {'psliwka/vim-smoothie'}
|
||||
use {'mg979/vim-visual-multi'}
|
||||
use {'Yggdroot/indentLine'}
|
||||
use {'airblade/vim-gitgutter'}
|
||||
use {'f-person/git-blame.nvim'}
|
||||
use {'mattn/emmet-vim'}
|
||||
use {'norcalli/nvim-colorizer.lua'}
|
||||
use {'luochen1990/rainbow'}
|
||||
use {'windwp/nvim-autopairs'}
|
||||
use {'simeji/winresizer'}
|
||||
use {'sbdchd/neoformat'}
|
||||
use {'rhysd/vim-clang-format'}
|
||||
use {'sangdol/mintabline.vim'}
|
||||
use {'ethanholz/nvim-lastplace'}
|
||||
use({
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function() vim.fn["mkdp#util#install"]() end,
|
||||
})
|
||||
-- use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
||||
use {'junegunn/fzf.vim'}
|
||||
use 'rinx/nvim-ripgrep'
|
||||
return require("packer").startup(function(use)
|
||||
-- Packer can manage itself
|
||||
use("wbthomason/packer.nvim")
|
||||
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
||||
use({ "nvim-treesitter/playground" })
|
||||
use({
|
||||
"shaunsingh/nord.nvim",
|
||||
config = function()
|
||||
vim.cmd("colorscheme nord")
|
||||
end,
|
||||
})
|
||||
use({ "preservim/nerdcommenter" })
|
||||
use({ "nvim-lualine/lualine.nvim", requires = { "kyazdani42/nvim-web-devicons", opt = true } })
|
||||
use({ "kyazdani42/nvim-web-devicons" })
|
||||
use({ "kyazdani42/nvim-tree.lua" })
|
||||
use({ "psliwka/vim-smoothie" })
|
||||
use({ "mg979/vim-visual-multi" })
|
||||
use({ "Yggdroot/indentLine" })
|
||||
use({ "airblade/vim-gitgutter" })
|
||||
use({ "f-person/git-blame.nvim" })
|
||||
use({ "mattn/emmet-vim" })
|
||||
use({ "norcalli/nvim-colorizer.lua" })
|
||||
use({ "luochen1990/rainbow" })
|
||||
use({ "windwp/nvim-autopairs" })
|
||||
use({ "simeji/winresizer" })
|
||||
use({ "sbdchd/neoformat" })
|
||||
use({ "rhysd/vim-clang-format" })
|
||||
use({ "sangdol/mintabline.vim" })
|
||||
use({ "ThePrimeagen/harpoon" })
|
||||
use({
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.0",
|
||||
-- or , branch = '0.1.x',
|
||||
requires = { { "nvim-lua/plenary.nvim" } },
|
||||
})
|
||||
use({ "mbbill/undotree" })
|
||||
use({ "tpope/vim-fugitive" })
|
||||
use({ "ethanholz/nvim-lastplace" })
|
||||
use({
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
})
|
||||
-- use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
||||
use({ "junegunn/fzf.vim" })
|
||||
use("rinx/nvim-ripgrep")
|
||||
|
||||
use {
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
requires = {
|
||||
-- LSP Support
|
||||
{'neovim/nvim-lspconfig'},
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
use({
|
||||
"VonHeikemen/lsp-zero.nvim",
|
||||
requires = {
|
||||
-- LSP Support
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
{ "williamboman/mason.nvim" },
|
||||
{ "williamboman/mason-lspconfig.nvim" },
|
||||
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-buffer'},
|
||||
{'hrsh7th/cmp-path'},
|
||||
{'saadparwaiz1/cmp_luasnip'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'hrsh7th/cmp-nvim-lua'},
|
||||
-- Autocompletion
|
||||
{ "hrsh7th/nvim-cmp" },
|
||||
{ "hrsh7th/cmp-buffer" },
|
||||
{ "hrsh7th/cmp-path" },
|
||||
{ "saadparwaiz1/cmp_luasnip" },
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
{ "hrsh7th/cmp-nvim-lua" },
|
||||
|
||||
-- Snippets
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
{'rafamadriz/friendly-snippets'},
|
||||
}
|
||||
}
|
||||
-- Snippets
|
||||
{ "L3MON4D3/LuaSnip" },
|
||||
{ "rafamadriz/friendly-snippets" },
|
||||
},
|
||||
})
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue