diff --git a/autoload/SpaceVim/layers/lang/agda.vim b/autoload/SpaceVim/layers/lang/agda.vim index a5796253f..eec664233 100644 --- a/autoload/SpaceVim/layers/lang/agda.vim +++ b/autoload/SpaceVim/layers/lang/agda.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for agda. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#agda" " < " diff --git a/autoload/SpaceVim/layers/lang/asciidoc.vim b/autoload/SpaceVim/layers/lang/asciidoc.vim index 1ba820ea2..e768d2aaf 100644 --- a/autoload/SpaceVim/layers/lang/asciidoc.vim +++ b/autoload/SpaceVim/layers/lang/asciidoc.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for asciidoc. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#asciidoc" " < diff --git a/autoload/SpaceVim/layers/lang/aspectj.vim b/autoload/SpaceVim/layers/lang/aspectj.vim index 2a1f14181..d09278dba 100644 --- a/autoload/SpaceVim/layers/lang/aspectj.vim +++ b/autoload/SpaceVim/layers/lang/aspectj.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for aspectj. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#aspectj" " < diff --git a/autoload/SpaceVim/layers/lang/assembly.vim b/autoload/SpaceVim/layers/lang/assembly.vim index 2d7da870e..77afc663a 100644 --- a/autoload/SpaceVim/layers/lang/assembly.vim +++ b/autoload/SpaceVim/layers/lang/assembly.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for assembly. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#assembly" " < diff --git a/autoload/SpaceVim/layers/lang/autohotkey.vim b/autoload/SpaceVim/layers/lang/autohotkey.vim index 3a3c2d6be..995fb57ae 100644 --- a/autoload/SpaceVim/layers/lang/autohotkey.vim +++ b/autoload/SpaceVim/layers/lang/autohotkey.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for autohotkey. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#autohotkey" " < diff --git a/autoload/SpaceVim/layers/lang/autoit.vim b/autoload/SpaceVim/layers/lang/autoit.vim index 371121901..223371bac 100644 --- a/autoload/SpaceVim/layers/lang/autoit.vim +++ b/autoload/SpaceVim/layers/lang/autoit.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for autoit. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#autoit" " < " diff --git a/autoload/SpaceVim/layers/lang/clojure.vim b/autoload/SpaceVim/layers/lang/clojure.vim index aca974eac..c5bc98576 100644 --- a/autoload/SpaceVim/layers/lang/clojure.vim +++ b/autoload/SpaceVim/layers/lang/clojure.vim @@ -13,7 +13,7 @@ " highlighting, code indent, code runner and REPL. This layer is not enabled " by default, To enable this layer: " > -" [layers] +" [[layers]] " name = "lang#clojure" " < " diff --git a/autoload/SpaceVim/layers/lang/crystal.vim b/autoload/SpaceVim/layers/lang/crystal.vim index e09919897..a3672295f 100644 --- a/autoload/SpaceVim/layers/lang/crystal.vim +++ b/autoload/SpaceVim/layers/lang/crystal.vim @@ -14,7 +14,7 @@ " The lang#crystal layer provides crystal filetype detection and syntax highlight, " crystal tool and crystal spec integration. To enable this layer: " > -" [layers] +" [[layers]] " name = "lang#crystal" " < " diff --git a/autoload/SpaceVim/layers/lang/csharp.vim b/autoload/SpaceVim/layers/lang/csharp.vim index ccebe186b..60a29716d 100644 --- a/autoload/SpaceVim/layers/lang/csharp.vim +++ b/autoload/SpaceVim/layers/lang/csharp.vim @@ -14,7 +14,7 @@ " This layer includes utilities and language-specific mappings for csharp development. " By default it is disabled, to enable this layer: " > -" [layers] +" [[layers]] " name = "lang#csharp" " < " diff --git a/autoload/SpaceVim/layers/lang/dart.vim b/autoload/SpaceVim/layers/lang/dart.vim index 560e8702d..83c1e50fb 100644 --- a/autoload/SpaceVim/layers/lang/dart.vim +++ b/autoload/SpaceVim/layers/lang/dart.vim @@ -16,7 +16,7 @@ " syntax checker which is loaded in @section(layer-checkers). To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#dart" " < " diff --git a/autoload/SpaceVim/layers/lang/e.vim b/autoload/SpaceVim/layers/lang/e.vim index f35ce38a4..f37efd360 100644 --- a/autoload/SpaceVim/layers/lang/e.vim +++ b/autoload/SpaceVim/layers/lang/e.vim @@ -14,7 +14,7 @@ " This layer includes utilities and language-specific mappings for e development. " By default it is disabled, to enable this layer: " > -" [layers] +" [[layers]] " name = "lang#e" " < diff --git a/autoload/SpaceVim/layers/lang/go.vim b/autoload/SpaceVim/layers/lang/go.vim index fe7859738..cc6e958be 100644 --- a/autoload/SpaceVim/layers/lang/go.vim +++ b/autoload/SpaceVim/layers/lang/go.vim @@ -21,7 +21,7 @@ " `gometalinter` " 2. go_file_head: the default file head for golang source code. " > -" [layers] +" [[layers]] " name = "lang#go" " go_file_head = [ " '#!/usr/bin/python3', diff --git a/autoload/SpaceVim/layers/lang/graphql.vim b/autoload/SpaceVim/layers/lang/graphql.vim index 1ad0c02f1..0ccaf04e1 100644 --- a/autoload/SpaceVim/layers/lang/graphql.vim +++ b/autoload/SpaceVim/layers/lang/graphql.vim @@ -14,7 +14,7 @@ " The lang#graphql layer provides syntax highlighting indent for graphql. To " enable this layer: " > -" [layers] +" [[layers]] " name = "lang#graphql" " < " diff --git a/autoload/SpaceVim/layers/lang/html.vim b/autoload/SpaceVim/layers/lang/html.vim index a585aa108..4e011071a 100644 --- a/autoload/SpaceVim/layers/lang/html.vim +++ b/autoload/SpaceVim/layers/lang/html.vim @@ -12,7 +12,7 @@ " This layer is for html development, disabled by default, to enable this " layer, add following snippet to your SpaceVim configuration file. " > -" [layers] +" [[layers]] " name = "lang#html" " < " @@ -21,7 +21,7 @@ " - `emmet_leader_key`: change the default leader key for emmet " - `emmet_filetyps`: Set the filetypes for enabling emmet " > -" [layers] +" [[layers]] " name = "lang#html" " emmet_leader_key = "" " emmet_filetyps = ['html'] diff --git a/autoload/SpaceVim/layers/lang/javascript.vim b/autoload/SpaceVim/layers/lang/javascript.vim index 3f41ca17d..d1bbfdefa 100644 --- a/autoload/SpaceVim/layers/lang/javascript.vim +++ b/autoload/SpaceVim/layers/lang/javascript.vim @@ -12,7 +12,7 @@ " This layer is for JavaScript development, includes syntax lint, code " completion etc. To enable this layer: " > -" [layers] +" [[layers]] " name = "lang#javascript" " < " The code linter is eslint, install eslint via: @@ -24,7 +24,7 @@ " 1. auto_fix: If this option is true, --fix will be added to neomake eslint " maker. " > -" [layers] +" [[layers]] " name = "lang#javascript" " auto_fix = true " < diff --git a/autoload/SpaceVim/layers/lang/json.vim b/autoload/SpaceVim/layers/lang/json.vim index 6d3983a4b..c9aaadf89 100644 --- a/autoload/SpaceVim/layers/lang/json.vim +++ b/autoload/SpaceVim/layers/lang/json.vim @@ -11,7 +11,7 @@ " @parentsection layers " This layer provides syntax highlighting for json file. To enable this layer: " > -" [layers] +" [[layers]] " name = "lang#json" " < " @@ -22,7 +22,7 @@ " 2. concealcursor: Set the valuable for |g:vim_json_syntax_concealcursor| " " > -" [layers] +" [[layers]] " name = 'lang#json' " conceal = false " concealcursor = '' diff --git a/autoload/SpaceVim/layers/lang/liquid.vim b/autoload/SpaceVim/layers/lang/liquid.vim index 0084f3f62..38a21bd00 100644 --- a/autoload/SpaceVim/layers/lang/liquid.vim +++ b/autoload/SpaceVim/layers/lang/liquid.vim @@ -12,7 +12,7 @@ " This layer provides syntax highlighting for liquid. To enable this " layer: " > -" [layers] +" [[layers]] " name = "lang#liquid" " < diff --git a/autoload/SpaceVim/layers/lang/lua.vim b/autoload/SpaceVim/layers/lang/lua.vim index 195b52b60..cf3e892a7 100644 --- a/autoload/SpaceVim/layers/lang/lua.vim +++ b/autoload/SpaceVim/layers/lang/lua.vim @@ -19,7 +19,7 @@ " " 1. lua_file_head: the default file head for lua source code. " > -" [layers] +" [[layers]] " name = "lang#lua" " ruby_file_head = [ " '--!/usr/bin/lua', diff --git a/autoload/SpaceVim/layers/lang/python.vim b/autoload/SpaceVim/layers/lang/python.vim index fceaf4653..714f67020 100644 --- a/autoload/SpaceVim/layers/lang/python.vim +++ b/autoload/SpaceVim/layers/lang/python.vim @@ -22,7 +22,7 @@ " " 1. python_file_head: the default file head for python source code. " > -" [layers] +" [[layers]] " name = "lang#python" " python_file_head = [ " '#!/usr/bin/python3', diff --git a/autoload/SpaceVim/layers/lang/ring.vim b/autoload/SpaceVim/layers/lang/ring.vim index c738a896f..225079aea 100644 --- a/autoload/SpaceVim/layers/lang/ring.vim +++ b/autoload/SpaceVim/layers/lang/ring.vim @@ -20,7 +20,7 @@ " " 1. ring_repl: Set the path of ring repl. " > -" [layers] +" [[layers]] " name = "lang#ring" " ring_repl = "/path/to/repl.ring" " < diff --git a/autoload/SpaceVim/layers/lang/ruby.vim b/autoload/SpaceVim/layers/lang/ruby.vim index 7fc433fa2..041b78c56 100644 --- a/autoload/SpaceVim/layers/lang/ruby.vim +++ b/autoload/SpaceVim/layers/lang/ruby.vim @@ -20,7 +20,7 @@ " " 1. ruby_file_head: the default file head for ruby source code. " > -" [layers] +" [[layers]] " name = "lang#ruby" " ruby_file_head = [ " '#!/usr/bin/ruby -w', diff --git a/autoload/SpaceVim/layers/lang/swift.vim b/autoload/SpaceVim/layers/lang/swift.vim index 6f5aa8d15..49688c910 100644 --- a/autoload/SpaceVim/layers/lang/swift.vim +++ b/autoload/SpaceVim/layers/lang/swift.vim @@ -12,7 +12,7 @@ " This layer is for swift development, including syntax highlighting and " indent. To enable it: " > -" [layers] +" [[layers]] " name = "lang#swift" " < " @subsection Mappings diff --git a/autoload/SpaceVim/layers/lang/swig.vim b/autoload/SpaceVim/layers/lang/swig.vim index e5468c88a..2085d1244 100644 --- a/autoload/SpaceVim/layers/lang/swig.vim +++ b/autoload/SpaceVim/layers/lang/swig.vim @@ -12,7 +12,7 @@ " This layer is for swig development, including syntax highlighting and " indent. To enable it: " > -" [layers] +" [[layers]] " name = "lang#swig" " < diff --git a/autoload/SpaceVim/layers/lang/toml.vim b/autoload/SpaceVim/layers/lang/toml.vim index 6cf6e0dcb..fa48f08c3 100644 --- a/autoload/SpaceVim/layers/lang/toml.vim +++ b/autoload/SpaceVim/layers/lang/toml.vim @@ -11,7 +11,7 @@ " @parentsection layers " This layer provides basic syntax highlighting for toml. To enable it: " > -" [layers] +" [[layers]] " name = "lang#toml" " < diff --git a/autoload/SpaceVim/layers/lang/typescript.vim b/autoload/SpaceVim/layers/lang/typescript.vim index 21e0e8f3d..206d7f2e4 100644 --- a/autoload/SpaceVim/layers/lang/typescript.vim +++ b/autoload/SpaceVim/layers/lang/typescript.vim @@ -13,7 +13,7 @@ " To enable this layer, add following snippet into SpaceVim configuration " file. " > -" [layers] +" [[layers]] " name = 'lang#typescript' " < " @subsection key bindings diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index ec1eb9288..c26d498ce 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -2313,7 +2313,7 @@ LANG#AGDA *SpaceVim-layers-lang-agda* This layer provides syntax highlighting for agda. To enable this layer: > - [layers] + [[layers]] name = "lang#agda" < @@ -2347,7 +2347,7 @@ LANG#ASCIIDOC *SpaceVim-layers-lang-asciidoc* This layer provides syntax highlighting for asciidoc. To enable this layer: > - [layers] + [[layers]] name = "lang#asciidoc" < @@ -2356,7 +2356,7 @@ LANG#ASPECTJ *SpaceVim-layers-lang-aspectj* This layer provides syntax highlighting for aspectj. To enable this layer: > - [layers] + [[layers]] name = "lang#aspectj" < @@ -2365,7 +2365,7 @@ LANG#ASSEMBLY *SpaceVim-layers-lang-assembly* This layer provides syntax highlighting for assembly. To enable this layer: > - [layers] + [[layers]] name = "lang#assembly" < @@ -2374,7 +2374,7 @@ LANG#AUTOHOTKEY *SpaceVim-layers-lang-autohotkey* This layer provides syntax highlighting for autohotkey. To enable this layer: > - [layers] + [[layers]] name = "lang#autohotkey" < @@ -2383,7 +2383,7 @@ LANG#AUTOIT *SpaceVim-layers-lang-autoit* This layer provides syntax highlighting for autoit. To enable this layer: > - [layers] + [[layers]] name = "lang#autoit" < @@ -2546,7 +2546,7 @@ This layer provides clojure language support in SpaceVim. Including syntax highlighting, code indent, code runner and REPL. This layer is not enabled by default, To enable this layer: > - [layers] + [[layers]] name = "lang#clojure" < @@ -2626,7 +2626,7 @@ INTRO The lang#crystal layer provides crystal filetype detection and syntax highlight, crystal tool and crystal spec integration. To enable this layer: > - [layers] + [[layers]] name = "lang#crystal" < @@ -2656,7 +2656,7 @@ INTRO This layer includes utilities and language-specific mappings for csharp development. By default it is disabled, to enable this layer: > - [layers] + [[layers]] name = "lang#csharp" < @@ -2718,7 +2718,7 @@ The lang#dart layer provides code completion, documentation lookup, jump to definition, dart_repl integration for dart. It uses neomake as default syntax checker which is loaded in |SpaceVim-layer-checkers|. To enable this layer: > - [layers] + [[layers]] name = "lang#dart" < @@ -2769,7 +2769,7 @@ INTRO This layer includes utilities and language-specific mappings for e development. By default it is disabled, to enable this layer: > - [layers] + [[layers]] name = "lang#e" < @@ -3025,7 +3025,7 @@ option is `['golint']`. The available linters includes: `go`, `gometalinter` 2. go_file_head: the default file head for golang source code. > - [layers] + [[layers]] name = "lang#go" go_file_head = [ '#!/usr/bin/python3', @@ -3145,7 +3145,7 @@ INTRO The lang#graphql layer provides syntax highlighting indent for graphql. To enable this layer: > - [layers] + [[layers]] name = "lang#graphql" < @@ -3293,7 +3293,7 @@ LANG#HTML *SpaceVim-layers-lang-html* This layer is for html development, disabled by default, to enable this layer, add following snippet to your SpaceVim configuration file. > - [layers] + [[layers]] name = "lang#html" < @@ -3303,7 +3303,7 @@ OPTIONS `emmet_filetyps`: Set the filetypes for enabling emmet > - [layers] + [[layers]] name = "lang#html" emmet_leader_key = "" emmet_filetyps = ['html'] @@ -3587,7 +3587,7 @@ LANG#JAVASCRIPT *SpaceVim-layers-lang-javascript* This layer is for JavaScript development, includes syntax lint, code completion etc. To enable this layer: > - [layers] + [[layers]] name = "lang#javascript" < The code linter is eslint, install eslint via: @@ -3599,7 +3599,7 @@ LAYER OPTION 1. auto_fix: If this option is true, --fix will be added to neomake eslint maker. > - [layers] + [[layers]] name = "lang#javascript" auto_fix = true < @@ -3655,7 +3655,7 @@ LANG#JSON *SpaceVim-layers-lang-json* This layer provides syntax highlighting for json file. To enable this layer: > - [layers] + [[layers]] name = "lang#json" < @@ -3667,7 +3667,7 @@ OPTIONS > - [layers] + [[layers]] name = 'lang#json' conceal = false concealcursor = '' @@ -3803,7 +3803,7 @@ LANG#LIQUID *SpaceVim-layers-lang-liquid* This layer provides syntax highlighting for liquid. To enable this layer: > - [layers] + [[layers]] name = "lang#liquid" < @@ -3880,7 +3880,7 @@ LAYER OPTIONS 1. lua_file_head: the default file head for lua source code. > - [layers] + [[layers]] name = "lang#lua" ruby_file_head = [ '--!/usr/bin/lua', @@ -4386,7 +4386,7 @@ OPTIONS 1. python_file_head: the default file head for python source code. > - [layers] + [[layers]] name = "lang#python" python_file_head = [ '#!/usr/bin/python3', @@ -4558,7 +4558,7 @@ OPTIONS 1. ring_repl: Set the path of ring repl. > - [layers] + [[layers]] name = "lang#ring" ring_repl = "/path/to/repl.ring" < @@ -4598,7 +4598,7 @@ OPTIONS 1. ruby_file_head: the default file head for ruby source code. > - [layers] + [[layers]] name = "lang#ruby" ruby_file_head = [ '#!/usr/bin/ruby -w', @@ -5003,7 +5003,7 @@ LANG#SWIG *SpaceVim-layers-lang-swift* This layer is for swift development, including syntax highlighting and indent. To enable it: > - [layers] + [[layers]] name = "lang#swift" < MAPPINGS @@ -5031,7 +5031,7 @@ LANG#SWIG *SpaceVim-layers-lang-swig* This layer is for swig development, including syntax highlighting and indent. To enable it: > - [layers] + [[layers]] name = "lang#swig" < @@ -5108,7 +5108,7 @@ LANG#TOML *SpaceVim-layers-lang-toml* This layer provides basic syntax highlighting for toml. To enable it: > - [layers] + [[layers]] name = "lang#toml" < @@ -5118,7 +5118,7 @@ LANG#TYPESCRIPT *SpaceVim-layers-lang-typescript* This layer provides typescript development support for SpaceVim. To enable this layer, add following snippet into SpaceVim configuration file. > - [layers] + [[layers]] name = 'lang#typescript' < KEY BINDINGS diff --git a/docs/cn/layers/lang/html.md b/docs/cn/layers/lang/html.md index 1de5bdaa0..1e6675af3 100644 --- a/docs/cn/layers/lang/html.md +++ b/docs/cn/layers/lang/html.md @@ -44,7 +44,7 @@ npm install --global vscode-html-languageserver-bin - `emmet_filetyps`:设置启用 emmet 插件的文件类型列表。 ```toml - [layers] + [[layers]] name = "lang#html" emmet_leader_key = "" emmet_filetyps = ['html']