Strahinja Val Markovic
840930ce09
Fixing minor regressions from general store commit
...
A few Completer methods that should have been forwarded to general completers
were not. This broke the identifier completer picking up the current identifier
right after it's typed in.
2013-04-25 15:36:56 -07:00
Val Markovic
dd8ca0cce2
Merge pull request #276 from JazzCore/ultisnips_unicode
...
fix UnicodeEncodeError in ultisnips_completer
2013-04-25 15:17:36 -07:00
Stanislav Golovanov
4d138b2b7f
fix UnicodeEncodeError in ultisnips_completer
...
Fix a rare exception when a description of UltiSnips snippet contains
unicode symbols.
Fixes #274
2013-04-26 00:42:02 +04:00
Strahinja Val Markovic
a9215f10fe
Including current file dir for #include "" form
...
Relevant to issue #273
2013-04-25 12:56:32 -07:00
Strahinja Val Markovic
f4615c00c0
Separate options for completion in string/comment
...
We want to turn on completion in strings by default, but not for completion in
comments.
2013-04-24 23:15:13 -07:00
Strahinja Val Markovic
663873255f
Filename completer now uses include paths
...
It's also smart enough to trigger filename completion right after '#include "'.
Fixes #261
2013-04-24 22:51:53 -07:00
Strahinja Val Markovic
3ae9764451
Force filename completer on #include
2013-04-24 19:59:14 -07:00
Strahinja Val Markovic
7500a94cda
Use OnBufferVisit in ultisnips completer
...
This is instead of OnFileReadyToParse which is called every time the users stops
typing.
2013-04-24 13:31:28 -07:00
Strahinja Val Markovic
8c0a9bc90e
Fixing rare hang issue with ultisnips completer
...
The issue was that AsyncCandidateRequestReady in the ultisnips completer would
always return false if there were no snippets for the current filetype, leading
to an infinite loop in CompletionsForQuery.
Fixes #270 .
2013-04-24 13:07:56 -07:00
Strahinja Val Markovic
a7203d97c8
Small README clarification
2013-04-23 11:17:45 -07:00
Strahinja Val Markovic
7d38fdd258
Removing some out-of-date instructions from README
...
Fixes #266
2013-04-23 11:15:24 -07:00
Strahinja Val Markovic
3258f324dd
Merge branch 'JazzCore-general_completers'
...
Conflicts:
python/ycm.py
2013-04-22 22:37:32 -07:00
Strahinja Val Markovic
196228217f
Filename completer now uses threads
...
This was done by introducing a new ThreadedCompleter class that descends from
Completer. Both JediCompleter and FilenameCompleter descend from
ThreadedCompleter.
2013-04-22 22:30:10 -07:00
Strahinja Val Markovic
8d20637295
User can now pick the root for relative paths
2013-04-22 22:30:10 -07:00
Strahinja Val Markovic
aa9127e3dc
Rewriting the code from the pull request
...
This implements the filename completer and introduces integration with
UltiSnips. The user will now see snippets in the completion menu. After
selecting a snippet, the user should invoke the UltiSnips trigger key
(which should be changed from the default of TAB) to trigger the snippet
expansion.
Fixes #77 , Fixes #36
2013-04-22 22:26:35 -07:00
Stanislav Golovanov
bb5839dd74
Add general filename completer & other stuff
2013-04-22 22:24:38 -07:00
Strahinja Val Markovic
18427a14a9
Version string in FAQ question now less specific
2013-04-22 13:44:43 -07:00
Strahinja Val Markovic
e0d39f9bc3
FAQ entry about too old system glibc
2013-04-22 13:43:07 -07:00
Strahinja Val Markovic
14b2220f01
Supporting YcmCorePreload logic
...
Now the user has the option of writing custom logic before ycm_core.so is
loaded. This can be used to dynamically change the location of where ycm_core.so
is loaded by prepending paths to sys.path.
Very, very few people will need this feature, but I'm one of them so there.
2013-04-22 10:31:16 -07:00
Strahinja Val Markovic
aea154e829
Refactoring ycm_extra_conf handling into module
2013-04-22 10:31:16 -07:00
Stanislav Golovanov
5d37c40fea
Add general UltiSnips snippet completer
2013-04-21 01:28:37 +04:00
Stanislav Golovanov
48cda3bb8f
Add general completers support
2013-04-21 01:28:37 +04:00
Strahinja Val Markovic
c3b7e55762
FilterAndSortCandidates returns all on empty query
...
Previously it returned an empty list. It makes mores sense to return the input
list of candidates because conceptually everything matches an empty query.
2013-04-20 13:27:55 -07:00
Strahinja Val Markovic
6d0c736d04
Making sure that <C-Space> works in console Vim
...
Fixes #256 .
2013-04-19 18:33:48 -07:00
Strahinja Val Markovic
93ed6f7db7
Fix bug with removing flag after "-c"
...
-c does not take an argument. Why did I think it did?
2013-04-19 10:31:55 -07:00
Strahinja Val Markovic
604b79a5a2
Travis CI build status image in README
2013-04-18 23:42:03 -07:00
Strahinja Val Markovic
484c5f7241
Travis CI config file & related required changes
2013-04-18 23:38:29 -07:00
Strahinja Val Markovic
12c1583ecf
Proper em-dash use in docs
2013-04-14 22:42:32 -07:00
Strahinja Val Markovic
3b52482d56
Updating var default in docs from code
2013-04-14 22:40:08 -07:00
Strahinja Val Markovic
02bcc1fe51
Minor docs formatting change
2013-04-14 22:36:35 -07:00
Strahinja Val Markovic
589f157aa6
Docs now explain how to turn off ident-completion
...
Fixes #53
2013-04-14 22:27:27 -07:00
Strahinja Val Markovic
7ca11d41f0
Small clarification for docs intro
2013-04-14 22:12:05 -07:00
Val Markovic
35b7193279
Merge pull request #248 from trefis/master
...
Add semantic triggers for ocaml
2013-04-13 10:05:45 -07:00
Thomas Refis
be931c1134
adding ocaml support
2013-04-13 18:02:29 +02:00
Val Markovic
4704be50f9
Merge pull request #246 from trefis/master
...
Error in OmniCompleter
2013-04-13 08:45:48 -07:00
Thomas Refis
dad08df71b
checking if a key is in a dict is done with 'key in dict' not 'hasattr(dict, key)'
2013-04-13 14:29:57 +02:00
Strahinja Val Markovic
71e1b71a03
ycm_cache_omnifunc should use the user's value
2013-04-12 15:12:27 -07:00
Strahinja Val Markovic
882c6b5d18
Note about syntastic var for loclist population
2013-04-12 11:08:04 -07:00
Val Markovic
685c49ceb5
Merge pull request #238 from JacekLach/do-not-cache-omnifunc
...
Do not cache omnifunc
2013-04-11 15:52:27 -07:00
Jacek Lach
1b4eb6122c
Make caching optional in the omnicompleter
2013-04-11 10:22:16 +01:00
Strahinja Val Markovic
20c535a970
Updating vimdoc
2013-04-10 20:49:44 -07:00
Strahinja Val Markovic
7ff4774e96
Possible fix for random hang on Vim close
...
Reparse would take the clang lock and then possibly call Destroy while still
holding the lock. Destroy would try to take that same lock, and the mutex is not
recursive. Unpleasantness ensues.
I _think_ this is the root cause of #218 , but I can't be sure. Such is life with
threads.
Fixes #218 .
2013-04-10 19:45:50 -07:00
Strahinja Val Markovic
89d93bc85c
Fix traceback on <C-Space> semantic invoke
...
This was caused by yesterday's refactoring. I forgot to update one call site.
Fixes #242
2013-04-10 18:47:07 -07:00
Val Markovic
322c4ef4d4
Fix typo introduced in refactor
2013-04-09 23:40:04 -07:00
Strahinja Val Markovic
77fbd80c89
Refactoring out some vim.eval calls
...
s:completion_start_column should not be evaled in Python code. That was a
stopgap measure that ended up lasting far longer than intended.
2013-04-09 19:32:48 -07:00
Strahinja Val Markovic
27d73e0d51
Removing some dead code
2013-04-09 18:43:29 -07:00
Strahinja Val Markovic
dad9488fbe
Refactoring the way install.sh checks for commands
2013-04-09 18:36:59 -07:00
Val Markovic
0502ef1958
Merge pull request #240 from izx64/patch-1
...
Update install.sh
2013-04-09 18:11:58 -07:00
Ellis kenyo
5312827480
Update install.sh
...
Added more efficient option to detect number of cores on running system via nproc
2013-04-09 22:34:46 +02:00
Strahinja Val Markovic
085df7e8af
Fix traceback print on None for |location|
...
This happens when the user invokes a GoTo* command on a file with no compilation
flags.
2013-04-08 11:15:27 -07:00