Skip to content

Commit

Permalink
Merge branch 'main' into feat/format-on-paste-2
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jan 26, 2024
2 parents f654bc8 + e3a03bc commit 162527c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion plugin/core/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def listener_for_view(self, view: sublime.View) -> Optional[AbstractViewListener
def discard(self, window: sublime.Window) -> None:
wm = self._windows.pop(window.id(), None)
if wm:
wm.destroy()
sublime.set_timeout_async(wm.destroy)


class RequestTimeTracker:
Expand Down

0 comments on commit 162527c

Please sign in to comment.