From 325692a154b4190fe75c964c5704d54924165f0e Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Wed, 2 Aug 2023 20:12:31 +0200 Subject: [PATCH] languages: add protobuf language servers (#7796) * languages: add bufls protobuf language server * languages: add pbkit protobuf language server --- book/src/generated/lang-support.md | 2 +- languages.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 4b19c4b80..62a1d4b9a 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -115,7 +115,7 @@ | ponylang | ✓ | ✓ | ✓ | | | prisma | ✓ | | | `prisma-language-server` | | prolog | | | | `swipl` | -| protobuf | ✓ | | ✓ | | +| protobuf | ✓ | | ✓ | `bufls`, `pb` | | prql | ✓ | | | | | purescript | ✓ | | | `purescript-language-server` | | python | ✓ | ✓ | ✓ | `pylsp` | diff --git a/languages.toml b/languages.toml index b6278730e..7e48301ac 100644 --- a/languages.toml +++ b/languages.toml @@ -7,6 +7,7 @@ awk-language-server = { command = "awk-language-server" } bash-language-server = { command = "bash-language-server", args = ["start"] } bass = { command = "bass", args = ["--lsp"] } bicep-langserver = { command = "bicep-langserver" } +bufls = { command = "bufls", args = ["serve"] } cairo-language-server = { command = "cairo-language-server", args = [] } cl-lsp = { command = "cl-lsp", args = [ "stdio" ] } clangd = { command = "clangd" } @@ -48,6 +49,7 @@ ols = { command = "ols", args = [] } omnisharp = { command = "OmniSharp", args = [ "--languageserver" ] } openscad-lsp = { command = "openscad-lsp", args = ["--stdio"] } pasls = { command = "pasls", args = [] } +pbkit = { command = "pb", args = [ "lsp" ] } perlnavigator = { command = "perlnavigator", args= ["--stdio"] } prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] } purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] } @@ -258,6 +260,7 @@ name = "protobuf" scope = "source.proto" injection-regex = "protobuf" file-types = ["proto"] +language-servers = [ "bufls", "pbkit" ] roots = [] comment-token = "//" indent = { tab-width = 2, unit = " " }