A plugin that re-implements pre-1.10.6 link alias behaviour

I made a small and simple plugin to revert the pre-1.10.6 link alias behaviour so links created with full vault paths are automatically aliased to the file name. A summary of this issue is in this thread: https://forum.obsidian.md/t/bring-back-revert-option-for-automatically-adding-an-alias-to-links-with-a-vault-path

Example: without this plugin, linking to [[Worldbuilding/1 Reality Multiverse/Concepts/Physics/Dimensional/Dimensional Plane]] will be rendered as Worldbuilding/1 Reality Multiverse/Concepts/Physics/Dimensional/Dimensional Plane. With this plugin, the link is rendered as Dimensional Plane.