Skip to content

Commit a82344f

Browse files
authored
docs: update outdated Sublime Text instructions (#115)
Sublime Text instructions were out of date. Note: I'm one of the maintainers of Sublime LSP and LSP-clangd.
1 parent 6f6db5e commit a82344f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

installation.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,15 @@ vscode-clangd has excellent support for all clangd features, including:
263263

264264
<details>
265265
<summary markdown="span">Sublime Text</summary>
266-
[tomv564/LSP](https://github.com/tomv564/LSP) works with clangd out of the box.
266+
[sublimelsp/LSP](https://github.com/sublimelsp/LSP) together with [sublimelsp/LSP-clangd](https://github.com/sublimelsp/LSP-clangd) works with clangd out of the box.
267267

268268
Select **Tools**-->**Install Package Control** (if you haven't installed it yet).
269269

270270
Press `Ctrl-Shift-P` and select **Package Control: Install Package**. Select
271271
**LSP**.
272272

273-
Press `Ctrl-Shift-P` and select **LSP: Enable Language Server Globally**. Select
274-
**clangd**.
273+
Press `Ctrl-Shift-P` and select **Package Control: Install Package**. Select
274+
**LSP-clangd**.
275275

276276
Open a C++ file, and you should see diagnostics and completion:
277277

@@ -287,12 +287,9 @@ The LSP package has excellent support for all most clangd features, including:
287287

288288
### Under the hood
289289

290-
Settings can be tweaked under **Preferences**-->**Package Settings**-->**LSP**.
290+
Settings can be tweaked under **Preferences**-->**Package Settings**-->**LSP**-->**servers**-->**LSP-clangd** or from the Command Palette by selecting **Preferences: LSP-clangd Settings**.
291291

292-
- **Debug logs**: add `"log_stderr": true`
293-
- **Command-line flags and alternate clangd binary**: inside the
294-
`"clients": {"clangd": { ... } }` section, add
295-
`"command": ["/path/to/clangd", "-log=verbose"]` etc.
292+
- **Command-line flags and alternate clangd binary**: check inside **Preferences: LSP-clangd Settings** for relevant option and documentation.
296293

297294
</details>
298295

0 commit comments

Comments
 (0)