From 0f1e82e9130acdb63e985548b750383bacc70df9 Mon Sep 17 00:00:00 2001 From: adamstuck Date: Mon, 11 Oct 2021 12:57:12 +0200 Subject: Setup nvim on laptop --- .config/nvim/lua/plugins.lua | 69 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 .config/nvim/lua/plugins.lua (limited to '.config/nvim/lua/plugins.lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..29eb25a --- /dev/null +++ b/.config/nvim/lua/plugins.lua @@ -0,0 +1,69 @@ +local use = require('packer').use +require('packer').startup(function() + use 'wbthomason/packer.nvim' + use 'gruvbox-community/gruvbox' + use 'tomasiser/vim-code-dark' + use 'tpope/vim-fugitive' + use 'tpope/vim-surround' + use 'ThePrimeagen/vim-be-good' + use 'neovim/nvim-lspconfig' + use 'hrsh7th/nvim-cmp' + use 'hrsh7th/cmp-nvim-lsp' + use 'hrsh7th/cmp-buffer' + use 'hrsh7th/cmp-path' + use 'kyazdani42/nvim-web-devicons' + use 'norcalli/nvim-colorizer.lua' + use 'b3nj5m1n/kommentary' + use 'mhinz/vim-startify' + use "akinsho/toggleterm.nvim" + use "ray-x/lsp_signature.nvim" + + use { + 'nvim-telescope/telescope.nvim', + requires = { + 'nvim-lua/popup.nvim', + 'nvim-lua/plenary.nvim', + 'nvim-telescope/telescope-fzy-native.nvim', + 'BurntSushi/ripgrep' + } + } + + use { + "SirVer/ultisnips", + requires = { + "honza/vim-snippets", + "quangnguyen30192/cmp-nvim-ultisnips" + }, + config = function() + vim.g.UltiSnipsRemoveSelectModeMappings = 0 + end, + } + + use { + 'lewis6991/gitsigns.nvim', + requires = { + 'nvim-lua/plenary.nvim' + }, + config = function() + require('gitsigns').setup() + end + } + + use { + 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate' + } + + use { 'alvarosevilla95/luatab.nvim', requires='kyazdani42/nvim-web-devicons' } + + use { + 'hoob3rt/lualine.nvim', + requires = {'kyazdani42/nvim-web-devicons', opt = true} + } + + use { + 'kyazdani42/nvim-tree.lua', + requires = 'kyazdani42/nvim-web-devicons', + config = function() require'nvim-tree'.setup {} end + } +end) -- cgit v1.2.3-70-g09d2