Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add asm-lsp #2400

Merged
merged 3 commits into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ If there are no setup steps for a language server on this page, but a [language

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

## Assembly

1. Install `asm-lsp` via Cargo (see [github:bergercookie/asm-lsp](https://github.com/bergercookie/asm-lsp)):

```sh
cargo install asm-lsp
```

2. Install the [x86 and x86_64 Assembly](https://packagecontrol.io/packages/x86%20and%20x86_64%20Assembly) package from Package Control.

3. Open `Preferences > Package Settings > LSP > Settings` and add the `"asm-lsp"` client configuration to the `"clients"`:

```jsonc
{
"clients": {
"asm-lsp": {
"enabled": true,
"command": ["asm-lsp"],
"selector": "source.asm | source.assembly"
}
}
}
```

## Bash

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