Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
113 lines
3.9 KiB
Plaintext
113 lines
3.9 KiB
Plaintext
===============================================================================
|
|
ALE Proto Integration *ale-proto-options*
|
|
|
|
|
|
===============================================================================
|
|
Integration Information
|
|
|
|
To enable `.proto` file linting, update |g:ale_linters| as appropriate:
|
|
>
|
|
" Enable linter for .proto files
|
|
let g:ale_linters = {'proto': ['buf-lint', 'protoc-gen-lint', 'protolint']}
|
|
<
|
|
|
|
To enable `.proto` file fixing, update |g:ale_fixers| as appropriate:
|
|
>
|
|
" Enable linter for .proto files
|
|
let b:ale_fixers = {'proto': ['buf-format', 'protolint']}
|
|
<
|
|
|
|
|
|
===============================================================================
|
|
buf-format *ale-proto-buf-format*
|
|
|
|
The formatter uses `buf`, a fully-featured Protobuf compiler that doesn't depend
|
|
on `protoc`. Make sure the `buf` binary is available in the system path, or
|
|
set ale_proto_buf_format_executable.
|
|
|
|
g:ale_proto_buf_format_executable *g:ale_proto_buf_format_executable*
|
|
|
|
Type: |String|
|
|
Default: `'buf'`
|
|
|
|
This variable can be changed to modify the executable used for buf.
|
|
|
|
|
|
===============================================================================
|
|
buf-lint *ale-proto-buf-lint*
|
|
|
|
The linter uses `buf`, a fully-featured Protobuf compiler that doesn't depend
|
|
on `protoc`. Make sure the `buf` binary is available in the system path, or
|
|
set ale_proto_buf_lint_executable.
|
|
|
|
g:ale_proto_buf_lint_executable *g:ale_proto_buf_lint_executable*
|
|
|
|
Type: |String|
|
|
Default: `'buf'`
|
|
|
|
This variable can be changed to modify the executable used for buf.
|
|
|
|
g:ale_proto_buf_lint_config *g:ale_proto_buf_lint_config*
|
|
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
A path to a buf configuration file.
|
|
|
|
The path to the configuration file can be an absolute path or a relative
|
|
path. ALE will search for the relative path in parent directories.
|
|
|
|
|
|
===============================================================================
|
|
clang-format *ale-proto-clangformat*
|
|
|
|
See |ale-c-clangformat| for information about the available options.
|
|
Note that the C options are also used for Proto.
|
|
|
|
|
|
===============================================================================
|
|
protoc-gen-lint *ale-proto-protoc-gen-lint*
|
|
|
|
The linter is a plugin for the `protoc` binary. As long as the binary resides
|
|
in the system path, `protoc` will find it.
|
|
|
|
g:ale_proto_protoc_gen_lint_options *g:ale_proto_protoc_gen_lint_options*
|
|
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be changed to modify flags given to protoc. Note that the
|
|
directory of the linted file is always passed as an include path with '-I'
|
|
before any user-supplied options.
|
|
|
|
|
|
===============================================================================
|
|
protolint *ale-proto-protolint*
|
|
|
|
The linter is a pluggable tool that doesn't depend on the `protoc` binary.
|
|
This supports both linting and fixing.
|
|
Make sure the binary is available in the system path, or set
|
|
ale_proto_protolint_executable.
|
|
Note that the binary with v0.22.0 or above is supported.
|
|
|
|
g:ale_proto_protolint_executable *g:ale_proto_protolint_executable*
|
|
|
|
Type: |String|
|
|
Default: `'protolint'`
|
|
|
|
This variable can be changed to modify the executable used for protolint.
|
|
|
|
g:ale_proto_protolint_config *g:ale_proto_protolint_config*
|
|
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
A path to a protolint configuration file.
|
|
|
|
The path to the configuration file can be an absolute path or a relative
|
|
path. ALE will search for the relative path in parent directories.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|