forked from rafi/vim-config
-
Notifications
You must be signed in to change notification settings - Fork 108
/
Copy pathlocal.plugins.yaml
128 lines (117 loc) · 4.38 KB
/
local.plugins.yaml
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
- repo: ntpeters/vim-better-whitespace
hook_add: |
let g:better_whitespace_filetypes_blacklist=['diff', 'git', 'gitcommit', 'unite', 'qf', 'help', 'markdown', 'fugitive', 'defx', 'dashboard']
- repo: terryma/vim-multiple-cursors
- repo: tpope/vim-repeat
- repo: jszakmeister/vim-togglecursor
- repo: mhinz/vim-startify
# - repo: glepnir/dashboard-nvim
# on_event: VimEnter
# hook_source: luafile $VIM_PATH/config/plugins/dashboard.lua
# - repo: nvim-tree/nvim-web-devicons
- repo: tpope/vim-abolish
- repo: tpope/vim-projectionist
- repo: vim-scripts/BufOnly.vim
- repo: godlygeek/tabular
# - repo: kien/rainbow_parentheses.vim
- repo: haya14busa/incsearch.vim
- repo: haya14busa/incsearch-fuzzy.vim
- repo: vim-airline/vim-airline
- repo: vim-airline/vim-airline-themes
- repo: tpope/vim-surround
- repo: junegunn/vim-easy-align
- repo: voldikss/vim-translator
- repo: APZelos/blamer.nvim
- repo: solarnz/thrift.vim
- { repo: Valloric/MatchTagAlways, on_ft: [html, xhtml, xml, jinja]}
- repo: Yggdroot/indentLine
hook_add: |
let g:indentLine_bufNameExclude = ['NERD_tree.*', 'defx', 'startify', '__vista__', 'dashboard']
let g:indentLine_fileTypeExclude = ['defx', '__vista__', 'help', 'clap_input', 'tagbar', 'vista_kind']
- repo: neoclide/coc.nvim
merge: 0
rev: release
hook_add: source $VIM_PATH/config/plugins/coc.vim
# pip install https://github.com/Rykka/instant-rst.py/archive/master.zip
- { repo: gu-fan/riv.vim, on_ft: rst}
- { repo: gu-fan/InstantRst, on_ft: rst}
- { repo: PegasusWang/RST-Tables, on_ft: rst}
- { repo: iamcco/mathjax-support-for-mkdp, on_ft: markdown}
- repo: iamcco/markdown-preview.nvim
on_ft: [ markdown, pandoc.markdown, rmd ]
build: cd app & npm install
hook_source: |
let g:mkdp_auto_close = 0
# Python related, NOTE python-mode use submodule
# cd ~/.cache/vim/dein/repos/github.com; mkdir python-mode
# git clone --recurse-submodules https://github.com/python-mode/python-mode
- { repo: python-mode/python-mode, on_ft: python}
- repo: easymotion/vim-easymotion
on_map: { n: <Plug> }
hook_source: |
let g:EasyMotion_do_mapping = 0
let g:EasyMotion_prompt = 'Jump to → '
let g:EasyMotion_keys = 'fjdksweoavn'
let g:EasyMotion_smartcase = 1
let g:EasyMotion_use_smartsign_us = 1
# enable ycm if you write cpp
# - repo: Valloric/YouCompleteMe
# build: ./install.py --clang-completer
- repo: dense-analysis/ale
on_event: FileType
hook_add: |
let g:ale_disable_lsp = 0
let g:ale_echo_delay = 100
let g:ale_lint_delay = 1000
let g:ale_echo_msg_format = '%linter%: %code: %%s [%severity%]'
let g:ale_history_enabled = 0
let g:ale_sign_error = '✖'
let g:ale_sign_warning = 'ⁱ'
let g:ale_maximum_file_size = 500000
let g:ale_linters = {'go': ['golangci-lint']}
# Golang related
# go get -u github.com/cweill/gotests/...
- repo: buoto/gotests-vim
on_ft: [ go ]
- repo: fatih/vim-go
if: has('nvim-0.4.0') || has('patch-8.0.1453')
on_ft: [ go, gomod, gotexttmpl, gohtmltmpl ]
hook_add: |-
let g:go_gopls_enabled = 0
let g:go_code_completion_enabled = 0
let g:go_doc_keywordprg_enabled = 0
let g:go_def_mapping_enabled = 0
let g:go_jump_to_error = 0
let g:go_fmt_autosave = 1
let g:go_fmt_fail_silently = 1
let g:go_imports_autosave = 1
let g:go_mod_fmt_autosave = 0
let g:go_snippet_engine = 'ultisnips'
let g:go_textobj_enabled = 1
let g:go_list_height = 10
let g:go_list_autoclose = 0
let g:go_fold_enable = []
let g:go_highlight_array_whitespace_error = 0
let g:go_highlight_chan_whitespace_error = 0
let g:go_highlight_space_tab_error = 0
let g:go_highlight_trailing_whitespace_error = 0
let g:go_highlight_extra_types = 1
let g:go_highlight_build_constraints = 1
let g:go_highlight_fields = 1
let g:go_highlight_format_strings = 1
let g:go_highlight_functions = 1
let g:go_highlight_function_calls = 1
let g:go_highlight_function_parameters = 1
let g:go_highlight_types = 1
let g:go_highlight_generate_tags = 1
let g:go_highlight_operators = 1
let g:go_highlight_string_spellcheck = 0
let g:go_highlight_variable_declarations = 0
let g:go_highlight_variable_assignments = 0
let g:go_fmt_command = "goimports"
let g:go_def_reuse_buffer = 1
let g:go_auto_type_info = 0
if has('nvim') || exists(':terminal')
let g:go_term_enabled = 1
let g:go_term_close_on_exit = 0
endif