-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugins_settings.vim
More file actions
66 lines (57 loc) · 1.9 KB
/
Copy pathplugins_settings.vim
File metadata and controls
66 lines (57 loc) · 1.9 KB
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
if isdirectory($PLUGDIR . '/vim-closetag')
let g:closetag_filenames = '*.html,*.xhtml,*.xml,*.vue,*.tmpl'
let g:closetag_filetypes = 'html'
let g:closetag_close_shortcut = '<a->>'
" let g:closetag_regions = {
" \ 'vue': 'htmlTagN',
" \ }
endif
if isdirectory($PLUGDIR . '/bufexplorer')
let g:bufExplorerSplitRight=0
endif
if isdirectory($PLUGDIR . '/fzf.vim')
" CTRL-A CTRL-Q to select all and build quickfix list
function! s:build_quickfix_list(lines)
call setqflist(map(copy(a:lines), '{"filename": v:val}'))
copen
cc
endfunction
let g:fzf_action = {
\ 'ctrl-t': 'tab split',
\ 'ctrl-x': 'split',
\ 'ctrl-v': 'vsplit',
\ 'ctrl-q': function('s:build_quickfix_list') }
let $FZF_DEFAULT_OPTS = '--bind ctrl-a:select-all'
endif
if isdirectory($PLUGDIR . '/neosnippet.vim')
let g:neosnippet#snippets_directory="$VIMRCDIR/snippets"
let g:neosnippet#disable_runtime_snippets = {
\ '_': 1,
\ }
endif
if isdirectory($PLUGDIR . '/auto-pairs')
let g:AutoPairsCenterLine = 0
let g:AutoPairsMultilineClose = 0
let g:AutoPairsMapCR = 0
endif
if isdirectory($PLUGDIR . '/vim-rooter')
let g:rooter_patterns = ['.git', 'go.mod', 'Makefile', 'package.json']
endif
" This needs changes in plugged/govim/ftplugin/go.vim:
" if !exists('g:govim_disable_mouse_hover') || !g:govim_disable_mouse_hover
" setlocal balloonexpr=GOVIM_internal_BalloonExpr()
" endif
if isdirectory($PLUGDIR . '/govim')
let g:govim_disable_mouse_hover = 1
let g:govim_gopls_directory_filters = ['-services/rabbitmq-client', '-services/thin-client']
" Do not load govim in diff mode.
if &diff
let g:govimpluginloaded = 1
endif
" let $GOVIM_GOPLS_FLAGS="-debug=localhost:6060 -logfile=/home/i/tmp/gopls.log"
let $GOVIM_GOPLS_FLAGS="-logfile=auto"
let $GOVIM_USE_GOPLS_FROM_PATH = "true"
endif
if isdirectory($PLUGDIR . '/vifm.vim')
let g:vifm_exec_args = "-c 'only | let $IN_VIM = 1'"
endif