-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.plugin
37 lines (34 loc) · 1 KB
/
vimrc.plugin
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
" CocAction
command! -nargs=0 Prettier :call CocAction('runCommand', 'prettier.formatFile')
nnoremap <silent> f :CocCommand eslint.executeAutofix<CR>
" End Of CocAction
" Colorscheme
let g:gruvbox_contrast_dark = 'hard'
let g:gruvbox_invert_selection='0'
colorscheme gruvbox
" End of colorscheme
" Vim lightline
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'active': {
\ 'left': [ [ 'mode', 'paste' ],
\ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'FugitiveHead'
\ },
\ }
" End of vim lightline
" Vim jsx pretty
let g:vim_jsx_pretty_highlight_close_tag = 1
let g:vim_jsx_pretty_colorful_config = 1
hi link jsxTag GruvboxBlue
hi link jsxCloseTag GruvboxRed
hi link jsxCloseString GruvboxRed
hi link jsxComponentName GruvboxGreen
" End of Vim jsx pretty"
"
" Python support
let g:python_host_prog = '/usr/bin/python'
let g:python3_host_prog = '/usr/local/bin/python3.8'
" End of python support