From 946270d7a1da8543af44f8e3a4bbf0523b64b0fb Mon Sep 17 00:00:00 2001 From: AYM1607 Date: Wed, 30 Jun 2021 21:57:07 -0500 Subject: [PATCH] Add extra plugins. --- lua/plugins.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 191facf..8a8fdfd 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -4,7 +4,7 @@ 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 - execute('!git clone https://github.com/wbthomason/packer.nvim ' .. install_path) + fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}) execute 'packadd packer.nvim' end @@ -16,9 +16,10 @@ return require('packer').startup(function(use) use 'neovim/nvim-lspconfig' use 'glepnir/lspsaga.nvim' use 'kabouzeid/nvim-lspinstall' - -- Autocomplete use 'hrsh7th/nvim-compe' + -- Function signatures + use "ray-x/lsp_signature.nvim" -- Theme use 'drewtempelmeyer/palenight.vim' @@ -26,7 +27,7 @@ return require('packer').startup(function(use) -- Syntax use 'sheerun/vim-polyglot' - use {'prettier/vim-prettier', run = "yarn install"} + -- use {'prettier/vim-prettier', run = "yarn install"} use {'styled-components/vim-styled-components', branch = "main"} -- FZF @@ -39,9 +40,10 @@ return require('packer').startup(function(use) requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}} } + -- Git symobls. use { - 'lewis6991/gitsigns.nvim', + 'lewis6991/gitsigns.nvim', requires = { 'nvim-lua/plenary.nvim' }, @@ -49,7 +51,11 @@ return require('packer').startup(function(use) require('gitsigns').setup() end } + use 'jiangmiao/auto-pairs' use 'itchyny/lightline.vim' + -- Golang + use 'fatih/vim-go' + end)