-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(buf): new lsp for protobuf (#3414)
new server bufls for protobuf filetype
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
return { | ||
default_config = { | ||
cmd = { 'buf', 'beta', 'lsp', '--timeout=0', '--log-format=text' }, | ||
filetypes = { 'proto' }, | ||
root_dir = require('lspconfig.util').root_pattern('buf.yaml', '.git'), | ||
}, | ||
docs = { | ||
description = [[ | ||
https://github.com/bufbuild/buf | ||
buf beta lsp included in the cli itself | ||
buf beta lsp is a Protobuf language server compatible with Buf modules and workspaces | ||
]], | ||
}, | ||
} |