Commit Graph

1039 Commits

Author SHA1 Message Date
Davit Samvelyan
bd6f7d8dfb Merge pull request #1 from Valloric/master
Syncing
2013-12-23 22:53:31 -08:00
Strahinja Val Markovic
b1d71bbb91 Better handling of unknown extra conf files
Previously, we'd implicitly turn off future notices about unknown extra conf
files if we already raised one exception about it. This breaks when the user
ends up not receiving the "unknown extra conf, load?" message.

Now we only turn off the notice as a result of the user saying "don't load this"
so that if the first request fails to reach them, they'll get a second (and
third etc) request about it.

Fixes #615
2013-12-21 11:19:39 -08:00
Strahinja Val Markovic
1edf22357f Try to cleanup files only if they stil exist
Fixes #738
2013-12-20 13:01:48 -08:00
Val Markovic
f286b43404 Merge pull request #736 from dzhioev/master
Changed HEAD of third_party/argparse (Create gitignore file).
2013-12-18 13:28:34 -08:00
Pavel Sergeev
62bf774e14 Changed HEAD of third_party/argparse (Create gitignore file). 2013-12-18 22:23:47 +04:00
Strahinja Val Markovic
737109e7aa Check for libc++ before using it.
Fixes #731.
2013-12-17 18:35:03 -08:00
Strahinja Val Markovic
f5b1fd9d77 Updating vimdoc from README 2013-12-10 11:19:53 -08:00
Strahinja Val Markovic
18dfe1d0cc Updating to latest Jedi dev branch
This should finally fix #599.
2013-12-10 11:17:31 -08:00
Strahinja Val Markovic
1e99f517bb New entry to FAQ about Vim crash
Happens sometimes when users tab through the completion menu. Related to #593.
2013-12-10 10:52:50 -08:00
Strahinja Val Markovic
4d8fea4b2d Not using Syntastic lazy redraw anymore
This gets rid of the annoying flashing (issue #669), but reverts the workaround
for a rare Vim crash bug (issue #593). We can't have both. Update to latest Vim
to not get the crash bug.

Fixes #669.
2013-12-10 10:16:38 -08:00
Val Markovic
94f0d6fadc Merge pull request #717 from blueyed/notify-about-crash-once-issue-715
Only notify about a server crash once
2013-12-09 14:46:54 -08:00
Daniel Hahler
3e5e34b633 Only notify about a server crash once
Fixes #715
2013-12-09 22:27:11 +01:00
Val Markovic
cc58c0979f Merge pull request #713 from LeszekSwirski/fix-ubuntu-syslibclang
Fix --system-libclang on Ubuntu/Debian
2013-12-09 10:55:23 -08:00
Leszek Swirski
b279b2b672 Fix --system-libclang on Ubuntu/Debian 2013-12-09 12:29:19 +00:00
Val Markovic
7f5dd0fcf0 Merge pull request #680 from nop00/master
Omnisharp: smarter solution file finder
2013-12-04 10:32:13 -08:00
Strahinja Val Markovic
e0c7db4ac5 Fix issue with omnifunc mode persisting
This can happen when the user inserts a candidate string like "operator[]" which
doesn't end with an identifier char. A very obscure bug, but a bug nonetheless.
2013-12-03 14:39:31 -08:00
Val Markovic
c20943db87 Merge pull request #703 from nixprime/master
Add -include to INCLUDE_FLAGS
2013-12-03 12:57:19 -08:00
Strahinja Val Markovic
6c3a48be7a Typing after <c-space> in g:ycm_auto_trigger works
We'd show the user the menu, but then we'd hide it as soon as the user tried to
type to filter the candidates.

Fixes #704
2013-12-03 12:55:05 -08:00
nop
93fa3ad7e7 Small stylistic changes 2013-12-03 17:34:10 +01:00
Jamie Liu
f58b06adde Add -include to INCLUDE_FLAGS
The -include flag forces the inclusion of a single file, and is used by
(at least) the Linux kernel's build system.
2013-12-03 00:43:42 -08:00
Strahinja Val Markovic
aeb2c5c227 Adding the g:ycm_auto_trigger option
Toggling this option off turns off the identifier completer and the semantic
triggers.

Fixes #597
2013-12-02 16:37:59 -08:00
Strahinja Val Markovic
1ccf57614f Updating to latest upstream Jedio
Relevant: https://github.com/davidhalter/jedi/issues/347
2013-12-01 10:21:31 -08:00
Val Markovic
447ce97147 Merge pull request #699 from nop00/fix-omnisharp-shutdown
Check auto_stop_csharp_server when shutting down
2013-11-29 17:54:40 -08:00
nop00
f8aabab328 Merge github.com:nop00/YouCompleteMe 2013-11-29 22:13:22 +01:00
nop00
3da6f5c197 Unit tests for Omnisharp's smarter solution finder 2013-11-29 22:13:04 +01:00
nop00
7f44972645 Unit test for Omnisharp's smarter solution finder 2013-11-29 22:10:49 +01:00
Val Markovic
c0a349a700 Merge pull request #693 from tasn/master
Fixed usage of database file in example .ycm_extra_conf.py.
2013-11-27 10:14:23 -08:00
Tom Hacohen
3543b4dd8d Fixed usage of database file in example .ycm_extra_conf.py.
Checking the path is set is not enough, we should also check the path
exists. This allows people to have a general-purpose
.ycm_extra_conf.conf that automatically loads a database file if exists,
and falls back to the manual flags if not.
2013-11-27 15:41:03 +00:00
Strahinja Val Markovic
b085ca7c0b Filtering out "too mary errors emitted" diags
Because they're completely useless and incredibly annoying.
2013-11-25 13:33:49 -08:00
Strahinja Val Markovic
0185147ba4 Better Clang support in CustomAssert 2013-11-23 16:54:21 -08:00
Val Markovic
8905b385cb Merge pull request #686 from disturbedsaint/master
Add -isysroot to list of INCLUDE_FLAGS.
2013-11-23 10:18:02 -08:00
Dan Schmidt
457d2a5eac Add -isysroot to list of INCLUDE_FLAGS. 2013-11-23 09:13:41 -05:00
nop
389e3bfe4c Check auto_stop_csharp_server when shutting down
Check auto_stop_csharp_server instead of auto_start_csharp_server when
shutting down
2013-11-21 17:10:37 +01:00
nop
aa7801b850 Omnisharp: smarter solution file finder
When loading the Omnisharp server, YCM tries to find a suitable solution
file to feed it. Instead of giving up when finding multiple solution
files, it now tries to find one named like the edited files' folder at
the solution level, e.g. if we have bla/Project.sln and we are editing
bla/Project/Folder/Whatever/File.cs, we use bla/Project.sln.
2013-11-21 15:31:38 +01:00
Strahinja Val Markovic
cf6211055e Removing the server_idle_suicide_seconds option
This option existed so that the user can tweak it if they found the default idle
timeout too short, for instance if they leave their machine on over the weekend.

This use case is now covered by the new YcmdKeepalive system that pings ycmd
every 10 minutes as long as Vim is running. This prevents ycmd shutting down if
one leaves their Vim instance alone for a long time.

Thus the old option is useless now; ycmd now shuts down after 3 hours of
inactivity, which should only ever happen when its corresponding Vim instance
has shut down abnormally.
2013-11-20 12:33:57 -08:00
Strahinja Val Markovic
8d42f72517 Linking to issue 303 from docs. 2013-11-18 20:26:20 -08:00
Strahinja Val Markovic
3a1ef4eddb Note in FAQ about C++ standard headers not found 2013-11-18 20:23:39 -08:00
Strahinja Val Markovic
5ae3a573b9 Workaround for annoying clang bug with pragma once
Fixes #216
2013-11-17 17:59:39 -08:00
Strahinja Val Markovic
06b5411fb3 Revert "Add possibility to disable identifier completion engine"
This reverts commit 44d5747d23.

Conflicts:
	README.md
2013-11-17 14:44:43 -08:00
Strahinja Val Markovic
eb74ed6145 Clarified the new -1 setting for min chars 2013-11-17 14:37:35 -08:00
Val Markovic
6e84bebe0c Merge pull request #672 from fcelda/disable-identifier-completion
Add possibility to disable identifier completion engine
2013-11-17 14:33:54 -08:00
Strahinja Val Markovic
757602becf Workaround for header flags with compilation db 2013-11-17 14:17:20 -08:00
Jan Vcelak
44d5747d23 Add possibility to disable identifier completion engine
Setting negative value of 'g:ycm_min_num_of_chars_for_completion'
disables identifier completion.
2013-11-17 23:05:49 +01:00
Strahinja Val Markovic
76f9c42d6e Minor whitespace fix 2013-11-17 13:46:14 -08:00
Strahinja Val Markovic
1f23171c08 Test for exception on no flags from extra conf 2013-11-17 13:45:39 -08:00
Strahinja Val Markovic
19a5bf0500 Notifying user if no flags come from extra conf 2013-11-17 13:32:43 -08:00
Strahinja Val Markovic
1c1fb47d7e Fixing typo in YCM extra conf comment 2013-11-17 13:18:11 -08:00
Strahinja Val Markovic
2caf90637d Better handling of bad flags from extra conf 2013-11-17 13:10:16 -08:00
Strahinja Val Markovic
9c43634190 Force clang color output when building with Ninja 2013-11-17 11:23:16 -08:00
Strahinja Val Markovic
f46f4cbbe0 More logical ordering of points in contrib docs 2013-11-17 10:42:51 -08:00