From 259be07f05db68cfcd2f14f2ce39e6b43938856c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Plagborg=20Bak=20S=C3=B8rensen?= <57013304+kpbaks@users.noreply.github.com> Date: Sun, 26 Jan 2025 17:28:40 +0100 Subject: [PATCH] feat: add asm-lsp for assembly dialects (#12684) --- book/src/generated/lang-support.md | 4 ++-- languages.toml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 9287ccb1b..404749456 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -60,7 +60,7 @@ | forth | ✓ | | | `forth-lsp` | | fortran | ✓ | | ✓ | `fortls` | | fsharp | ✓ | | | `fsautocomplete` | -| gas | ✓ | ✓ | | | +| gas | ✓ | ✓ | | `asm-lsp` | | gdscript | ✓ | ✓ | ✓ | | | gemini | ✓ | | | | | gherkin | ✓ | | | | @@ -140,7 +140,7 @@ | mojo | ✓ | ✓ | ✓ | `magic` | | move | ✓ | | | | | msbuild | ✓ | | ✓ | | -| nasm | ✓ | ✓ | | | +| nasm | ✓ | ✓ | | `asm-lsp` | | nestedtext | ✓ | ✓ | ✓ | | | nginx | ✓ | | | | | nickel | ✓ | | ✓ | `nls` | diff --git a/languages.toml b/languages.toml index 2df7f7c6f..541690cbb 100644 --- a/languages.toml +++ b/languages.toml @@ -9,6 +9,7 @@ als = { command = "als" } ada-language-server = { command = "ada_language_server" } ada-gpr-language-server = {command = "ada_language_server", args = ["--language-gpr"]} angular = {command = "ngserver", args = ["--stdio", "--tsProbeLocations", ".", "--ngProbeLocations", ".",]} +asm-lsp = { command = "asm-lsp" } awk-language-server = { command = "awk-language-server" } bash-language-server = { command = "bash-language-server", args = ["start"] } bass = { command = "bass", args = ["--lsp"] } @@ -3049,6 +3050,7 @@ file-types = ["asm", "S", "nasm"] injection-regex = "n?asm" comment-token = ";" indent = { tab-width = 8, unit = " " } +language-servers = ["asm-lsp"] [[grammar]] name = "nasm" @@ -3061,6 +3063,7 @@ file-types = ["s"] injection-regex = "gas" comment-token = "#" indent = { tab-width = 8, unit = " " } +language-servers = ["asm-lsp"] [[grammar]] name = "gas"