vim-endwise icon indicating copy to clipboard operation
vim-endwise copied to clipboard

add support for opening code block delimiters too

Open newbiePythonist opened this issue 1 year ago • 0 comments

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 and see it open and closes automatically my code block. Thanks

newbiePythonist avatar Jan 28 '24 11:01 newbiePythonist