Skip to content

Commit 0842092

Browse files
authored
docs: add asm-lsp (#2400)
1 parent 7ddde2d commit 0842092

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/src/language_servers.md

+24
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,30 @@ If there are no setup steps for a language server on this page, but a [language
1616

1717
Follow installation instructions on [LSP-angular](https://github.com/sublimelsp/LSP-angular).
1818

19+
## Assembly
20+
21+
1. Install `asm-lsp` via Cargo (see [github:bergercookie/asm-lsp](https://github.com/bergercookie/asm-lsp)):
22+
23+
```sh
24+
cargo install asm-lsp
25+
```
26+
27+
2. Install the [x86 and x86_64 Assembly](https://packagecontrol.io/packages/x86%20and%20x86_64%20Assembly) package from Package Control.
28+
29+
3. Open `Preferences > Package Settings > LSP > Settings` and add the `"asm-lsp"` client configuration to the `"clients"`:
30+
31+
```jsonc
32+
{
33+
"clients": {
34+
"asm-lsp": {
35+
"enabled": true,
36+
"command": ["asm-lsp"],
37+
"selector": "source.asm | source.assembly"
38+
}
39+
}
40+
}
41+
```
42+
1943
## Bash
2044

2145
Follow installation instructions on [LSP-bash](https://github.com/sublimelsp/LSP-bash).

0 commit comments

Comments
 (0)