Strahinja Val Markovic
6fb784e61b
Making the python thread not hang Vim on exit
...
As the Pytho docs say, "The entire Python program exits when no alive non-daemon
threads are left." Basically, the daemon threads are safely killed.
2013-03-24 15:04:00 -07:00
Strahinja Val Markovic
1c78971acd
More style fixes
2013-03-24 14:57:25 -07:00
Strahinja Val Markovic
8f2715c1a4
Posting an error message when jedi import fails
2013-03-24 14:52:11 -07:00
Strahinja Val Markovic
4d95e32a1e
Python code style fixes
2013-03-24 14:41:22 -07:00
Strahinja Val Markovic
0954ff31d9
Bug fixes for the new python semantic completer
2013-03-24 14:38:55 -07:00
Strahinja Val Markovic
26d81c3c5f
Note about <C-U> being effectively broken.
...
Related to issue #24 .
2013-03-24 14:13:14 -07:00
Stephen Sugden
eed0434e39
Refactor jedi-completer to use a worker thread
2013-03-23 19:24:26 -07:00
Strahinja Val Markovic
3e10152cbd
Note about <C-U> being effectively broken.
...
Related to issue #24 .
2013-03-23 16:42:00 -07:00
Stephen Sugden
da46be7044
Add jedi-based completion.
...
This first version only uses the Jedi completion engine after a ".", similar to
how the ClangCompleter works. It is also entirely synchronous and blocks for
quite a while the first time it is called.
2013-03-23 16:21:49 -07:00
Strahinja Val Markovic
cea707fc13
Fixing errors throw in "[Command Line]" window
...
Fixes #202 .
2013-03-23 14:11:48 -07:00
Strahinja Val Markovic
b0c7c8e680
Note about configuring eclim with YCM in README
...
Fixes #103 .
2013-03-23 11:57:19 -07:00
Strahinja Val Markovic
c2ef3f785b
Updating comments for the string-stripping regex
2013-03-23 10:56:56 -07:00
Val Markovic
bd75efedbc
Merge pull request #186 from peter50216/master
...
C++ IdentifierUtils::RemoveIdentifierFreeText behaves incorrectly.
2013-03-23 10:55:13 -07:00
Strahinja Val Markovic
a3a3250f76
Style fixes for C++ code
2013-03-23 10:47:30 -07:00
Strahinja Val Markovic
b00287a6a2
FAQ entry for Vim segfault in Ruby files
2013-03-22 10:37:48 -07:00
Strahinja Val Markovic
74021144c0
Making the omni completer more robust
...
- There was a bug in not calling int() on the result of the first call to the
omnifunc.
- We need to be more resilient to badly written omnifuncs and check that the
result of the second call is a list or a dict with a list, as the vim docs say
the omnifunc should return on the second call.
One of the two fixes probably fixes #198 but since I can't repro the error, I
can't be sure.
2013-03-22 10:26:18 -07:00
Pi-Hsun Shih
83f8d65775
properly test the patch in IdentifierUtils::RemoveIdentifierFreeText
2013-03-21 13:53:54 +08:00
Strahinja Val Markovic
4f12febb44
Clarifying that ycm_extra_conf needs to be changed
...
Also tweaked YCM's extra conf file so that the flags variable that needs to be
changed is closer to the top of the file.
2013-03-20 18:31:49 -07:00
Strahinja Val Markovic
d0a51fbf2c
More info for conf file load dialog message
...
The user is now informed of options that can turn off this dialog.
2013-03-19 12:59:17 -07:00
Strahinja Val Markovic
f0ead1823a
Clarifying an error message
2013-03-17 18:54:57 -07:00
Strahinja Val Markovic
0535d0ec9a
:YcmDiags exits when compilation fails
...
Previously we'd tell the user "No warnings or errors detected", which is wrong.
2013-03-17 18:52:42 -07:00
Strahinja Val Markovic
56b2f70a1a
using "silent!" on maps we create with <unique>
2013-03-17 13:09:55 -07:00
Strahinja Val Markovic
4cb9f17c5f
Cache deletion is now async
2013-03-16 12:10:24 -07:00
Strahinja Val Markovic
1fce7ccec2
Adding the Boost Atomic and Lockfree libraries
2013-03-16 11:00:13 -07:00
Strahinja Val Markovic
c391bdcc62
Reducing RAM consumption by deleting unused caches
...
When the user deletes a buffer, we can delete the clang caches for that file.
Fixes #184 .
2013-03-16 10:41:47 -07:00
Val Markovic
6d53c1cf5a
Merge pull request #189 from fwalch/autoclose_preview_window_after_insertion
...
Added option to close the preview window after leaving insert mode
2013-03-16 10:36:27 -07:00
Florian Walch
a2595d6f7e
Option to close preview after leaving insert mode
...
Added the `g:ycm_autoclose_preview_window_after_insertion` option
(similar to `g:ycm_autoclose_preview_window_after_completion`).
If set, the preview window is automatically closed when the user leaves
insert mode.
2013-03-15 20:40:48 +01:00
Pi-Hsun Shih
2d11be9162
Add test for IdentifierUtils::RemoveIdentifierFreeText
2013-03-15 10:52:13 +08:00
Strahinja Val Markovic
6d6f53fdfe
New FAQ entry for screen flicker on cursor move
2013-03-14 18:33:35 -07:00
peter50216
6a0525254e
Fix handling of escaped \ in char or string.
2013-03-14 12:41:20 +08:00
Strahinja Val Markovic
9b2a214cbe
Updating an error message for ycm_core not found
2013-03-11 10:50:08 -07:00
Strahinja Val Markovic
8926a98bf4
Updating vimdoc from readme
2013-03-10 10:37:23 -07:00
Strahinja Val Markovic
005175d3f3
Filetype whitelist option added.
...
Also renaming the filetype blacklist option for the sake of symmetry.
Fixes #178 .
2013-03-09 20:32:31 -08:00
Strahinja Val Markovic
c394cb557e
'empty' over 'strlen' for empty string check (duh)
2013-03-09 19:31:00 -08:00
Strahinja Val Markovic
82bd32aa16
Fixing YCM breakage
...
VimScript is not Python so "!some_string" does not return false when some_string
is not empty (it _does_ return true when some_string _is_ empty). I of course
know this, but my fingers like to forget it from time to time.
2013-03-09 09:47:35 -08:00
Strahinja Val Markovic
81444e207c
Don't run when there's no filetype set.
...
Implements the smaller part of issue #178 .
2013-03-08 22:55:14 -08:00
Strahinja Val Markovic
c46b9c6b31
Removing outdated sentence from the README
2013-03-08 22:44:23 -08:00
Strahinja Val Markovic
ba6b40e485
Refactoring the ClangAvailableForBuffer method
2013-03-03 10:48:34 -08:00
Val Markovic
e72652e463
Merge pull request #172 from zehrizzatti/multiple_filetypes
...
Fix for multiple filetypes set
2013-03-03 10:40:47 -08:00
Zeh Rizzatti
c6aefaef86
Select correct triggers for multiple filetypes
...
The base class completer Inner chose the first filetype available and
would use the triggers for it.
The triggers are now chosen considering the first for the current buffer
that is supported by the current completer. If there is no intersection,
it fallsback to considering the first filetype for the buffer.
2013-03-03 01:52:56 -04:00
Zeh Rizzatti
ac1e04fc14
Check for a native completer with multiple filetypes
...
GetFiletypeCompleter would always return a omnicompleter for the first
filetype in case there was no native completer, and the lookup would
stop.
This changes that behaviour to get all possible completers and tries to
find a native one among them. If no native completer is found, it
returns the omnicompleter for the first filetypes, as it used to.
2013-03-02 22:14:22 -04:00
Zeh Rizzatti
1acd3e84c7
Support for multile filetypes in clang_completer
...
clang_completer would check if the raw value of '&ft' was one of
supported filetypes for the completer.
Vim allows for multiple filetypes with a '.' separator. A file with
ft=qt.cpp, for example, would not be supported by clang_completer even
though it was a cpp file.
This patch changes that behaviour.
2013-03-02 22:02:29 -04:00
Strahinja Val Markovic
5d97e709f5
Adding the any_of.hpp file to BoostParts
...
Fixes #171 , fixes #170
2013-03-02 08:39:03 -08:00
Strahinja Val Markovic
a6e83bfe76
Smart-case sensitive filtering
...
Fixes #120
2013-03-01 22:18:43 -08:00
Strahinja Val Markovic
831c122d06
Placating the compiler playing dumb about types
2013-03-01 20:34:01 -08:00
Strahinja Val Markovic
54ea5db7cc
Refactor for loop into std algo call
2013-03-01 20:15:36 -08:00
Strahinja Val Markovic
c8a9d0590e
boost::array instead of std::vector in nodelist
...
This should provide a minor performance boost & memory reduction.
2013-03-01 20:10:12 -08:00
Strahinja Val Markovic
dae3dcdd9e
Style fixes and minor refactoring
2013-03-01 20:09:55 -08:00
Strahinja Val Markovic
6d64a841bb
Updating vimdoc from readme
2013-03-01 18:40:02 -08:00
Strahinja Val Markovic
d2db03b021
Better error message when unable to get diags
...
Fixes #72 .
2013-03-01 18:37:10 -08:00