diff --git a/docs/layers.md b/docs/layers.md index 30ba3a65a..238fd5692 100644 --- a/docs/layers.md +++ b/docs/layers.md @@ -83,6 +83,7 @@ Some layers are enabled by default. The following example shows how to disable ` | [denite](denite/) | This layers provide a heavily customized Denite centric work-flow | | [edit](edit/) | Improve code edit expr in SpaceVim, provide more text opjects. | | [floobits](floobits/) | This layer adds support for the peer programming tool floobits to SpaceVim. | +| [foldsearch](foldsearch/) | This layer provides functions that fold away lines that don't match a specific search pattern.| | [format](format/) | Code formatting support for SpaceVim | | [fzf](fzf/) | This layers provide a heavily customized fzf centric work-flow | | [git](git/) | This layers adds extensive support for git | diff --git a/docs/layers/foldsearch.md b/docs/layers/foldsearch.md index a60efb057..c1f3753d0 100644 --- a/docs/layers/foldsearch.md +++ b/docs/layers/foldsearch.md @@ -24,7 +24,7 @@ The search pattern can be a word or a regular expression. To use this layer, add it to your configuration file. ```toml -[layers] +[[layers]] name = "foldsearch" ``` @@ -36,7 +36,7 @@ This layer requires [ripgrep](https://github.com/BurntSushi/ripgrep). the highlight: ```toml -[layers] +[[layers]] name = "foldsearch" foldsearch_highlight = false ```