-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugins.vim
67 lines (51 loc) · 2.25 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
" <<<< using vim plug >>>>
" ref - https://github.com/junegunn/vim-plug
" TODO: use XDG_CONFIG_SHARE
call plug#begin("$HOME/.local/share/nvim/plugged")
" <<<<<<<< plugins >>>>>>>>
" a multipurpose client for language servers (e.g. intellisense, compilation
" errors, formatting), linters, formatters (e.g. prettier or black) and various
" other external shell programs (e.g. shellcheck)
"
" TODO: install `coc.nvim` via home-manager (and possibly individual coc-*
" extensions)
" - https://github.com/nix-community/home-manager/issues/1531
Plug 'neoclide/coc.nvim', {'branch': 'release' }
" << autocompletion >>
" Neovim markdown previewer (opens preview in browser)
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
" git information (blame, diff) in Vim
" note: `sran.vim` is a dependency of `git-p.nvim`
Plug 'iamcco/sran.nvim', { 'do': { -> sran#util#install() } }
Plug 'iamcco/git-p.nvim'
" show git commit for line under cursor (`<leader>gm`)
Plug 'rhysd/git-messenger.vim'
" fuzzy finder
" configuration is in ./fzf.vim instead of ./plugin_config.vim due to complexity
"
" TODO: maybe point directly to `fzf` installed by `nix`?
" Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
" Use Sasha's fork which enables previewing of full files based on community's
" fix - https://github.com/junegunn/fzf.vim/issues/751
" NOTE: unless you care about the issue in the above github link I recommend you
" use the canonical 'junegunn/fzf.vim` repo: `Plug 'junegunn/fzf.vim'`
" TODO: check that this fork stays up to date with upstream
" Plug 'sashaweiss/fzf.vim', { 'branch': 'preview_fix' }
" open current line in github
" note: opens most recent blob so only works if you are downstream of remote
Plug 'ruanyl/vim-gh-line'
" << colors/syntax/languages >>
" statusline color scheme
Plug 'sonph/onehalf', {'rtp': 'vim/'}
" jsonc filetype - JSON w/ comments
Plug 'neoclide/jsonc.vim'
" individual languages/syntax
Plug 'peitalin/vim-jsx-typescript'
Plug 'styled-components/vim-styled-components', { 'branch': 'main' }
" highlight color codes with their color
" run `:ColorHighlight` to see #FF00AA with a hot pink background
Plug 'chrisbra/Colorizer'
" TODO: allow unsupported systems?
" insert color from color picker
Plug 'kabbamine/vCoolor.vim'
call plug#end()