Merge remote-tracking branch 'bb010g/patch-1'

This commit is contained in:
Maxime Coste 2015-10-01 22:23:14 +01:00
commit 8898571a44

View File

@ -150,8 +150,8 @@ decl str-list alt_dirs ".;.."
def c-family-alternative-file -docstring "Jump to the alternate file (header/implementation)" %{ %sh{ def c-family-alternative-file -docstring "Jump to the alternate file (header/implementation)" %{ %sh{
alt_dirs=$(echo ${kak_opt_alt_dirs} | sed -e 's/;/ /g') alt_dirs=$(echo ${kak_opt_alt_dirs} | sed -e 's/;/ /g')
file=$(basename ${kak_buffile}) file=$(basename "${kak_buffile}")
dir=$(dirname ${kak_buffile}) dir=$(dirname "${kak_buffile}")
case ${file} in case ${file} in
*.c|*.cc|*.cpp|*.cxx|*.C|*.inl|*.m) *.c|*.cc|*.cpp|*.cxx|*.C|*.inl|*.m)