Use search pattern as delimiter if empty regex is given

Close #78
This commit is contained in:
Junegunn Choi
2016-03-06 13:47:17 +09:00
parent dd98d0a895
commit 0cb6b98fc1
2 changed files with 12 additions and 3 deletions

View File

@@ -105,6 +105,14 @@ Expect:
ap><pl><e;><:;><;b><an><an><a:><:c><ak>e
da><ta><;;><ex><ch><an><ge><:;><::><fo> <rm><at
Execute (Use current search pattern as delimiter if empty regular expression is given):
/an
%EasyAlign*//
Expect:
apple;:;;b an an a::cake
data;;exch an ge:;::format
Given javascript (json):
var jdbc = {
// JDBC driver for MySQL database: