mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 03:47:51 +03:00
feat(lsp): add protobuf language servers (#12936)
This commit is contained in:
parent
c98302a543
commit
8cb0d869e6
2 changed files with 4 additions and 3 deletions
|
@ -175,7 +175,7 @@
|
||||||
| powershell | ✓ | | | |
|
| powershell | ✓ | | | |
|
||||||
| prisma | ✓ | ✓ | | `prisma-language-server` |
|
| prisma | ✓ | ✓ | | `prisma-language-server` |
|
||||||
| prolog | | | | `swipl` |
|
| prolog | | | | `swipl` |
|
||||||
| protobuf | ✓ | ✓ | ✓ | `bufls`, `pb` |
|
| protobuf | ✓ | ✓ | ✓ | `buf`, `pb`, `protols` |
|
||||||
| prql | ✓ | | | |
|
| prql | ✓ | | | |
|
||||||
| purescript | ✓ | ✓ | | `purescript-language-server` |
|
| purescript | ✓ | ✓ | | `purescript-language-server` |
|
||||||
| python | ✓ | ✓ | ✓ | `ruff`, `jedi-language-server`, `pylsp` |
|
| python | ✓ | ✓ | ✓ | `ruff`, `jedi-language-server`, `pylsp` |
|
||||||
|
|
|
@ -16,7 +16,7 @@ bass = { command = "bass", args = ["--lsp"] }
|
||||||
beancount-language-server = { command = "beancount-language-server" }
|
beancount-language-server = { command = "beancount-language-server" }
|
||||||
bicep-langserver = { command = "bicep-langserver" }
|
bicep-langserver = { command = "bicep-langserver" }
|
||||||
bitbake-language-server = { command = "bitbake-language-server" }
|
bitbake-language-server = { command = "bitbake-language-server" }
|
||||||
bufls = { command = "bufls", args = ["serve"] }
|
buf = { command = "buf", args = ["beta", "lsp", "--timeout", "0"] }
|
||||||
cairo-language-server = { command = "cairo-language-server", args = [] }
|
cairo-language-server = { command = "cairo-language-server", args = [] }
|
||||||
circom-lsp = { command = "circom-lsp" }
|
circom-lsp = { command = "circom-lsp" }
|
||||||
cl-lsp = { command = "cl-lsp" }
|
cl-lsp = { command = "cl-lsp" }
|
||||||
|
@ -87,6 +87,7 @@ prisma-language-server = { command = "prisma-language-server", args = ["--stdio"
|
||||||
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
||||||
pylsp = { command = "pylsp" }
|
pylsp = { command = "pylsp" }
|
||||||
pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
|
pyright = { command = "pyright-langserver", args = ["--stdio"], config = {} }
|
||||||
|
protols = { command = "protols", args = [] }
|
||||||
basedpyright = { command = "basedpyright-langserver", args = ["--stdio"], config = {} }
|
basedpyright = { command = "basedpyright-langserver", args = ["--stdio"], config = {} }
|
||||||
pylyzer = { command = "pylyzer", args = ["--server"] }
|
pylyzer = { command = "pylyzer", args = ["--server"] }
|
||||||
qmlls = { command = "qmlls" }
|
qmlls = { command = "qmlls" }
|
||||||
|
@ -348,7 +349,7 @@ name = "protobuf"
|
||||||
scope = "source.proto"
|
scope = "source.proto"
|
||||||
injection-regex = "proto"
|
injection-regex = "proto"
|
||||||
file-types = ["proto"]
|
file-types = ["proto"]
|
||||||
language-servers = [ "bufls", "pbkit" ]
|
language-servers = [ "buf", "pbkit", "protols" ]
|
||||||
comment-token = "//"
|
comment-token = "//"
|
||||||
block-comment-tokens = { start = "/*", end = "*/" }
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue