Add extra plugins.
This commit is contained in:
parent
ad770ed955
commit
946270d7a1
1 changed files with 10 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ local fn = vim.fn
|
||||||
local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
|
local install_path = fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
|
||||||
|
|
||||||
if fn.empty(fn.glob(install_path)) > 0 then
|
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'
|
execute 'packadd packer.nvim'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -16,9 +16,10 @@ return require('packer').startup(function(use)
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
use 'glepnir/lspsaga.nvim'
|
use 'glepnir/lspsaga.nvim'
|
||||||
use 'kabouzeid/nvim-lspinstall'
|
use 'kabouzeid/nvim-lspinstall'
|
||||||
|
|
||||||
-- Autocomplete
|
-- Autocomplete
|
||||||
use 'hrsh7th/nvim-compe'
|
use 'hrsh7th/nvim-compe'
|
||||||
|
-- Function signatures
|
||||||
|
use "ray-x/lsp_signature.nvim"
|
||||||
|
|
||||||
-- Theme
|
-- Theme
|
||||||
use 'drewtempelmeyer/palenight.vim'
|
use 'drewtempelmeyer/palenight.vim'
|
||||||
|
|
@ -26,7 +27,7 @@ return require('packer').startup(function(use)
|
||||||
|
|
||||||
-- Syntax
|
-- Syntax
|
||||||
use 'sheerun/vim-polyglot'
|
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"}
|
use {'styled-components/vim-styled-components', branch = "main"}
|
||||||
|
|
||||||
-- FZF
|
-- FZF
|
||||||
|
|
@ -39,9 +40,10 @@ return require('packer').startup(function(use)
|
||||||
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
|
requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
-- Git symobls.
|
-- Git symobls.
|
||||||
use {
|
use {
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
requires = {
|
requires = {
|
||||||
'nvim-lua/plenary.nvim'
|
'nvim-lua/plenary.nvim'
|
||||||
},
|
},
|
||||||
|
|
@ -49,7 +51,11 @@ return require('packer').startup(function(use)
|
||||||
require('gitsigns').setup()
|
require('gitsigns').setup()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use 'jiangmiao/auto-pairs'
|
use 'jiangmiao/auto-pairs'
|
||||||
use 'itchyny/lightline.vim'
|
use 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
-- Golang
|
||||||
|
use 'fatih/vim-go'
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue