瀏覽代碼

Auto merge of #2324 - micbou:documentation-faq-entry-issue, r=puremourning

[READY] Fix FAQ entry in README

Wrong section level for this FAQ entry.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2324)
<!-- Reviewable:end -->
Homu 8 年之前
父節點
當前提交
e8047050cd
共有 2 個文件被更改,包括 24 次插入24 次删除
  1. 1 1
      README.md
  2. 23 23
      doc/youcompleteme.txt

+ 1 - 1
README.md

@@ -2600,7 +2600,7 @@ with `--enable-framework`):
   `PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install {version}`
 
 
-## `install.py` says python must be compiled with `--enable-framework`. Wat?
+### `install.py` says python must be compiled with `--enable-framework`. Wat?
 
 See the previous answer for how to ensure your python is built to support
 dynamic modules.

+ 23 - 23
doc/youcompleteme.txt

@@ -141,31 +141,31 @@ Contents ~
   15. I get 'libpython2.7.a [...] relocation R_X86_64_32' when compiling |libpython2.7.a-...-relocation-R_X86_64_32|
   16. I get 'Vim: Caught deadly signal SEGV' on Vim startup |Vim:-Caught-deadly-signal-SEGV|
   17. I get 'Fatal Python error: PyThreadState_Get: no current thread' on startup |Fatal-Python-error:-PyThreadState_Get:-no-current-thread|
- 12. |install.py| says python must be compiled with '--enable-framework'. Wat?
-  1. YCM does not read identifiers from my tags files |youcompleteme-ycm-does-not-read-identifiers-from-my-tags-files|
-  2. 'CTRL-U' in insert mode does not work                         |CTRL-sub-U|
-  3. YCM conflicts with UltiSnips TAB key usage |youcompleteme-ycm-conflicts-with-ultisnips-tab-key-usage|
-  4. Why isn't YCM just written in plain VimScript, FFS? |youcompleteme-why-isnt-ycm-just-written-in-plain-vimscript-ffs|
-  5. Why does YCM demand such a recent version of Vim? |youcompleteme-why-does-ycm-demand-such-recent-version-of-vim|
-  6. I get annoying messages in Vim's status area when I type |youcompleteme-i-get-annoying-messages-in-vims-status-area-when-i-type|
-  7. Nasty bugs happen if I have the 'vim-autoclose' plugin installed |vim-sub-autoclose|
-  8. Is there some sort of YCM mailing list? I have questions |youcompleteme-is-there-sort-of-ycm-mailing-list-i-have-questions|
-  9. I get an internal compiler error when installing |youcompleteme-i-get-an-internal-compiler-error-when-installing|
-  10. I get weird errors when I press 'Ctrl-C' in Vim              |Ctrl-sub-C|
-  11. Why did YCM stop using Syntastic for diagnostics display? |youcompleteme-why-did-ycm-stop-using-syntastic-for-diagnostics-display|
-  12. Completion doesn't work with the C++ standard library headers |youcompleteme-completion-doesnt-work-with-c-standard-library-headers|
-  13. When I open a JavaScript file, I get an annoying warning about '.tern-project'
+  18. |install.py| says python must be compiled with '--enable-framework'. Wat?
+  19. YCM does not read identifiers from my tags files |youcompleteme-ycm-does-not-read-identifiers-from-my-tags-files|
+  20. 'CTRL-U' in insert mode does not work                        |CTRL-sub-U|
+  21. YCM conflicts with UltiSnips TAB key usage |youcompleteme-ycm-conflicts-with-ultisnips-tab-key-usage|
+  22. Why isn't YCM just written in plain VimScript, FFS? |youcompleteme-why-isnt-ycm-just-written-in-plain-vimscript-ffs|
+  23. Why does YCM demand such a recent version of Vim? |youcompleteme-why-does-ycm-demand-such-recent-version-of-vim|
+  24. I get annoying messages in Vim's status area when I type |youcompleteme-i-get-annoying-messages-in-vims-status-area-when-i-type|
+  25. Nasty bugs happen if I have the 'vim-autoclose' plugin installed |vim-sub-autoclose|
+  26. Is there some sort of YCM mailing list? I have questions |youcompleteme-is-there-sort-of-ycm-mailing-list-i-have-questions|
+  27. I get an internal compiler error when installing |youcompleteme-i-get-an-internal-compiler-error-when-installing|
+  28. I get weird errors when I press 'Ctrl-C' in Vim              |Ctrl-sub-C|
+  29. Why did YCM stop using Syntastic for diagnostics display? |youcompleteme-why-did-ycm-stop-using-syntastic-for-diagnostics-display|
+  30. Completion doesn't work with the C++ standard library headers |youcompleteme-completion-doesnt-work-with-c-standard-library-headers|
+  31. When I open a JavaScript file, I get an annoying warning about '.tern-project'
 file |.tern-sub-project|
-  14. When I start vim I get a runtime error saying 'R6034 An application has made an
+  32. When I start vim I get a runtime error saying 'R6034 An application has made an
 attempt to load the C runtime library incorrectly.' |R6034-An-application-has-made-an-attempt-to-load-the-C-runtime-library-incorrectly.|
-  15. I hear that YCM only supports Python 2, is that true? |youcompleteme-i-hear-that-ycm-only-supports-python-2-is-that-true|
-  16. On Windows I get "E887: Sorry, this command is disabled, the Python's site
+  33. I hear that YCM only supports Python 2, is that true? |youcompleteme-i-hear-that-ycm-only-supports-python-2-is-that-true|
+  34. On Windows I get "E887: Sorry, this command is disabled, the Python's site
 module could not be loaded" |E887:-Sorry-this-command-is-disabled-the-Python-s-site-module-could-not-be-loaded|
-  17. I can't complete python packages in a virtual environment. |youcompleteme-i-cant-complete-python-packages-in-virtual-environment.|
- 13. Contributor Code of Conduct    |youcompleteme-contributor-code-of-conduct|
- 14. Contact                                            |youcompleteme-contact|
- 15. License                                            |youcompleteme-license|
- 16. References                                      |youcompleteme-references|
+  35. I can't complete python packages in a virtual environment. |youcompleteme-i-cant-complete-python-packages-in-virtual-environment.|
+ 12. Contributor Code of Conduct    |youcompleteme-contributor-code-of-conduct|
+ 13. Contact                                            |youcompleteme-contact|
+ 14. License                                            |youcompleteme-license|
+ 15. References                                      |youcompleteme-references|
 
 ===============================================================================
                                                    *youcompleteme-introduction*
@@ -2851,7 +2851,7 @@ framework'):
 - When building python from pyenv: 'PYTHON_CONFIGURE_OPTS="--enable-shared"
   pyenv install {version}'
 
-===============================================================================
+-------------------------------------------------------------------------------
 *install.py* says python must be compiled with '--enable-framework'. Wat?
 
 See the previous answer for how to ensure your python is built to support