Auto merge of #1740 - rjleaf:patch-1, r=Valloric
Fedora documentation with required dependencies. Works on F22. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/1740) <!-- Reviewable:end -->
This commit is contained in:
commit
b1f2171f9f
46
README.md
46
README.md
@ -210,6 +210,52 @@ YCM comes with sane defaults for its options, but you still may want to take a
|
|||||||
look at what's available for configuration. There are a few interesting options
|
look at what's available for configuration. There are a few interesting options
|
||||||
that are conservatively turned off by default that you may want to turn on.
|
that are conservatively turned off by default that you may want to turn on.
|
||||||
|
|
||||||
|
### Fedora Linux x64 super-quick installation
|
||||||
|
|
||||||
|
Please refer to the full Installation Guide below; the following commands are
|
||||||
|
provided on a best-effort basis and may not work for you.
|
||||||
|
|
||||||
|
Make sure you have Vim 7.3.598 with python2 support. Fedora 21 and later have
|
||||||
|
a Vim that's recent enough. You can see the version of Vim installed by running
|
||||||
|
`vim --version`. If the version is too old, you may need to [compile Vim
|
||||||
|
from source][vim-build] (don't worry, it's easy).
|
||||||
|
|
||||||
|
Install YouCompleteMe with [Vundle][].
|
||||||
|
|
||||||
|
**Remember:** YCM is a plugin with a compiled component. If you **update** YCM
|
||||||
|
using Vundle and the ycm_support_libs library APIs have changed (happens
|
||||||
|
rarely), YCM will notify you to recompile it. You should then rerun the install
|
||||||
|
process.
|
||||||
|
|
||||||
|
Install development tools and CMake: `sudo dnf install automake gcc gcc-c++ kernel-devel cmake`
|
||||||
|
|
||||||
|
Make sure you have Python headers installed: `sudo dnf install python-devel`.
|
||||||
|
|
||||||
|
Compiling YCM **with** semantic support for C-family languages:
|
||||||
|
|
||||||
|
cd ~/.vim/bundle/YouCompleteMe
|
||||||
|
./install.py --clang-completer
|
||||||
|
|
||||||
|
Compiling YCM **without** semantic support for C-family languages:
|
||||||
|
|
||||||
|
cd ~/.vim/bundle/YouCompleteMe
|
||||||
|
./install.py
|
||||||
|
|
||||||
|
If you want semantic C# support, you should add `--omnisharp-completer` to the
|
||||||
|
install script as well. If you want Go support, you should add
|
||||||
|
`--gocode-completer`. If you want semantic TypeScript support, install the
|
||||||
|
TypeScript SDK with `npm install -g typescript` (you'll need to install
|
||||||
|
[nodejs and npm][npm-install]).
|
||||||
|
|
||||||
|
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,
|
||||||
|
you will need to provide the compilation flags for your project to YCM. It's all
|
||||||
|
in the User Guide.
|
||||||
|
|
||||||
|
YCM comes with sane defaults for its options, but you still may want to take a
|
||||||
|
look at what's available for configuration. There are a few interesting options
|
||||||
|
that are conservatively turned off by default that you may want to turn on.
|
||||||
|
|
||||||
### Windows Installation
|
### Windows Installation
|
||||||
|
|
||||||
Please refer to the full Installation Guide below; the following commands are
|
Please refer to the full Installation Guide below; the following commands are
|
||||||
|
Loading…
Reference in New Issue
Block a user