Commit Graph

264 Commits

Author SHA1 Message Date
Strahinja Val Markovic
3f0b719846 Encoding data to utf8 if 'unicode' object
ycm_core only deals with utf8 and the functions only accept python string
objects.
2013-10-07 11:03:26 -07:00
Strahinja Val Markovic
29bb90a6b4 Decoupling completers from Vim; still WIP & broken
Note to self: squash this commit before merging into master.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
bd374a7096 Completer access now through CompletionRequest
This will make it easier to put Completers in the server.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
28c3d9648c Deleting some dead code 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
6d29f429bb Adding the frozendict module
Upstream: https://github.com/slezica/python-frozendict
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
a26243092f Now more explicit about accessing user options
We don't inspect the Vim process anymore when we want an option; we parse the
options on startup and then use that data structure.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
1d224eb8b4 Indentation fix 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
cb74119353 Minor code style fixes 2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
22256f361d ShouldUseNow now takes a current_line param
This is now used instead of examining the vim.current.line property.
2013-10-07 11:03:25 -07:00
Strahinja Val Markovic
a077f85ecd extra conf path handling now OS-agnostic
It used to work incorrectly on Windows.

Fixes #490.
2013-08-25 10:44:45 -07:00
Strahinja Val Markovic
9d34fad24f Now parsing file on every normal mode cursor move
This is still fast & efficient because if we detect that the buffer hasn't been
changed (by examining b:changedtick), the parse doesn't proceed.

In effect, we now make sure we parse the file after every change to the buffer
as soon as that change happens. This means that compilation error feedback will
now be much, MUCH quicker.
2013-08-16 14:49:00 -07:00
Chiel92
44786c58ef Merge https://github.com/Valloric/YouCompleteMe 2013-08-16 21:03:39 +02:00
Chiel92
3c5a720835 Some minor fixes 2013-08-16 21:00:26 +02:00
Chiel92
cd6491290f flake fix and readme update 2013-08-16 11:11:32 +02:00
Chris
039ffa5a75 OmniSharp completer error message using incorrect naming format
The not found message used to instruct users on how to install the OmniSharp completer was using an underscore while the argument to the install script uses a hyphen. The message now uses the correct naming format.
2013-08-15 21:29:27 -07:00
Chiel92
6b73f3fde4 Goto definition implemented 2013-08-15 12:17:42 +02:00
Chiel92
bba97eb38b ServerIsRunning pitfall eliminated 2013-08-15 11:50:54 +02:00
Strahinja Val Markovic
0215a5b8c5 Show server location for C# completer debug output 2013-08-14 19:21:20 -07:00
Strahinja Val Markovic
40146b923d Minor code style changes 2013-08-14 18:57:41 -07:00
Chiel92
66f4136526 minor style fixes 2013-08-14 17:02:10 +02:00
Chiel92
8f63ec9e09 Merge https://github.com/Valloric/YouCompleteMe 2013-08-14 16:35:55 +02:00
Chiel92
b2c85d7060 simple debug info added 2013-08-14 16:34:44 +02:00
Chiel92
253c5b39ac default logfiles and some refactoring 2013-08-14 15:40:43 +02:00
svermeulen
65bca8b56a Added option to control whether YCM should auto-stop the omnisharp server upon leaving Vim or leave it running. 2013-08-12 16:11:19 -03:00
Strahinja Val Markovic
cb89c3f477 Minor code style fixes 2013-07-31 21:39:34 -07:00
Strahinja Val Markovic
4374da616e Fix crash: posting Vim message from thread
Vim is not thread-safe so posting a message to Vim from a non-GUI thread causes
a crash *sometimes*. I was aware of this problem before, but didn't catch this
instance of it in code review.

Fixes #479.
2013-07-30 11:20:52 -07:00
Chiel92
60e52f1a39 style fixes 2013-07-19 12:16:16 +02:00
Chiel92
a56041156e Merge branch 'C#MultipleOmniSharps' of https://github.com/mispencer/YouCompleteMe into multiple_sln
Conflicts:
	python/ycm/completers/cs/cs_completer.py
2013-07-19 11:55:25 +02:00
Chiel92
3f23893576 Merge branch 'master' of https://github.com/Chiel92/YouCompleteMe into multiple_sln
Conflicts:
	python/ycm/completers/cs/cs_completer.py
2013-07-19 11:31:52 +02:00
Chiel92
92032d7f54 Merge branch 'master' of https://github.com/Chiel92/YouCompleteMe into multiple_sln 2013-07-19 10:25:30 +02:00
Hinidu
e6183d6402 Fix code style 2013-07-18 18:18:17 +03:00
Hinidu
642572130c Add mono to command for non-windows systems 2013-07-18 13:35:46 +03:00
Strahinja Val Markovic
7aa01b9c09 More style fixes + more status reporting to :mes 2013-07-17 19:29:43 -07:00
Strahinja Val Markovic
33a05a4b42 Minor style fixes 2013-07-17 18:30:56 -07:00
Chiel92
44eaf5a0da Merge https://github.com/Valloric/YouCompleteMe
Conflicts:
	install.sh
2013-07-16 20:59:26 +02:00
Chiel92
485457af5d Apparently tested an unsaved file -_- 2013-07-16 16:12:40 +02:00
Chiel92
3617ce69db style fixes 2013-07-16 12:33:07 +02:00
Spencer G. Jones
1a7da1650c Find a free port for OmniSharp if another OmniSharp is using the default port 2013-07-15 09:12:32 -06:00
Chiel92
e15ec6ee93 minor refactoring PR #2 2013-07-13 20:11:59 +02:00
Spencer G. Jones
3737ca2ef4 Optionally write OmniSharp stdout and stderr to log files 2013-07-12 14:46:33 -06:00
Chiel92
a6a9fa10c3 pointed submodule to newest commit 2013-07-10 11:27:55 +02:00
Strahinja Val Markovic
ddd0287436 Code style fixes 2013-07-08 16:00:06 -07:00
Strahinja Val Markovic
a011eb6aa0 Fix duplicate entries in filename completion
We could just remove the "dup: 1" part in the completion dict, but that would
leave the duplicate removal up to Vim which would be slow. Also, we might not
end up returning the correct number of results then.
2013-07-08 15:56:54 -07:00
Chiel92
3227e6dc73 checkalivestatus rename 2013-07-08 14:39:43 +02:00
Chiel92
9250f55952 minor fix 2013-07-08 11:44:06 +02:00
Chiel92
bdd95ff43f variable for csharp server port added 2013-07-08 11:39:17 +02:00
Chiel92
6ec038870b ServerIsRunning fixed and variable defaults set 2013-07-08 11:22:17 +02:00
Chiel92
34c24129d2 Merge https://github.com/Valloric/YouCompleteMe 2013-07-07 22:37:10 +02:00
Chiel92
2f207cb4c6 autostart/stop server 2013-07-07 22:36:05 +02:00
Val Markovic
f7ef1aa041 Merge pull request #424 from beards/master
fix jedi DeprecationWarning
2013-07-07 11:13:22 -07:00