2022-01-06 07:52:01 +00:00
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" config of vim-plug
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" Plugins will be downloaded under the specified directory.
|
|
|
|
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
|
|
|
|
|
|
|
|
" Declare the list of plugins.
|
|
|
|
Plug 'neovim/nvim-lspconfig'
|
2022-02-06 14:37:23 +00:00
|
|
|
|
2022-01-06 07:52:01 +00:00
|
|
|
Plug 'kyazdani42/nvim-web-devicons' " for file icons
|
|
|
|
Plug 'kyazdani42/nvim-tree.lua'
|
2022-02-06 14:37:23 +00:00
|
|
|
|
2022-01-06 07:52:01 +00:00
|
|
|
Plug 'akinsho/toggleterm.nvim'
|
|
|
|
|
2022-02-06 14:37:23 +00:00
|
|
|
Plug 'lukas-reineke/indent-blankline.nvim'
|
|
|
|
|
|
|
|
" Declare the theme
|
|
|
|
Plug 'projekt0n/github-nvim-theme'
|
|
|
|
|
2022-01-06 07:52:01 +00:00
|
|
|
" List ends here. Plugins become visible to Vim after this call.
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" load setup of plugins
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
execute 'source' "~/.config/nvim/plugins.vim.d/nvim-lspconfig.vim"
|
|
|
|
execute 'source' "~/.config/nvim/plugins.vim.d/nvim-tree.vim"
|
|
|
|
execute 'source' "~/.config/nvim/plugins.vim.d/toggleterm.vim"
|
2022-02-06 14:37:23 +00:00
|
|
|
execute 'source' "~/.config/nvim/plugins.vim.d/github-nvim-theme.vim"
|
|
|
|
execute 'source' "~/.config/nvim/plugins.vim.d/indent-blankline.vim"
|