config: nvim: add vim-plug, vim-dichromatic and nvim-colorizer
This commit is contained in:
parent
8a3be75d1f
commit
3be7d5aec4
3 changed files with 27 additions and 1 deletions
18
config/nvim/plugins.vim
Normal file
18
config/nvim/plugins.vim
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
" warn if vim-plug is not available
|
||||
if empty(glob('~/.config/nvim/autoload/plug.vim'))
|
||||
echom "Install https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
\ to ~/.config/nvim/autoload/plug.vim"
|
||||
endif
|
||||
|
||||
call plug#begin('~/.config/nvim/autoload/plugged')
|
||||
|
||||
" vim colortheme for colorblind
|
||||
Plug 'romainl/vim-dichromatic'
|
||||
|
||||
" only for nvim!
|
||||
if has('nvim')
|
||||
" colorizes colorcodes
|
||||
Plug 'norcalli/nvim-colorizer.lua'
|
||||
endif
|
||||
|
||||
call plug#end()
|
||||
Loading…
Add table
Add a link
Reference in a new issue