Skip to content

Commit 93e4383

Browse files
coder3101glepnir
andauthored
feat: add protols support (neovim#3219)
* feat: add protols support * refactor: collapse function Co-authored-by: glepnir <[email protected]> --------- Co-authored-by: glepnir <[email protected]>
1 parent 9baca6a commit 93e4383

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.codespellignorewords

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
als
22
edn
33
esy
4+
protols
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
local util = require 'lspconfig.util'
2+
3+
return {
4+
default_config = {
5+
cmd = { 'protols' },
6+
filetypes = { 'proto' },
7+
single_file_support = true,
8+
root_dir = util.find_git_ancestor,
9+
},
10+
docs = {
11+
description = [[
12+
https://github.com/coder3101/protols
13+
14+
`protols` can be installed via `cargo`:
15+
```sh
16+
cargo install protols
17+
```
18+
19+
A Language Server for proto3 files. It uses tree-sitter and runs in single file mode.
20+
]],
21+
},
22+
}

0 commit comments

Comments
 (0)