2019-10-26 20:05:31 +03:00
|
|
|
" Auto-install vim-plug
|
|
|
|
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
|
|
|
|
endif
|
|
|
|
|
|
|
|
" Set coc extensions
|
|
|
|
let g:coc_global_extensions = [
|
2019-11-03 12:19:57 +02:00
|
|
|
\ 'coc-tsserver',
|
|
|
|
\ 'coc-html',
|
|
|
|
\ 'coc-tsserver',
|
|
|
|
\ 'coc-json',
|
|
|
|
\ 'coc-yaml',
|
2020-01-18 21:25:32 +02:00
|
|
|
\ 'coc-texlab',
|
2019-11-03 12:19:57 +02:00
|
|
|
\ 'coc-prettier',
|
|
|
|
\ 'coc-python',
|
|
|
|
\ 'coc-emmet',
|
2020-01-04 12:12:15 +02:00
|
|
|
\ 'coc-rust-analyzer',
|
2020-01-07 17:48:53 +02:00
|
|
|
\ 'coc-markdownlint',
|
2020-01-18 21:25:32 +02:00
|
|
|
\ 'coc-snippets',
|
2021-01-30 11:23:00 +02:00
|
|
|
\ 'coc-java',
|
|
|
|
\ 'coc-flutter'
|
2019-11-03 12:19:57 +02:00
|
|
|
\ ]
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
call plug#begin()
|
|
|
|
|
2020-01-08 23:00:15 +02:00
|
|
|
" statusline/tabline
|
|
|
|
Plug 'vim-airline/vim-airline'
|
2020-01-08 22:07:32 +02:00
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
" Make editing passwords safer
|
|
|
|
Plug 'https://git.zx2c4.com/password-store', { 'rtp': 'contrib/vim/redact_pass.vim' }
|
|
|
|
|
2019-11-06 08:34:58 +02:00
|
|
|
" Colorize color words
|
|
|
|
Plug 'norcalli/nvim-colorizer.lua'
|
|
|
|
|
2020-11-18 18:34:29 +02:00
|
|
|
" NeoVim in Firefox
|
|
|
|
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
|
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
" Spelling
|
|
|
|
Plug 'vim-scripts/Vimchant'
|
|
|
|
|
2019-10-30 22:38:20 +02:00
|
|
|
" Pandoc plugins
|
2019-10-26 20:05:31 +03:00
|
|
|
Plug 'vim-pandoc/vim-pandoc'
|
2019-10-30 22:38:20 +02:00
|
|
|
Plug 'conornewton/vim-pandoc-markdown-preview'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Fuzzy finder
|
|
|
|
Plug 'junegunn/fzf'
|
|
|
|
Plug 'junegunn/fzf.vim'
|
|
|
|
|
2020-01-19 15:24:27 +02:00
|
|
|
" Language syntax pack
|
|
|
|
Plug 'sheerun/vim-polyglot'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Read editorconfig settings
|
|
|
|
Plug 'editorconfig/editorconfig-vim'
|
|
|
|
|
|
|
|
" Make directory if it doesn't exist
|
|
|
|
Plug 'pbrisbin/vim-mkdir'
|
|
|
|
|
|
|
|
" Tree explorer
|
|
|
|
Plug 'scrooloose/nerdtree'
|
|
|
|
|
|
|
|
" Moar snippets
|
|
|
|
Plug 'honza/vim-snippets'
|
|
|
|
|
|
|
|
" Filetype icons
|
|
|
|
Plug 'ryanoasis/vim-devicons'
|
|
|
|
|
|
|
|
" Surround stuff with brackets and quotes
|
|
|
|
Plug 'tpope/vim-surround'
|
|
|
|
|
|
|
|
" Do stuff as sudo
|
|
|
|
Plug 'lambdalisue/suda.vim'
|
|
|
|
|
|
|
|
" Conguer of Completion
|
|
|
|
Plug 'neoclide/coc.nvim', {'do': './install.sh nightly'}
|
|
|
|
|
2020-01-07 17:48:53 +02:00
|
|
|
" VimL source for CoC
|
|
|
|
Plug 'Shougo/neco-vim'
|
|
|
|
Plug 'neoclide/coc-neco'
|
|
|
|
|
2019-12-13 12:15:43 +02:00
|
|
|
" Git plugin
|
|
|
|
Plug 'jreybert/vimagit'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Git diff in gutter
|
|
|
|
Plug 'airblade/vim-gitgutter'
|
|
|
|
|
|
|
|
" Gpg support
|
|
|
|
Plug 'jamessan/vim-gnupg'
|
|
|
|
|
|
|
|
" Colorscheme
|
2020-01-19 00:56:08 +02:00
|
|
|
Plug 'joshdick/onedark.vim'
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Latex plugin
|
|
|
|
Plug 'lervag/vimtex'
|
|
|
|
|
|
|
|
call plug#end()
|