mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 10:32:19 +03:00
Small tweak in c-family-alternative-file error handling
This commit is contained in:
parent
d2e8bd2431
commit
dd9533e625
@ -141,13 +141,13 @@ def c-family-alternative-file -docstring "Jump to the alternate file (header/imp
|
||||
done
|
||||
;;
|
||||
*)
|
||||
echo "'extension not recognized'"
|
||||
echo "echo -color Error 'extension not recognized'"
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
if [ -f ${altname} ]; then
|
||||
echo edit "'${altname}'"
|
||||
echo "edit '${altname}'"
|
||||
else
|
||||
echo echo "'alternative file not found'"
|
||||
echo "echo -color Error 'alternative file not found'"
|
||||
fi
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user