Update documentation

This commit is contained in:
Junegunn Choi
2013-10-15 23:07:14 +09:00
parent 831cecdaf2
commit aa62ca4603
2 changed files with 11 additions and 11 deletions

View File

@@ -646,11 +646,11 @@ Other options
### Disabling &foldmethod during alignment ### Disabling &foldmethod during alignment
[It is reported](https://github.com/junegunn/vim-easy-align/issues/14) that [It is reported](https://github.com/junegunn/vim-easy-align/issues/14) that
&foldmethod of `expr` or `syntax` can significantly slow down the alignment when `&foldmethod` setting of `expr` or `syntax` can significantly slow down the
editing a large, complex file with many folds. To alleviate this issue, alignment when editing a large, complex file with many folds. To alleviate this
EasyAlign provides an option to temporarily set &foldmethod to manual during the issue, EasyAlign provides an option to temporarily set `&foldmethod` to `manual`
alignment task. In order to enable this feature, set `g:easy_align_bypass_fold` during the alignment task. In order to enable this feature, set
switch to 1. `g:easy_align_bypass_fold` switch to 1.
```vim ```vim
let g:easy_align_bypass_fold = 1 let g:easy_align_bypass_fold = 1

View File

@@ -524,14 +524,14 @@ you can extend the rules by setting a dictionary named
\ } \ }
Disabling &foldmethod during alignment *g:easy_align_bypass_fold* Disabling `foldmethod` during alignment *g:easy_align_bypass_fold*
------------------------------------------------------------------------- -------------------------------------------------------------------------
It is reported that &foldmethod of expr or syntax can significantly slow It is reported that `foldmethod` value of expr or syntax can significantly
down the alignment when editing a large, complex file with many folds. To slow down the alignment when editing a large, complex file with many
alleviate this issue, EasyAlign provides an option to temporarily set folds. To alleviate this issue, EasyAlign provides an option to
&foldmethod to manual during the alignment task. In order to enable this temporarily set `foldmethod` to manual during the alignment task.
feature, set g:easy_align_bypass_fold to 1. In order to enable this feature, set g:easy_align_bypass_fold to 1.
let g:easy_align_bypass_fold = 1 let g:easy_align_bypass_fold = 1