-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugins.vim
107 lines (79 loc) · 2.7 KB
/
plugins.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin("~/.vim/plugged")
" Better status bar
Plug 'vim-airline/vim-airline'
" Clock for the status bar
Plug 'enricobacis/vim-airline-clock'
" Themes for that status bar
Plug 'vim-airline/vim-airline-themes'
" Commenting lines
Plug 'tpope/vim-commentary'
" Git for vim
Plug 'tpope/vim-fugitive'
" Paper color theme
Plug 'NLKNguyen/papercolor-theme'
" NERD tree will be loaded on the first invocation of NERDTreeToggle command
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
" Add git flags to nerdtree
Plug 'Xuyuanp/nerdtree-git-plugin'
" Add git gutter to files
if has('nvim') || has('patch-8.0.902')
Plug 'mhinz/vim-signify'
else
Plug 'mhinz/vim-signify', { 'branch': 'legacy' }
endif
" Requirement for bash server
Plug 'prabirshrestha/vim-lsp'
if executable('bash-language-server')
au User lsp_setup call lsp#register_server({
\ 'name': 'bash-language-server',
\ 'cmd': {server_info->['bash-language-server', 'start']},
\ 'allowlist': ['sh', 'bash'],
\ })
endif
if executable('rustup')
au User lsp_setup call lsp#register_server({
\ 'name': 'rust-analyzer',
\ 'cmd': {server_info->['rustup', 'run', 'stable', 'rust-analyzer']},
\ 'allowlist': ['rust'],
\ })
endif
" rust vim is the official plugin for rust
Plug 'rust-lang/rust.vim'
" webapi connection to help with rust playground
Plug 'mattn/webapi-vim'
" NvimR is the ESS of vim
" Plug 'jalvesaq/Nvim-R' ", {'branch': 'stable'}
Plug 'R-Nvim/R.Nvim', {'branch': 'main'}
Plug 'R-nvim/cmp-r', {'branch': 'main'}
Plug 'hrsh7th/nvim-cmp', {'branch': 'main'}
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
" Plugin to work with Nvim-R that includes devtools
Plug 'mllg/vim-devtools-plugin'
" Pandoc syntax for Rmarkdown
Plug 'vim-pandoc/vim-pandoc-syntax'
" SuperCollider Audio Synthesis vim integration
Plug 'supercollider/scvim'
" Aligning assignment operators
" https://stackoverflow.com/q/16522235/2752888
Plug 'vim-scripts/Align'
" hybrid relative line numbers
" https://jeffkreeftmeijer.com/vim-number/
Plug 'jeffkreeftmeijer/vim-numbertoggle'
" context-aware scrolling for looooong nested elements
Plug 'wellle/context.vim'
" zen mode for vim
Plug 'junegunn/goyo.vim'
" dim all but current section when writing
Plug 'junegunn/limelight.vim'
" editorconfig file support
Plug 'editorconfig/editorconfig-vim'
" View ANSI colors in vim
Plug 'chrisbra/Colorizer'
" Indentation guides
Plug 'nathanaelkane/vim-indent-guides'
call plug#end()