Make vim-endwise customizable? #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So Tim Pope failed to make vim-endwise customizable so this is likely a bunch of
work. However to make this a truly useful plugin it should be able to support
arbitrary insertions per filetype.
The ideal mechanism would be to have an entry point, called in the appropriate
ftplugin/*.vim
script which takes alist
of 2 or 3 elementlist
s the firstelement containing a regex to match for the trigger text, the second element
containing the end point insertion text, and the optional flags to control the
behaviour of things like indentation of the cursor.