1
0
Fork 0
mirror of synced 2024-11-17 06:25:35 -05:00

Ensure we have a leading space in key comments

It's related to bindings  in JavaScript and Python.
This commit is contained in:
Amir Salihefendic 2018-02-07 15:22:29 +01:00
parent 8eeefe86c2
commit 3753456a09

View file

@ -12,7 +12,7 @@ au FileType python map <buffer> F :set foldmethod=indent<cr>
au FileType python inoremap <buffer> $r return
au FileType python inoremap <buffer> $i import
au FileType python inoremap <buffer> $p print
au FileType python inoremap <buffer> $f #--- <esc>a
au FileType python inoremap <buffer> $f # --- <esc>a
au FileType python map <buffer> <leader>1 /class
au FileType python map <buffer> <leader>2 /def
au FileType python map <buffer> <leader>C ?class
@ -33,7 +33,7 @@ au FileType javascript imap <c-t> $log();<esc>hi
au FileType javascript imap <c-a> alert();<esc>hi
au FileType javascript inoremap <buffer> $r return
au FileType javascript inoremap <buffer> $f //--- PH<esc>FP2xi
au FileType javascript inoremap <buffer> $f // --- PH<esc>FP2xi
function! JavaScriptFold()
setl foldmethod=syntax