-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
deinlazy.toml
160 lines (135 loc) · 3.9 KB
/
deinlazy.toml
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
[[plugins]]
repo = 'ctrlpvim/ctrlp.vim'
on_map = [['n','<Plug>']]
hook_add = 'source ~/.config/nvim/rc/plugins/search.vim'
[[plugins]]
repo = 'Yggdroot/indentLine'
on_ft = ['py','js','jsx','html','css','go','vim']
hook_add = 'source ~/.config/nvim/rc/plugins/indentline.vim'
[[plugins]]
repo = 'liuchengxu/vim-which-key'
on_cmd = ['WhichKey', 'WhichKey!']
hook_add = 'source ~/.config/nvim/rc/plugins/whichkey.vim'
hook_post_source = '''
call which_key#register(',', 'g:which_key_map')
call which_key#register(';', 'g:which_key_localmap')
call which_key#register('[', 'g:which_key_rsbgmap')
call which_key#register('[', 'g:which_key_lsbgmap')
'''
[[plugins]]
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 = 'fjdkswbeoavn'
let g:EasyMotion_smartcase = 1
let g:EasyMotion_use_smartsign_us = 1
'''
[[plugins]]
repo = 'scrooloose/nerdtree'
on_map = [['n','<Plug>']]
depends = ['vim-devicons','vim-nerdtree-syntax-highlight']
#hook_add = 'source ~/.config/nvim/rc/plugins/allkey.vim'
hook_source = 'source ~/.config/nvim/rc/plugins/nerdtree.vim'
[[plugins]]
repo = 'tiagofumo/vim-nerdtree-syntax-highlight'
hook_add = '''
let g:NERDTreeSyntaxDisableDefaultExtensions = 1
let g:NERDTreeDisableExactMatchHighlight = 1
let g:NERDTreeDisablePatternMatchHighlight = 1
let g:NERDTreeSyntaxEnabledExtensions = ['go', 'py', 'html', 'css', 'jsx', 'js', 'vim','json','md']
'''
[[plugins]]
repo = 'Shougo/defx.nvim'
on_cmd = 'Defx'
hook_source = 'source ~/.config/nvim/rc/plugins/defx.vim'
[[plugins]]
repo = 'kristijanhusak/defx-icons'
on_source = 'defx.nvim'
[[plugins]]
repo = 'airblade/vim-gitgutter'
on_path = ".*"
hook_add = 'source ~/.config/nvim/rc/plugins/vim-gitgutter.vim'
[[plugins]]
repo = 'majutsushi/tagbar'
on_cmd = ['TagbarToggle']
hook_source ='source ~/.config/nvim/rc/plugins/tagbar.vim'
[[plugins]]
repo = 'mattn/emmet-vim'
on_ft = ['html','css','jsx','javascript','javascript.jsx']
on_event = 'InsertEnter'
hook_add ='''
let g:use_emmet_complete_tag = 0
let g:user_emmet_install_global = 0
let g:user_emmet_install_command = 0
let g:user_emmet_mode = 'i'
let g:user_emmet_leader_key='<C-g>'
let g:user_emmet_settings = {
\ 'javascript.jsx' : {
\ 'extends' : 'jsx',
\ },
\}
'''
[[plugins]]
repo = 'Raimondi/delimitMate'
on_event = 'InsertEnter'
hook_source = '''
let g:delimitMate_expand_cr = 1
let g:delimitMate_excluded_ft = 'html'
'''
[[plugins]]
repo = 'Shougo/neosnippet.vim'
depends = ['neosnippet-snippets']
on_event = 'InsertCharPre'
on_ft = 'snippet'
hook_add = '''
let g:neosnippet#snippets_directory='~/.config/nvim/rc/snippets/'
'''
hook_source = '''
source ~/.config/nvim/rc/plugins/neosnippet.vim
'''
[[plugins]]
repo = 'Shougo/neosnippet-snippets'
[[plugins]]
repo = 'Shougo/denite.nvim'
on_cmd = 'Denite'
hook_source = 'source ~/.config/nvim/rc/plugins/denite.vim'
#hook_add = 'source ~/.config/nvim/rc/plugins/allkey.vim'
[[plugins]]
repo = 'w0rp/ale'
on_ft = ['py']
hook_add = 'source ~/.config/nvim/rc/plugins/vim-ale.vim'
[[plugins]]
repo = 'othree/html5.vim'
on_ft = ['html', 'javascript.jsx','vue']
[[plugins]]
repo = 'pangloss/vim-javascript'
on_ft = ['javascript', 'javascript.jsx']
[[plugins]]
repo = 'maxmellon/vim-jsx-pretty'
on_ft = ['javascript', 'javascript.jsx']
hook_add = '''
let g:vim_jsx_pretty_enable_jsx_highlight = 0
let g:vim_jsx_pretty_colorful_config = 1
'''
[[plugins]]
repo = 'mxw/vim-jsx'
on_ft = ['javascript', 'javascript.jsx']
[[plugins]]
repo = 'hail2u/vim-css3-syntax'
on_ft = ['css']
[[plugins]]
repo = 'ap/vim-css-color'
on_ft = ['css']
[[plugins]]
repo = 'fatih/vim-go'
on_ft = ['go']
hook_source = 'source ~/.config/nvim/rc/plugins/vim-go.vim'
[[plugins]]
repo = 'elzr/vim-json'
on_ft = ['json']
hook_add = 'let g:vim_json_syntax_conceal = 0 '
[[plugins]]
repo = 'cespare/vim-toml'
on_ft= ['toml']