Add Fedora entry in README.md
Update Vim documentation
This commit is contained in:
parent
b1f2171f9f
commit
2084ee2909
@ -8,6 +8,7 @@ YouCompleteMe: a code-completion engine for Vim
|
|||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
- [Mac OS X](#mac-os-x-super-quick-installation)
|
- [Mac OS X](#mac-os-x-super-quick-installation)
|
||||||
- [Ubuntu](#ubuntu-linux-x64-super-quick-installation)
|
- [Ubuntu](#ubuntu-linux-x64-super-quick-installation)
|
||||||
|
- [Fedora](#fedora-linux-x64-super-quick-installation)
|
||||||
- [Windows](#windows-installation)
|
- [Windows](#windows-installation)
|
||||||
- [FreeBSD/OpenBSD](#freebsdopenbsd-installation)
|
- [FreeBSD/OpenBSD](#freebsdopenbsd-installation)
|
||||||
- [Full Installation Guide](#full-installation-guide)
|
- [Full Installation Guide](#full-installation-guide)
|
||||||
|
@ -8,9 +8,10 @@ Contents ~
|
|||||||
3. Installation |youcompleteme-installation|
|
3. Installation |youcompleteme-installation|
|
||||||
1. Mac OS X super-quick installation |youcompleteme-mac-os-x-super-quick-installation|
|
1. Mac OS X super-quick installation |youcompleteme-mac-os-x-super-quick-installation|
|
||||||
2. Ubuntu Linux x64 super-quick installation |youcompleteme-ubuntu-linux-x64-super-quick-installation|
|
2. Ubuntu Linux x64 super-quick installation |youcompleteme-ubuntu-linux-x64-super-quick-installation|
|
||||||
3. Windows Installation |youcompleteme-windows-installation|
|
3. Fedora Linux x64 super-quick installation |youcompleteme-fedora-linux-x64-super-quick-installation|
|
||||||
4. FreeBSD/OpenBSD Installation |youcompleteme-freebsd-openbsd-installation|
|
4. Windows Installation |youcompleteme-windows-installation|
|
||||||
5. Full Installation Guide |youcompleteme-full-installation-guide|
|
5. FreeBSD/OpenBSD Installation |youcompleteme-freebsd-openbsd-installation|
|
||||||
|
6. Full Installation Guide |youcompleteme-full-installation-guide|
|
||||||
4. Quick Feature Summary |youcompleteme-quick-feature-summary|
|
4. Quick Feature Summary |youcompleteme-quick-feature-summary|
|
||||||
1. General (all languages) |youcompleteme-general|
|
1. General (all languages) |youcompleteme-general|
|
||||||
2. C-family languages (C, C++, Objective C, Objective C++) |youcompleteme-c-family-languages|
|
2. C-family languages (C, C++, Objective C, Objective C++) |youcompleteme-c-family-languages|
|
||||||
@ -144,6 +145,7 @@ Image: Build Status [1] Image: Build status [3]
|
|||||||
|
|
||||||
- Mac OS X
|
- Mac OS X
|
||||||
- Ubuntu
|
- Ubuntu
|
||||||
|
- Fedora
|
||||||
- Windows
|
- Windows
|
||||||
- FreeBSD/OpenBSD
|
- FreeBSD/OpenBSD
|
||||||
- Full Installation Guide
|
- Full Installation Guide
|
||||||
@ -363,6 +365,54 @@ 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
*youcompleteme-fedora-linux-x64-super-quick-installation*
|
||||||
|
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 [19] (don't worry, it's easy).
|
||||||
|
|
||||||
|
Install YouCompleteMe with Vundle [15].
|
||||||
|
|
||||||
|
**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 [18]).
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
*youcompleteme-windows-installation*
|
*youcompleteme-windows-installation*
|
||||||
Windows Installation ~
|
Windows Installation ~
|
||||||
|
Loading…
x
Reference in New Issue
Block a user