From 18edf9861d1b38591b51b42465b224d77736db04 Mon Sep 17 00:00:00 2001 From: listout Date: Tue, 2 Aug 2022 01:10:05 +0530 Subject: nvim: moving init to lua Signed-off-by: listout --- lua/plugins/plugins.lua | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lua/plugins/plugins.lua (limited to 'lua/plugins/plugins.lua') diff --git a/lua/plugins/plugins.lua b/lua/plugins/plugins.lua new file mode 100644 index 0000000..c78ffc1 --- /dev/null +++ b/lua/plugins/plugins.lua @@ -0,0 +1,38 @@ +-- 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]] + +return require('packer').startup(function(use) + -- Packer can manage itself + use 'wbthomason/packer.nvim' + + -- Nord color scheme + use 'shaunsingh/nord.nvim' + + -- Completion + use {'neoclide/coc.nvim', branch = 'release'} + + + use {'ap/vim-css-color'} + + use {'jiangmiao/auto-pairs'} + use {'preservim/nerdcommenter'} + use { 'dhruvasagar/vim-table-mode', ft = {'markdown', 'markdown.pandoc'} } + + use { 'vim-pandoc/vim-pandoc-syntax', ft = { 'markdown', 'markdown.pandoc' } } + use { 'lervag/vimtex', ft = { 'tex' } } + + use { 'junegunn/fzf', run = ":call fzf#install()" } + use { 'junegunn/fzf.vim' } + + use { 'honza/vim-snippets' } + use { 'SirVer/ultisnips' } + + use {'tpope/vim-surround'} + use {'junegunn/vim-easy-align'} + + + use { 'tpope/vim-fugitive', ft = {'cpp', 'c'} } + use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } +end) -- cgit v1.2.3