瀏覽代碼

Fix indentation in documentation

micbou 8 年之前
父節點
當前提交
51cf5f9dde
共有 2 個文件被更改,包括 36 次插入34 次删除
  1. 15 15
      README.md
  2. 21 19
      doc/youcompleteme.txt

+ 15 - 15
README.md

@@ -654,25 +654,25 @@ process.
 
 
 5. Set up support for additional languages, as desired:
 5. Set up support for additional languages, as desired:
 
 
-  - C# support: install [Mono on non-Windows platforms][mono-install]. Navigate
+    - C# support: install [Mono on non-Windows platforms][mono-install].
-    to `YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer` and run
+      Navigate to `YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer`
-    `msbuild /property:Configuration=Release` on Windows. Replace `msbuild` by
+      and run `msbuild /property:Configuration=Release` on Windows. Replace
-    `xbuild` on other platforms. On Windows, be sure that [the build utility
+      `msbuild` by `xbuild` on other platforms. On Windows, be sure that [the
-    `msbuild` is in your PATH][add-msbuild-to-path].
+      build utility `msbuild` is in your PATH][add-msbuild-to-path].
 
 
-  - Go support: install [Go][go-install] and add it to your path. Navigate to
+    - Go support: install [Go][go-install] and add it to your path. Navigate to
-    `YouCompleteMe/third_party/ycmd/third_party/gocode` and run `go build`.
+      `YouCompleteMe/third_party/ycmd/third_party/gocode` and run `go build`.
 
 
-  - TypeScript support: as with the quick installation, simply `npm install -g
+    - TypeScript support: as with the quick installation, simply `npm install -g
-    typescript` after successfully installing [Node.js and npm][npm-install].
+      typescript` after successfully installing [Node.js and npm][npm-install].
 
 
-  - JavaScript support: install [Node.js and npm][npm-install]. Then navigate to
+    - JavaScript support: install [Node.js and npm][npm-install]. Then navigate
-    `YouCompleteMe/third_party/ycmd/third_party/tern_runtime` and run `npm install
+      to `YouCompleteMe/third_party/ycmd/third_party/tern_runtime` and run `npm
-    --production`
+      install --production`
 
 
-  - Rust support: install [Rust][rust-install]. Navigate to
+    - Rust support: install [Rust][rust-install]. Navigate to
-    `YouCompleteMe/third_party/ycmd/third_party/racerd` and run
+      `YouCompleteMe/third_party/ycmd/third_party/racerd` and run `cargo build
-    `cargo build --release`.
+      --release`.
 
 
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 Don't forget that if you want the C-family semantic completion engine to work,
 Don't forget that if you want the C-family semantic completion engine to work,

+ 21 - 19
doc/youcompleteme.txt

@@ -869,25 +869,27 @@ will notify you to recompile it. You should then rerun the install process.
 
 
 5. Set up support for additional languages, as desired:
 5. Set up support for additional languages, as desired:
 
 
-6. C# support: install Mono on non-Windows platforms [41]. Navigate to
+   - C# support: install Mono on non-Windows platforms [41]. Navigate to
-   'YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer' and run
+     'YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer' and run
-   'msbuild /property:Configuration=Release' on Windows. Replace 'msbuild'
+     'msbuild /property:Configuration=Release' on Windows. Replace
-   by 'xbuild' on other platforms. On Windows, be sure that the build
+     'msbuild' by 'xbuild' on other platforms. On Windows, be sure that
-   utility 'msbuild' is in your PATH [37].
+     the build utility 'msbuild' is in your PATH [37].
-
+
-7. Go support: install Go [27] and add it to your path. Navigate to
+   - Go support: install Go [27] and add it to your path. Navigate to
-   'YouCompleteMe/third_party/ycmd/third_party/gocode' and run 'go build'.
+     'YouCompleteMe/third_party/ycmd/third_party/gocode' and run 'go
-
+     build'.
-8. TypeScript support: as with the quick installation, simply 'npm install
+
-   -g typescript' after successfully installing Node.js and npm [28].
+   - TypeScript support: as with the quick installation, simply 'npm
-
+     install -g typescript' after successfully installing Node.js and npm
-9. JavaScript support: install Node.js and npm [28]. Then navigate to
+     [28].
-   'YouCompleteMe/third_party/ycmd/third_party/tern_runtime' and run 'npm
+
-   install --production'
+   - JavaScript support: install Node.js and npm [28]. Then navigate to
-
+     'YouCompleteMe/third_party/ycmd/third_party/tern_runtime' and run
-10. Rust support: install Rust [29]. Navigate to
+     'npm install --production'
-    'YouCompleteMe/third_party/ycmd/third_party/racerd' and run 'cargo
+
-    build --release'.
+   - Rust support: install Rust [29]. Navigate to
+     'YouCompleteMe/third_party/ycmd/third_party/racerd' and run 'cargo
+     build --release'.
 
 
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 That's it. You're done. Refer to the _User Guide_ section on how to use YCM.
 Don't forget that if you want the C-family semantic completion engine to work,
 Don't forget that if you want the C-family semantic completion engine to work,