From f8872c858c23904e71842ccf394f3d193da4ee7f Mon Sep 17 00:00:00 2001 From: brotifypacha Date: Fri, 12 Jul 2024 18:19:02 +0300 Subject: [PATCH] update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8307552..a294ebf 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,9 @@ Using [coc.nvim](https://github.com/neoclide/coc.nvim), add it to `:CocConfig` "proto" :{ "command": "protobuf-language-server", "filetypes": ["proto", "cpp"] + "settings": { + "additional-proto-dirs": [ ] + } } } ``` @@ -41,7 +44,13 @@ configs.protobuf-language-server = { filetypes = { 'proto', 'cpp' }, root_fir = util.root_pattern('.git'), single_file_support = true, - settings = {}, + settings = { + ["additional-proto-dirs"] = [ + -- path to additional protobuf directories + -- "vendor", + -- "third_party", + ] + }, } }