Commit Graph

26 Commits

Author SHA1 Message Date
ryneeverett
30328c3c33 ycmd: typescript completion support
Link the already-packaged typescript package so that ycmd will support
completions for javascript and typescript filetypes.

The structure of these installation directories is "documented" here:
<https://github.com/ycm-core/ycmd/blob/master/build.py>.

I don't completely understand why the language support is passed as
optional attrs Is it because folks want to build leaner packages and
pass null or because they want to target particular dependencies? At any
rate I followed the pattern.
2020-04-24 19:02:31 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Evan Stoll
5e895e535c ycmd: 2019-09-19 -> 2020-02-22
drop support for python2

ycmd dropped support for python2 with https://github.com/ycm-core/ycmd/pull/1382

youcompleteme dropped support for python2 with https://github.com/ycm-core/YouCompleteMe/pull/3566
2020-02-27 15:46:36 -08:00
Sirio Balmelli
dee0cb7be5
ycmd: add gopls completer
ycmd gives 'no completer support' because of missing 'gopls'.
Add this as a conditional dependency.

Refactor the 'mkdir -p' step to be conditional per-dependency,
and placed just before the link step.
This is mostly for legibility but also pedantic correctness:
do not create a directory unless it will be used.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2019-09-20 21:33:40 +02:00
Sirio Balmelli
7d21d6a680
ycmd: update build to 2019-09-19
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2019-09-20 21:33:40 +02:00
Sirio Balmelli
dfc7bdb1a3
ycmd: install phase copies all dirs below 'third_party'
Copy _all_ of 'third_party'.
Cherry-picking the contents of this dir is a fragile approach as
they change in later commits (breaking this build).

This approach continues to work on the current build,
and will not break with later versions of the project.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2019-09-20 21:33:37 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
worldofpeace
cab7c6cbd9 treewide: use dontConfigure 2019-07-01 04:23:51 -04:00
Charles Strahan
7bcb3305a5
ycmd: 2018-07-24 -> 2018-09-20 2018-09-24 02:13:33 -04:00
Daiderd Jordan
7dde18891f
ycmd: 2018-06-14 -> 2018-07-24
Also added missing parso library, this caused issues with the python
semantic completion (and possibly others)
2018-07-24 21:53:58 +02:00
Daiderd Jordan
a2a83755a2 ycmd: 2017-11-05 -> 2018-06-14 (#42080)
Fixes build with boost 1.67
2018-06-18 00:09:29 +02:00
Daiderd Jordan
2807920302 ycmd: use libclang 2018-01-17 15:53:08 +02:00
Charles Strahan
f39c132bce
ycmd: 2017-03-27 -> 2017-11-05 2017-11-17 11:20:11 -05:00
Daiderd Jordan
3b7566e76f
ycmd: copy libclang on darwin 2017-05-07 22:34:58 +02:00
Evan Danaher
33d8d15329 ycmd: 2017-02-03 -> 2017-03-27
Now works with newer version of vim youcompleteme plugin.

Details:
- The OS X patch is no longer necessary as that code was removed upstream.
- It seems to want LLVM version 4 now.
- It annoyingly wants to symlink libclang.4 to libclang.4.0; nix already
  did this.
2017-03-28 16:07:57 -04:00
Daiderd Jordan
07c21bfaf7
ycmd: fix darwin build 2017-02-14 00:31:29 +01:00
Charles Strahan
53a5117cde
ycmd: use vendored python libs
YouCompleteMe needs the packages to be available in ycmd's third_party
directory, and things start getting pretty complicated when we try to
use our package libs instead of the vendored ones. We can revisit this
at a later time, but we'll need to ensure that we don't break the vim
plugin.

Tested in vim.
2017-02-10 01:01:22 -05:00
Charles Strahan
b27edc4537
ycmd: 2016-01-12 -> 2017-02-03
Also, remove wrapper bash script and symlink completion backends to
ycmd can find them.
2017-02-06 04:11:03 -05:00
Frederik Rietdijk
7ea28bfc46 ycmd: use python2 2016-11-24 22:28:03 +01:00
Frederik Rietdijk
3ba16c8234 Do not use top-level buildPythonPackage or buildPythonApplication
but instead use the one in pythonPackages.
2016-09-26 11:10:51 +02:00
Alexey Shmalko
1a2c7fe628
ycmd: fix build
This also fixes build for Mac OS X. The build failed before because both
clang and clang-unwrapped were in scope and CMake tried to compile the
library with unwrapped clang with well-understood consequences.

This commit fixes the issue by passing libclang through a different way.
2016-08-18 03:26:51 +03:00
Alexey Shmalko
41a8dc7f0b
ycmd: claim mainteinership
I've added the package originally.
2016-07-08 02:40:33 +03:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Frederik Rietdijk
4d06bf70f4 buildPythonApplication: use new function for Python applications 2016-02-19 13:16:41 +01:00
Alexey Shmalko
c37c8e1c00 ycmd: Init at 2016-01-12 2016-01-15 01:39:21 +02:00