<commit_before>" vim-quickrun {{{
"let g:KazuakiMDatabase = [
"    \ '--user=xxxx --password=<PASSWORD> --host=xxxx --port=3306 --database=database --connect-timeout=20']
"let g:quickrun_config['sql/mysql']['cmdopt'] = g:KazuakiMDatabase[0]
"}}}

function! s:setTags(name, other) abort "{{{
    if match(expand('%:p:h'), 'test') > 0
        let &l:tags = $HOME . '/.vim/tags/' . a:name . 'Test.tags' . a:other
    else
        let &l:tags = $HOME . '/.vim/tags/' . a:name . '.tags' . a:other
    endif
endfunction "}}}

function! s:rsync(from, to) "{{{
    let g:quickrun_config['rsync'] = {
    \   'command': 'rsync',
    \   'cmdopt' : '-rlpz --delete --exclude=".git/" ' . a:from . ' ' . a:to,
    \   'exec':    '%c %o'
    \}
    QuickRun rsync
endfunction "}}}

"autocmd MyAutoCmd BufWritePost /srv/doc/* call s:rsync('/srv/doc/', '/Users/mabuchikazuaki/work/test')

"autocmd MyAutoCmd BufNewFile,BufRead,TabNew $HOME/sample/*.php          call s:setTags('sample', ',' . $HOME . '/.vim/tags/global.tags')
"autocmd MyAutoCmd BufNewFile,BufRead,TabNew $HOME/huga/*.{js,json,html} setlocal tags=$HOME/.vim/tags/huga.tags
"autocmd MyAutoCmd BufNewFile,BufRead,TabNew C:/usr/local/src/hoge/*.php setlocal tags=$HOME/.vim/tags/hoge.tags

"vim-ms-translator {{{
" @url https://portal.azure.com
"let g:mstranslator#Config.subscription_key = 'check Google Drive'
"}}}
<commit_msg> Update rsync setting<commit_after>" vim-quickrun {{{
"let g:KazuakiMDatabase = [
"    \ '--user=xxxx --password=<PASSWORD> --host=xxxx --port=3306 --database=database --connect-timeout=20']
"let g:quickrun_config['sql/mysql']['cmdopt'] = g:KazuakiMDatabase[0]
"}}}

function! s:setTags(name, other) abort "{{{
    if match(expand('%:p:h'), 'test') > 0
        let &l:tags = $HOME . '/.vim/tags/' . a:name . 'Test.tags' . a:other
    else
        let &l:tags = $HOME . '/.vim/tags/' . a:name . '.tags' . a:other
    endif
endfunction "}}}

function! s:rsync(from, to) "{{{
    let g:quickrun_config['rsync'] = {
    \   'command':               'rsync',
    \   'cmdopt':                '-rlpz --delete --exclude=".git/" ' . a:from . ' ' . a:to,
    \   'exec':                  '%c %o',
    \   'outputter':             'error',
    \   'outputter/error/error': 'quickfix'
    \}
    QuickRun rsync
endfunction "}}}

"autocmd MyAutoCmd BufWritePost /srv/doc/* call s:rsync('/srv/doc/', '/Users/mabuchikazuaki/work/test')

"autocmd MyAutoCmd BufNewFile,BufRead,TabNew $HOME/sample/*.php          call s:setTags('sample', ',' . $HOME . '/.vim/tags/global.tags')
"autocmd MyAutoCmd BufNewFile,BufRead,TabNew $HOME/huga/*.{js,json,html} setlocal tags=$HOME/.vim/tags/huga.tags
"autocmd MyAutoCmd BufNewFile,BufRead,TabNew C:/usr/local/src/hoge/*.php setlocal tags=$HOME/.vim/tags/hoge.tags

"vim-ms-translator {{{
" @url https://portal.azure.com
"let g:mstranslator#Config.subscription_key = 'check Google Drive'
"}}}

{'fraction_non_alphanumeric': 0.20601451780159005, 'fraction_numerical': 0.00553059108192188, 'mean_word_length': 3.1820809248554913, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4969419', 'n_tokens_mistral': 1147, 'n_tokens_neox': 1108, 'n_words': 191}