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
|
fi
|
||||||
|
|
||||||
case "${type_selection}" in
|
case "${type_selection}" in
|
||||||
vim) tr=$(translate_opt_vim "${name_option}" "${value_option}");;
|
vim) translate_opt_vim "${name_option}" "${value_option}";;
|
||||||
kakoune) tr=$(translate_opt_kakoune "${name_option}" "${value_option}");;
|
kakoune) translate_opt_kakoune "${name_option}" "${value_option}";;
|
||||||
*) tr="";;
|
*) exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -n "${tr}" ]; then
|
|
||||||
printf %s\\n "${tr}"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user