All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 ===============================================================================
2 ALE Proto Integration *ale-proto-options*
5 ===============================================================================
6 Integration Information
8 To enable `.proto` file linting, update |g:ale_linters| as appropriate:
10 " Enable linter for .proto files
11 let g:ale_linters = {'proto': ['buf-lint', 'protoc-gen-lint', 'protolint']}
13 To enable `.proto` file fixing, update |g:ale_fixers| as appropriate:
15 " Enable linter for .proto files
16 let b:ale_fixers = {'proto': ['buf-format', 'protolint']}
19 ===============================================================================
20 buf-format *ale-proto-buf-format*
22 The formatter uses `buf`, a fully-featured Protobuf compiler that doesn't depend
23 on `protoc`. Make sure the `buf` binary is available in the system path, or
24 set ale_proto_buf_format_executable.
26 *ale-options.proto_buf_format_executable*
27 *g:ale_proto_buf_format_executable*
28 proto_buf_format_executable
29 g:ale_proto_buf_format_executable
33 This variable can be changed to modify the executable used for buf.
36 ===============================================================================
37 buf-lint *ale-proto-buf-lint*
39 The linter uses `buf`, a fully-featured Protobuf compiler that doesn't depend
40 on `protoc`. Make sure the `buf` binary is available in the system path, or
41 set ale_proto_buf_lint_executable.
43 *ale-options.proto_buf_lint_executable*
44 *g:ale_proto_buf_lint_executable*
45 proto_buf_lint_executable
46 g:ale_proto_buf_lint_executable
50 This variable can be changed to modify the executable used for buf.
52 *ale-options.proto_buf_lint_config*
53 *g:ale_proto_buf_lint_config*
55 g:ale_proto_buf_lint_config
59 A path to a buf configuration file.
61 The path to the configuration file can be an absolute path or a relative
62 path. ALE will search for the relative path in parent directories.
65 ===============================================================================
66 clang-format *ale-proto-clangformat*
68 See |ale-c-clangformat| for information about the available options.
69 Note that the C options are also used for Proto.
72 ===============================================================================
73 protoc-gen-lint *ale-proto-protoc-gen-lint*
75 The linter is a plugin for the `protoc` binary. As long as the binary resides
76 in the system path, `protoc` will find it.
78 *ale-options.proto_protoc_gen_lint_options*
79 *g:ale_proto_protoc_gen_lint_options*
80 proto_protoc_gen_lint_options
81 g:ale_proto_protoc_gen_lint_options
85 This variable can be changed to modify flags given to protoc. Note that the
86 directory of the linted file is always passed as an include path with '-I'
87 before any user-supplied options.
90 ===============================================================================
91 protolint *ale-proto-protolint*
93 The linter is a pluggable tool that doesn't depend on the `protoc` binary.
94 This supports both linting and fixing.
95 Make sure the binary is available in the system path, or set
96 ale_proto_protolint_executable.
97 Note that the binary with v0.22.0 or above is supported.
99 *ale-options.proto_protolint_executable*
100 *g:ale_proto_protolint_executable*
101 proto_protolint_executable
102 g:ale_proto_protolint_executable
104 Default: `'protolint'`
106 This variable can be changed to modify the executable used for protolint.
108 *ale-options.proto_protolint_config*
109 *g:ale_proto_protolint_config*
110 proto_protolint_config
111 g:ale_proto_protolint_config
115 A path to a protolint configuration file.
117 The path to the configuration file can be an absolute path or a relative
118 path. ALE will search for the relative path in parent directories.
121 ===============================================================================
122 vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: