mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-13 20:33: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
|
### 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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user