Commit Graph

344 Commits

Author SHA1 Message Date
Stephen Sugden
7006033d3e typo fix 2013-02-13 21:18:51 -08:00
Strahinja Val Markovic
4000da089d Only triggering omni_completer when omnifunc set 2013-02-13 10:27:40 -08:00
Strahinja Val Markovic
0399ec94c8 Updating vimdoc again 2013-02-12 20:59:11 -08:00
Strahinja Val Markovic
dcae48adf9 Changing the wording of the warning to recompile
Since YCM now checks for the version of the ycm_core library, the user will
always know when he needs to recompile.
2013-02-12 20:58:00 -08:00
Strahinja Val Markovic
ad8345aa35 Now checking ycm_core version for compatibility 2013-02-12 20:54:27 -08:00
Strahinja Val Markovic
d9c5eead30 Updating the vimdoc file 2013-02-12 20:34:58 -08:00
Strahinja Val Markovic
dbad91e758 The docs now reflect the new omni-completer
... and the new, fleshed-out Completer API.

YCM now provides semantic completions for every language that Vim has
omnicomplete support for, which is _a lot of them_.
2013-02-12 20:31:46 -08:00
Strahinja Val Markovic
bdacf4dc36 Actually stopping compilation when no support
Previously we would just emit an error message _and continue_. The "and
continue" part was an embarrassing oversight.
2013-02-12 20:30:14 -08:00
Strahinja Val Markovic
21dac46ecc Docs for the Completer API 2013-02-12 20:01:22 -08:00
Strahinja Val Markovic
452f7d1fec Better triggering of semantic completion
Now there's a nice user-configurable setting for when YCM should trigger
semantic completion. This is very useful for the new omni_completer that uses
data coming from Vim's omnicomplete system.
2013-02-11 21:46:06 -08:00
Strahinja Val Markovic
5d89aef907 Removing YCM as omnifunc if no native support 2013-02-11 21:45:42 -08:00
Strahinja Val Markovic
786e6182ff Initial version of omnifunc-based omni_completer
Still a work in progress (needs better triggering and bug fixes)
2013-02-10 20:03:56 -08:00
Strahinja Val Markovic
051fc85be4 Adding a missing include path to YCM's extra conf 2013-02-10 20:03:56 -08:00
Strahinja Val Markovic
6e27176ebd Shortening some function names
They could be shorter and still readable
2013-02-10 20:03:56 -08:00
Strahinja Val Markovic
b0c0a12df8 Removing unused file 2013-02-10 20:03:56 -08:00
Strahinja Val Markovic
66ff461aa8 Fixing typo in readme 2013-02-10 14:24:04 -08:00
Strahinja Val Markovic
41854ded3a Removing an obsolete comment 2013-02-09 15:49:08 -08:00
Val Markovic
4c4da18cea Merge pull request #93 from olajep/use-env-for-clang-lookup-try2
[Try 2] Use the library path in the environment when looking up clang library.
2013-02-09 13:41:39 -08:00
Ola Jeppsson
57e6af6db8 Use the library path in the environment when looking up clang library.
Use *LD_LIBRARY_PATH when configured to build against the systems libclang.
This patch makes the install script work even when libclang is in a custom path.

Signed-off-by: Ola Jeppsson <ola.jeppsson@gmail.com>
2013-02-09 22:13:16 +01:00
Strahinja Val Markovic
61b4808513 Trying to help cmake find libclang.so on Arch
Fixes #11. Also relevant to issue #28.
2013-02-09 11:11:18 -08:00
Strahinja Val Markovic
4b5cbdbc9d Multiple mappings possible for selection cycling
This change also makes the arrow keys behave like Tab and Shift-Tab.

