notes/config/nvim.v1/lua/plug.lua

99 lines
2.3 KiB
Lua

-- For plug manager
--
vim.cmd [[
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
]]
local Plug = vim.fn['plug#']
vim.call('plug#begin', '~/.config/nvim/plug')
-- I have cloned all plugins needed to my own repo
vim.g.plug_url_format = "git@gitee.com:%s.git"
-- themes
Plug('astroshot/NeoSolarized')
Plug('astroshot/rainbow')
Plug('astroshot/vim-nerdtree-syntax-highlight')
-- git
Plug('astroshot/vim-fugitive')
Plug('astroshot/vim-gitgutter')
-- Plug('astroshot/ConflictMotions')
-- auto complete
-- Plug 'Valloric/YouCompleteMe'
-- Plug 'astroshot/coc.nvim', {'branch': 'release'}
Plug('astroshot/coc.nvim', {branch = 'release'})
Plug('astroshot/auto-pairs')
Plug('astroshot/nvim-lspconfig')
-- python dev
-- Plug 'davidhalter/jedi-vim'
-- show indent line
-- Plug('astroshot/indentLine')
Plug('astroshot/python-mode', {['for'] = 'python', branch = 'main'})
-- grammar check/highlight
Plug('astroshot/ale')
Plug('astroshot/vim-easy-align')
Plug('astroshot/vim-virtualenv')
Plug('astroshot/nerdcommenter')
-- golang dev
Plug('mirrors/vim-go')
-- rust
Plug('astroshot/rust.vim')
-- run :CocInstall coc-rust-analyzer after installation
-- sh
Plug('astroshot/vim-shfmt', {['for'] = 'sh'})
-- hive sql
Plug 'astroshot/hive.vim'
-- Plug 'astroshot/Vim'
-- toml
Plug('astroshot/vim-toml')
-- thrift
Plug('astroshot/thrift.vim')
-- NERDTree
-- Plug('astroshot/nerdtree')
-- Plug('astroshot/nerdtree-git-plugin')
-- Plug('astroshot/vim-airline')
-- Plug('astroshot/vim-airline-themes')
-- Plug('astroshot/vim-devicons')
-- tools
-- Plug('astroshot/vim-startify')
-- Plug('astroshot/LeaderF')
Plug('astroshot/tagbar')
Plug('astroshot/ag.vim')
Plug('astroshot/vim-ripgrep')
-- Plug 'epmatsw/ag.vim'
-- Plug 'mileszs/ack.vim'
-- Plug('astroshot/FlyGrep.vim')
Plug('astroshot/incsearch.vim')
-- Plug('astroshot/vim-easymotion')
Plug('astroshot/undotree')
Plug('astroshot/vim-surround')
Plug('astroshot/vim-multiple-cursors')
Plug('astroshot/vim-better-whitespace')
Plug('astroshot/vim-cursorword')
Plug('astroshot/vim-interestingwords')
Plug('astroshot/vim-table-mode')
-- snippets
Plug('astroshot/ultisnips')
Plug('astroshot/vim-snippets')
vim.call('plug#end')