test
This commit is contained in:
parent
1b7a90437c
commit
7f461bc84d
@ -53,7 +53,9 @@ endfunction
|
|||||||
"2. if formatprg!="" run regular gq
|
"2. if formatprg!="" run regular gq
|
||||||
"3. else run =
|
"3. else run =
|
||||||
|
|
||||||
nnoremap gq :call g:set_formatprg()<cr>gq
|
"if(!g:set_formatprg()) | nnoremap gq = | endif
|
||||||
|
"nnoremap gq if(g:set_formatprg()) | gq | else | =
|
||||||
|
"nnoremap <expr> gq g:set_formatprg() ? gq : =
|
||||||
"noremap gq :call g:set_formatprg()<cr>gq
|
"noremap gq :call g:set_formatprg()<cr>gq
|
||||||
"nnoremap gq :call <SID>gq("normal")<cr>
|
"nnoremap gq :call <SID>gq("normal")<cr>
|
||||||
"vnoremap gq :call <SID>gq("visual")<cr>
|
"vnoremap gq :call <SID>gq("visual")<cr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user