Created
October 3, 2023 18:49
-
-
Save bstaletic/a8b3be5a1f914b2f414d798e0031abb4 to your computer and use it in GitHub Desktop.
YCM README.md proposal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/README.md b/README.md | |
index 12fd01a1..b9c73b88 100644 | |
--- a/README.md | |
+++ b/README.md | |
@@ -391,7 +391,7 @@ The following additional language support options are available: | |
and add `--cs-completer` when calling `install.py`. | |
- Go support: install [Go][go-install] and add `--go-completer` when calling | |
`install.py`. | |
-- JavaScript and TypeScript support: install [Node.js and npm][npm-install] and | |
+- JavaScript and TypeScript support: install [Node.js 18+ and npm][npm-install] and | |
add `--ts-completer` when calling `install.py`. | |
- Rust support: add `--rust-completer` when calling `install.py`. | |
- Java support: install [JDK 17][jdk-install] and add | |
@@ -431,6 +431,9 @@ apt install build-essential cmake vim-nox python3-dev | |
- Install mono-complete, go, node, java and npm | |
``` | |
+sudo mkdir -p /etc/apt/keyrings | |
+sudo curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg | |
+echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_current.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list | |
apt install mono-complete golang nodejs openjdk-17-jdk openjdk-17-jre npm | |
``` | |
@@ -499,7 +502,7 @@ The following additional language support options are available: | |
when calling `install.py`. | |
- Go support: install [Go][go-install] and add `--go-completer` when calling | |
`install.py`. | |
-- JavaScript and TypeScript support: install [Node.js and npm][npm-install] and | |
+- JavaScript and TypeScript support: install [Node.js 18+ and npm][npm-install] and | |
add `--ts-completer` when calling `install.py`. | |
- Rust support: add `--rust-completer` when calling `install.py`. | |
- Java support: install [JDK 17][jdk-install] and add | |
@@ -613,7 +616,7 @@ The following additional language support options are available: | |
Be sure that [the build utility `msbuild` is in your PATH][add-msbuild-to-path]. | |
- Go support: install [Go][go-install] and add `--go-completer` when calling | |
`install.py`. | |
-- JavaScript and TypeScript support: install [Node.js and npm][npm-install] and | |
+- JavaScript and TypeScript support: install [Node.js 18+ and npm][npm-install] and | |
add `--ts-completer` when calling `install.py`. | |
- Rust support: add `--rust-completer` when calling `install.py`. | |
- Java support: install [JDK 17][jdk-install] and add | |
@@ -1555,7 +1558,7 @@ available on [the wiki][tern-instructions]. | |
All JavaScript and TypeScript features are provided by the [TSServer][] engine, | |
which is included in the TypeScript SDK. To enable these features, install | |
-[Node.js and npm][npm-install] and call the `install.py` script with the | |
+[Node.js 18+ and npm][npm-install] and call the `install.py` script with the | |
`--ts-completer` flag. | |
[TSServer][] relies on [the `jsconfig.json` file][jsconfig.json] for JavaScript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment