Update doc

This commit is contained in:
Junegunn Choi
2013-10-08 10:59:17 +09:00
parent 013fb54dd1
commit fb8cf1d54a
2 changed files with 12 additions and 8 deletions

View File

@@ -153,13 +153,13 @@ try these commands:
:EasyAlign */[:;]\+/
:EasyAlign **/[:;]\+/
Notice that you can't append '\zs' to your regular expression to put delimiters
on the left. It can be done by providing additional options in Vim dictionary
format.
You can also provide a number of alignment options, which will be discussed in
detail later, to EasyAlign command in Vim dictionary format.
:EasyAlign * /[:;]\+/ { 'stick_to_left': 1, 'left_margin': 0 }
Then we get:
Which means that the matched delimiter should be positioned right next to the
preceding token, without margin on the left. So we get:
apple;: banana:: cake
data;; exchange:; format