Skip to content

Commit a239ddd

Browse files
authored
Update vim docs
1 parent bf0dbea commit a239ddd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/youcompleteme.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ The following additional language support options are available:
610610
- Go support: install Go [31] and add '--go-completer' when calling
611611
'install.py'.
612612

613-
- JavaScript and TypeScript support: install Node.js and npm [32] and add
613+
- JavaScript and TypeScript support: install Node.js 18+ and npm [32] and add
614614
'--ts-completer' when calling 'install.py'.
615615

616616
- Rust support: add '--rust-completer' when calling 'install.py'.
@@ -650,6 +650,9 @@ Quick start, installing all completers ~
650650
<
651651
- Install mono-complete, go, node, java and npm
652652
>
653+
sudo mkdir -p /etc/apt/keyrings
654+
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
655+
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
653656
apt install mono-complete golang nodejs openjdk-17-jdk openjdk-17-jre npm
654657
<
655658
- Compile YCM
@@ -709,7 +712,7 @@ The following additional language support options are available:
709712
- Go support: install Go [31] and add '--go-completer' when calling
710713
'install.py'.
711714

712-
- JavaScript and TypeScript support: install Node.js and npm [32] and add
715+
- JavaScript and TypeScript support: install Node.js 18+ and npm [32] and add
713716
'--ts-completer' when calling 'install.py'.
714717

715718
- Rust support: add '--rust-completer' when calling 'install.py'.
@@ -819,7 +822,7 @@ The following additional language support options are available:
819822
- Go support: install Go [31] and add '--go-completer' when calling
820823
'install.py'.
821824

822-
- JavaScript and TypeScript support: install Node.js and npm [32] and add
825+
- JavaScript and TypeScript support: install Node.js 18+ and npm [32] and add
823826
'--ts-completer' when calling 'install.py'.
824827

825828
- Rust support: add '--rust-completer' when calling 'install.py'.
@@ -1785,7 +1788,7 @@ available on the wiki [74].
17851788

17861789
All JavaScript and TypeScript features are provided by the TSServer [15]
17871790
engine, which is included in the TypeScript SDK. To enable these features,
1788-
install Node.js and npm [32] and call the 'install.py' script with the
1791+
install Node.js 18+ and npm [32] and call the 'install.py' script with the
17891792
'--ts-completer' flag.
17901793

17911794
TSServer [15] relies on the 'jsconfig.json' file [75] for JavaScript and the

0 commit comments

Comments
 (0)