Commit Graph

2245 Commits

Author SHA1 Message Date
Strahinja Val Markovic
fd2fd60f7c Identifier collection now smarter about strings
Previously, a string like 'foo\'bar\'zoo' would make the collection process
think that "bar" is not inside a string because it wouldn't recognize that the
quotes are escaped. Now it does.

Fixes #143.
2013-02-21 22:14:31 -08:00
Strahinja Val Markovic
101d949a88 Splitting echo text on \n and echoing lines 2013-02-21 10:50:38 -08:00
Strahinja Val Markovic
e60928d721 Updating error message on missing ycm_extra_conf 2013-02-20 13:16:18 -08:00
Val Markovic
7d15912efa Merge pull request #137 from benjie/patch-1
Fix README typo for g:ycm_semantic_triggers value
2013-02-20 10:32:00 -08:00
Strahinja Val Markovic
0abb3ca61c Clarifying the "ycm_core too old" error message 2013-02-20 10:14:29 -08:00
Benjie Gillam
a4affacdd7 Fix README typo for g:ycm_semantic_triggers value 2013-02-20 14:06:03 +00:00
Val Markovic
3a285e8a31 Merge pull request #122 from cehoffman/cygwin_support
Get cygwin compilation working
2013-02-19 00:13:41 -08:00
Chris Hoffman
ee943d7173 Add missing option for ycm_core to be a dll 2013-02-18 23:56:23 -06:00
Chris Hoffman
e7774cf44b Get cygwin compilation working 2013-02-18 23:55:54 -06:00
Val Markovic
3a7634c5be Merge pull request #130 from beards/master
let g:ycm_global_ycm_extra_conf accept "~"
2013-02-18 11:10:54 -08:00
bear
66289d7522 let g:ycm_global_ycm_extra_conf can use "~" 2013-02-18 15:10:13 +08:00
Strahinja Val Markovic
3108fdcbd0 Merge branch 'xgalaxy-master' 2013-02-17 19:34:42 -08:00
Strahinja Val Markovic
7988f75afb Typo fix in install script 2013-02-17 19:34:07 -08:00
Strahinja Val Markovic
69997ef20a New FAQ entry; segfaults on some linux distros 2013-02-17 19:12:40 -08:00
Ola Jeppsson
97c7b5b082 Let local YCM config file override global config file
Currently, when VIM opens a source file, YCM always defaults to
'g:global_ycm_extra_conf_file' if it exists.

This commit changes YCM's behaviour so that it first tries to find the config
file in the source file's folder (or any of its parents folder), before
falling back to 'g:global_ycm_extra_conf_file'.
2013-02-17 19:12:39 -08:00
Strahinja Val Markovic
9a6a9f5dfe Linking with librt only on Linux 2013-02-17 19:12:39 -08:00
Rafal Jeczalik
5175b88392 ycm_core needs to be linked with librt under Linux 2013-02-17 19:12:39 -08:00
Strahinja Val Markovic
9501c649aa New FAQ entry; segfaults on some linux distros 2013-02-17 19:08:30 -08:00
Val Markovic
9e3aa21a77 Merge pull request #119 from olajep/let-local-conf-override-global
Let local YCM config file override global config file
2013-02-17 13:07:38 -08:00
Robert D. Blanchet Jr
018e670324 Need to pay closer attention ;( 2013-02-17 11:03:22 -08:00
Robert D. Blanchet Jr
8bc9073ef1 Only use python_finder on OSX. 2013-02-17 11:01:31 -08:00
Robert D. Blanchet Jr
e5b9ffb637 Fix non-framework python library path. 2013-02-17 10:47:14 -08:00
Robert D. Blanchet Jr
1e2a78c87d Fix non-framework python paths. 2013-02-17 10:39:17 -08:00
Ola Jeppsson
3d1a86c382 Let local YCM config file override global config file
Currently, when VIM opens a source file, YCM always defaults to
'g:global_ycm_extra_conf_file' if it exists.

This commit changes YCM's behaviour so that it first tries to find the config
file in the source file's folder (or any of its parents folder), before
falling back to 'g:global_ycm_extra_conf_file'.
2013-02-17 19:06:48 +01:00
Strahinja Val Markovic
8f66862726 Linking with librt only on Linux 2013-02-17 10:04:40 -08:00
Val Markovic
f0de35dd14 Merge pull request #129 from rjeczalik/master
YCM does not work out of a box for Ubuntu 12.04
2013-02-17 09:50:44 -08:00
Rafal Jeczalik
b1c9aad19f ycm_core needs to be linked with librt under Linux 2013-02-17 18:16:04 +01:00
Robert D. Blanchet Jr
a3f6987f99 Work around CMake failure to find proper Python. 2013-02-17 09:01:54 -08:00
Strahinja Val Markovic
cdcfae4b41 Bringing back the Boost.Chrono workaround
Fixes #124
2013-02-16 17:10:01 -08:00
Strahinja Val Markovic
c08210fd35 Vimdoc update, again 2013-02-16 14:29:50 -08:00
Strahinja Val Markovic
40504177c3 Docs rewording; have other lang semantic support 2013-02-16 14:26:24 -08:00
Strahinja Val Markovic
b0d7e38da7 Updating vimdoc 2013-02-16 14:21:18 -08:00
Strahinja Val Markovic
e743076e14 Option to collect identifiers n comments/strings
Fixes #98.
2013-02-16 14:00:46 -08:00
Strahinja Val Markovic
7833cc1cf1 More doc updates for Completer API 2013-02-16 13:33:19 -08:00
Strahinja Val Markovic
1cd6f4d05e Some extra docs for the Completer API 2013-02-16 13:26:56 -08:00
Strahinja Val Markovic
3f1b5c9283 Option to complete inside comments and strings.
Fixes issue #105.
2013-02-16 12:56:21 -08:00
Strahinja Val Markovic
90dc16bb99 Destroying clang data last, after threads done
Otherwise this will cause issues if the clang threads are still trying to
access the clang data.
2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
f01a3480f5 Making sure that clang_completer tests included 2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
2ff85a5a60 Only joining threads if they are created 2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
30d5a3b8a5 Wrapping boost threads in scoped_ptr
Boost.Thread deprecated the copy ctor for threads; this is a better approach.
2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
9dfa2f4e11 Fixing thread segfault issues with new Boost 1.53
The answer was to use boost::move() on the functors, but since there is AFAIK no
move emulation support for Boost.Function, the fix may only work on C++11
compilers. That needs to be looked into.
2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
f42c6a5d98 Adding the forgotten boost/utility.hpp 2013-02-16 12:25:29 -08:00
Strahinja Val Markovic
0a46a6ec12 Updating to Boost 1.53 2013-02-16 12:25:28 -08:00
Val Markovic
5fad9564d1 Merge pull request #110 from meh/fix-semantic-triggers
Improve default semantic triggers
2013-02-15 09:42:48 -08:00
Val Markovic
c5587d825b Merge pull request #117 from ton/no_auto_completion_in_doxygen_comments
Fix auto completion being active within Doxygen comment blocks.
2013-02-15 09:42:24 -08:00
Ton van den Heuvel
c3a6ac270b Fix auto completion being active within Doxygen comment blocks. 2013-02-15 11:18:55 +01:00
meh
86881d01dd Improve default semantic triggers 2013-02-15 04:27:58 +01:00
Val Markovic
8614ce1732 Merge pull request #115 from olajep/exclude-vim-tags
Exclude auto generated vim doc tags.
2013-02-14 15:00:40 -08:00
Ola Jeppsson
9c72536c6d Exclude auto generated vim doc tags. 2013-02-14 23:48:42 +01:00
Strahinja Val Markovic
48881f14de Doc note for Mac users about having latest Xcode 2013-02-14 09:50:44 -08:00