rc modeline: Print the final command directly
This commit is contained in:
parent
2a51ebf105
commit
4025ac8167
|
@ -102,14 +102,10 @@ define-command -hidden modeline-parse-impl %{
|
|||
fi
|
||||
|
||||
case "${type_selection}" in
|
||||
vim) tr=$(translate_opt_vim "${name_option}" "${value_option}");;
|
||||
kakoune) tr=$(translate_opt_kakoune "${name_option}" "${value_option}");;
|
||||
*) tr="";;
|
||||
vim) translate_opt_vim "${name_option}" "${value_option}";;
|
||||
kakoune) translate_opt_kakoune "${name_option}" "${value_option}";;
|
||||
*) exit 1;;
|
||||
esac
|
||||
|
||||
if [ -n "${tr}" ]; then
|
||||
printf %s\\n "${tr}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user