Commit Graph

869 Commits

Author SHA1 Message Date
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
Strahinja Val Markovic
1268a258d7 Some rewording for the CONTRIBUTING doc 2013-04-06 09:56:51 -07:00
Strahinja Val Markovic
74705cc0e0 Github now serves page from github.io; update docs 2013-04-05 18:02:00 -07:00
Strahinja Val Markovic
e4fc9a1136 Forcing the critical 'B' flag in cpoptions
Fixes #223.
2013-04-04 17:49:10 -07:00
Strahinja Val Markovic
a75c92bb6a Using event.is_set to be compatible with Python2.6
Fixes #227
2013-04-03 19:14:46 -07:00
Val Markovic
36815d7ccc Merge pull request #231 from weslem/master
Prevent segfaults on Goto* with unparseable files
2013-04-03 18:55:38 -07:00
Strahinja Val Markovic
bbc437c6a1 Adding the CONTRIBUTING file 2013-04-03 18:50:01 -07:00
Matthew Wesley
a00535f078 Return an empty location instead of segfaulting 2013-04-03 14:58:37 -04:00
Strahinja Val Markovic
1676a3b2a4 Style fixes for C++ 2013-04-01 19:09:37 -07:00
Val Markovic
b294d2531d Merge pull request #226 from mmlb/master
README has YcmCommand instead of YcmCompleter
2013-04-01 10:47:57 -07:00
Strahinja Val Markovic
ac1dc85fd6 Note about the jumplist mappings in docs 2013-04-01 09:58:20 -07:00
Manuel Mendez
90ab0d07a0 Replace YcmCommand with YcmCompleter in README.md 2013-04-01 09:55:37 -03:00
Strahinja Val Markovic
8e4a2e24f8 Ignoring mappings in our vim 'normal' invocation 2013-03-31 21:01:38 -07:00
Strahinja Val Markovic
cd7f5355fc More docs on the new go-to-definition/declaration 2013-03-31 20:42:29 -07:00
Strahinja Val Markovic
1f094e50d0 GoToDefinition/Declaration commands for C-family
These are accessible through the :YcmCompleter command. The docs have more
information.
2013-03-31 20:38:29 -07:00
Strahinja Val Markovic
99a699cb03 Docs now state there's no need to install Jedi 2013-03-29 09:52:07 -07:00
Strahinja Val Markovic
bdb88f7b76 Updating vimdoc 2013-03-25 19:51:42 -07:00
Strahinja Val Markovic
bc4e7fb850 Option to disable YCM-Syntastic integration
Fixes #210.
2013-03-25 19:48:07 -07:00
Strahinja Val Markovic
b4837c81fe Handling exceptions in jedi_completer thread 2013-03-24 18:52:50 -07:00
Strahinja Val Markovic
edbcb3abfe More cleanup for correctness and simplicity
The jedi completer now won't hang on <C-Space>
2013-03-24 18:42:31 -07:00
Strahinja Val Markovic
bdc93974af Updated docs noting the new Jedi engine for Python 2013-03-24 15:38:45 -07:00
Strahinja Val Markovic
9845d81fb0 More style fixes 2013-03-24 15:22:31 -07:00
Strahinja Val Markovic
a63b2b6dd1 Merge branch 'grncdr-jedi' into dev 2013-03-24 15:08:47 -07:00
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