vim-endwise
vim-endwise copied to clipboard
add support for opening code block delimiters too
Hello, how can i avoid having to type the opening delimiter in order to get automatically inserted the closing one? Given a lua example where "|" is the cursor, i'd like to get from this:
if condition|
to this:
if condition then
|
end
or in a bash example:
while condition|
while condition do
|
done
At the moment i still have to type "then" or "do" in order to tell the plugin i'm opening a code block, i'd like to just press