Revert C-style variable definition example

This commit is contained in:
Junegunn Choi
2013-08-23 17:55:35 +09:00
parent 25fec2e955
commit 6b275b8a46

View File

@@ -369,14 +369,14 @@ So what do we do? Let's try to improve our alignment rule.
```vim ```vim
let g:easy_align_delimiters['d'] = { let g:easy_align_delimiters['d'] = {
\ 'pattern': ' \(\S\+\s*[;=,]\)\@=', \ 'pattern': ' \(\S\+\s*[;=]\)\@=',
\ 'left_margin': 0, 'right_margin': 0 \ 'left_margin': 0, 'right_margin': 0
\ } \ }
``` ```
Now the new rule has changed to align text around spaces that are followed Now the new rule has changed to align text around spaces that are followed
by some non-whitespace characters and then an equals sign, a comma, or a by some non-whitespace characters and then an equals sign or a semi-colon.
semi-colon. Try `<Enter>d` Try `<Enter>d`
```c ```c
const char* str = "Hello"; const char* str = "Hello";