From 133b9d475799a787e5b8795b88d82a2896680283 Mon Sep 17 00:00:00 2001 From: Lin Kun Date: Sat, 30 Mar 2019 14:00:58 +0800 Subject: [PATCH 1/2] Doc: fix a markdown sytax error. (#2714) --- docs/cn/development.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/cn/development.md b/docs/cn/development.md index 12a5b8417..a63402bcd 100644 --- a/docs/cn/development.md +++ b/docs/cn/development.md @@ -202,6 +202,7 @@ You should replace FILENAME by the name of the file (e.g. foo.vim) and NAME by t 1. fork SpaceVim repo 2. add a layer file `autoload/SpaceVim/layers/foo.vim` for `foo` layer. 3. edit layer file, check out the example below: + ```vim "============================================================================= " foo.vim --- foo Layer file for SpaceVim From afbd54a5388cd1da78903a2e2beff4e4369ea30b Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Sat, 30 Mar 2019 20:03:19 -0400 Subject: [PATCH 2/2] fix alias in Docker Hub README.md (#2715) Changed double to single quotes in the alias example so shells will interpret `$(pwd)` at alias runtime rather than load time. For background on shell double vs. single quotes, see: https://stackoverflow.com/a/5573447/749924 https://unix.stackexchange.com/a/355637/36204 Bonus Thank You's: 1. SpaceVim is awesome and I tell everyone about it. 2. The SpaceVim image is my new favorite way to test issues I'm having on host SpaceVim, and it's always my host config's fault :P --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 4ecb9c6fe..e86d021b9 100644 --- a/docker/README.md +++ b/docker/README.md @@ -38,4 +38,4 @@ but that isn't terribly useful since changes made inside the container won't be Even better is an alias `dnvim` which will do this automatically: - alias dnvim="docker run -it -v $(pwd):/home/spacevim/src nvim" + alias dnvim='docker run -it -v $(pwd):/home/spacevim/src nvim'