Fixes issue #83.
2013-02-08 18:30:28 -08:00
Strahinja Val Markovic
561dc26b86 New FAQ item about not using vim-autoclose 2013-02-07 21:06:16 -08:00
Strahinja Val Markovic
78e11f7479 Typo fix 2013-02-07 19:29:59 -08:00
Strahinja Val Markovic
0da00c60e6 mktemp on ubuntu demands X's 2013-02-07 19:29:59 -08:00
Strahinja Val Markovic
da8da52cdd Minor tweaks to new intall process 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
2897d56d95 Update the README mentioning install.sh 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
41294f7a76 Fix usage on install.sh 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
2f3303e050 Respects USE_CLANG_COMPLETER flag in CMake build
If USE_CLANG_COMPLETER is ON, will try to use the system clang, and if
the version is not the minimum required or not present, download.
2013-02-07 19:29:59 -08:00
Zeh Rizzatti
3b4eeee686 Update install.sh with --clang-completer option
Also gives better messages for install instructions for homebrew.
2013-02-07 19:29:59 -08:00
Zeh Rizzatti
8036bb6348 Copy libclang inside the python dir 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
6121d61b1b Add friendly clang selection using cmake 2013-02-07 19:29:59 -08:00
Zeh Rizzatti
7be0bb6a4a No need to build the tests 2013-02-07 19:29:58 -08:00
Zeh Rizzatti
65d7bd4433 Add install.sh for easily building 2013-02-07 19:29:58 -08:00
Strahinja Val Markovic
6e6271ddf2 FAQ entry about the "nosy" completions 2013-02-07 18:06:12 -08:00
Strahinja Val Markovic
54560abbad Note about python headers to install guide
Fixes issue #73
2013-02-07 16:56:58 -08:00
Strahinja Val Markovic
a5048f6aa6 Typo fix 2013-02-07 09:58:16 -08:00
Strahinja Val Markovic
a61036eede Formatting fixes for readme 2013-02-07 09:57:22 -08:00
Strahinja Val Markovic
d396fe193c Extra item in FAQ
This one's about conflicting versions of Python detected.
2013-02-07 09:55:41 -08:00
Strahinja Val Markovic
57d5384dcc Updating vimdoc docs 2013-02-06 20:08:04 -08:00
Strahinja Val Markovic
c6beecbf01 Minor stlye fix 2013-02-06 19:16:33 -08:00
Strahinja Val Markovic
0a4d82b171 Don't leave whitespace on empty lines
This was caused by complicated interactions with Vim.

Fixes #15.
2013-02-06 19:04:31 -08:00
Strahinja Val Markovic
6be3cd37ed Making sure filename exists before using it 2013-02-06 18:46:57 -08:00
Strahinja Val Markovic
7cf179e2b8 Some default mappings can be set to empty strings
This allows the user to not have a mapping. Also, showing a detailed diagnostic
is now possible through a new command.

Fixes #64.
2013-02-06 18:34:08 -08:00
Strahinja Val Markovic
012102300d Move the save_cpo lines higher
Somehow they drifted downwards. Fixes #56.
2013-02-06 10:30:50 -08:00
Strahinja Val Markovic
3feefce197 Docs for Homebrew Python/MacVim
This can't really be fixed on YCM's side since it's a system configuration
issue, but we can at least warn the user and provide him with information on how
to resolve this.

Fixes #18 (not really, but it's the best we can do).
2013-02-06 10:21:01 -08:00
Strahinja Val Markovic
6f10d7aad7 YcmDiags now doesn't hang when no flags available
Fixes #46
2013-02-05 21:22:50 -08:00
Val Markovic
9bee28a0a8 Merge pull request #26 from spice/relative-clang-root
Handle relative DPATH_TO_LLVM_ROOT
2013-02-05 21:01:34 -08:00
Strahinja Val Markovic
a1c89f5108 Fix rare traceback on <leader>d. Fixes #43 2013-02-05 20:12:43 -08:00
Strahinja Val Markovic
02201c866b Last piece of Windows support.
YCM should now compile cleanly on MSVC. Fixes #19.
2013-02-05 19:40:43 -08:00
Strahinja Val Markovic
ace95db4f0 Emit warning about missing extra_conf file once
Otherwise we spam the user, which is annoying. Fixes #41.
2013-02-05 19:03:38 -08:00