Skip to content

Commit

Permalink
languages: add protobuf language servers (#7796)
Browse files Browse the repository at this point in the history
* languages: add bufls protobuf language server

* languages: add pbkit protobuf language server
  • Loading branch information
jzelinskie authored Aug 2, 2023
1 parent 15e07d4 commit 325692a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
| ponylang |||| |
| prisma || | | `prisma-language-server` |
| prolog | | | | `swipl` |
| protobuf || || |
| protobuf || || `bufls`, `pb` |
| prql || | | |
| purescript || | | `purescript-language-server` |
| python |||| `pylsp` |
Expand Down
3 changes: 3 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down Expand Up @@ -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"] }
Expand Down Expand Up @@ -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 = " " }
Expand Down

0 comments on commit 325692a

Please sign in to comment.