<commit_before>" Vim filetype plugin
" Language:              [ba]sh script
" Maintainer:            <NAME> <<EMAIL>>

if exists('b:undo_ftplugin')
  let b:undo_ftplugin .= ' | '
else
  let b:undo_ftplugin = ''
endif

xnoremap <buffer> <silent> iv :<C-u>call sh#in_parameter_expansion()<CR>
onoremap <buffer> <silent> iv :<C-u>call sh#in_parameter_expansion()<CR>


if !exists("*MyShPEFtpluginUndo")
  function MyShPEFtpluginUndo()
    silent! xunmap <buffer> iv
    silent! ounmap <buffer> iv
  endfunction
endif

let b:undo_ftplugin .= 'call MyShPEFtpluginUndo()'<commit_msg>Add "quote variable" mapping to sh ftplugin<commit_after>" Vim filetype plugin
" Language:              [ba]sh script
" Maintainer:            <NAME> <<EMAIL>>

if exists('b:undo_ftplugin')
  let b:undo_ftplugin .= ' | '
else
  let b:undo_ftplugin = ''
endif

xnoremap <buffer> <silent> iv :<C-u>call sh#in_parameter_expansion()<CR>
onoremap <buffer> <silent> iv :<C-u>call sh#in_parameter_expansion()<CR>

" Relies on surround.vim and custom text object above
nmap <buffer> <silent> <LocalLeader>qv ysiv"

if !exists("*MyShPEFtpluginUndo")
  function MyShPEFtpluginUndo()
    silent! xunmap <buffer> iv
    silent! ounmap <buffer> iv
    silent! ounmap <buffer> <LocalLeader>qv
  endfunction
endif

let b:undo_ftplugin .= 'call MyShPEFtpluginUndo()'
{'fraction_non_alphanumeric': 0.12961567445365485, 'fraction_numerical': 0.0, 'mean_word_length': 4.533333333333333, 'pattern_counts': {'":': 0, '<': 34, '<?xml version=': 0, '>': 34, 'https://': 0, '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': '5101971', 'n_tokens_mistral': 502, 'n_tokens_neox': 499, 'n_words': 118}