mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-13 12:23:48 -05:00
Update documentation
This commit is contained in:
10
README.md
10
README.md
@@ -646,11 +646,11 @@ Other options
|
||||
### Disabling &foldmethod during alignment
|
||||
|
||||
[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
|
||||
editing a large, complex file with many folds. To alleviate this issue,
|
||||
EasyAlign provides an option to temporarily set &foldmethod to manual during the
|
||||
alignment task. In order to enable this feature, set `g:easy_align_bypass_fold`
|
||||
switch to 1.
|
||||
`&foldmethod` setting of `expr` or `syntax` can significantly slow down the
|
||||
alignment when editing a large, complex file with many folds. To alleviate this
|
||||
issue, EasyAlign provides an option to temporarily set `&foldmethod` to `manual`
|
||||
during the alignment task. In order to enable this feature, set
|
||||
`g:easy_align_bypass_fold` switch to 1.
|
||||
|
||||
```vim
|
||||
let g:easy_align_bypass_fold = 1
|
||||
|
||||
@@ -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
|
||||
down the alignment when editing a large, complex file with many folds. To
|
||||
alleviate this issue, EasyAlign provides an option to temporarily set
|
||||
&foldmethod to manual during the alignment task. In order to enable this
|
||||
feature, set g:easy_align_bypass_fold to 1.
|
||||
It is reported that `foldmethod` value of expr or syntax can significantly
|
||||
slow down the alignment when editing a large, complex file with many
|
||||
folds. To alleviate this issue, EasyAlign provides an option to
|
||||
temporarily set `foldmethod` to manual during the alignment task.
|
||||
In order to enable this feature, set g:easy_align_bypass_fold to 1.
|
||||
|
||||
let g:easy_align_bypass_fold = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user