X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;ds=sidebyside;f=stow%2Fnvim%2F.config%2Fnvim%2Flua%2Fplugin_mgr.lua;fp=stow%2Fnvim%2F.config%2Fnvim%2Flua%2Fplugin_mgr.lua;h=0000000000000000000000000000000000000000;hb=af84f5e698403d530d9551d256fb77200436d864;hp=d338931a92cbe772c28f669925bc32b507de06a8;hpb=1ccb793940cc93129532869e61d5e32cbb598814;p=dotfiles.git diff --git a/stow/nvim/.config/nvim/lua/plugin_mgr.lua b/stow/nvim/.config/nvim/lua/plugin_mgr.lua deleted file mode 100644 index d338931..0000000 --- a/stow/nvim/.config/nvim/lua/plugin_mgr.lua +++ /dev/null @@ -1,70 +0,0 @@ -local ensure_packer = function() - local fn = vim.fn - local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' - if fn.empty(fn.glob(install_path)) > 0 then - fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) - vim.cmd [[packadd packer.nvim]] - return true - end - return false -end - -local packer_bootstrap = ensure_packer() - -return require('packer').startup(function(use) - use { 'wbthomason/packer.nvim' } - use({ - 'rose-pine/neovim', - as = 'rose-pine', - config = function() - vim.cmd('colorscheme rose-pine') - end - }) - use { 'romainl/Apprentice' } - use { 'folke/tokyonight.nvim' } - use { 'unblevable/quick-scope'} - use { 'onsails/lspkind.nvim' } - use - { - 'nvim-treesitter/nvim-treesitter', - run = ':TSUpdate' - } - 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'}, - - -- Snippets - {'L3MON4D3/LuaSnip'}, - {'rafamadriz/friendly-snippets'}, - - } - } - - -- git - use { 'tpope/vim-fugitive' } - - -- format - use { 'sbdchd/neoformat' } - - use { - 'nvim-telescope/telescope.nvim', branch = '0.1.x', - requires = { {'nvim-lua/plenary.nvim'} } - } - - -- Automatically set up configuration after cloning packer.nvim - if packer_bootstrap then - require('packer').sync() - end -end)