mirror of
https://github.com/amix/vimrc
synced 2025-06-30 20:05:01 +08:00
Forgot to check in the rest of the updated plugins :/
This commit is contained in:
@ -219,5 +219,25 @@ g:ale_ruby_standardrb_options *g:ale_ruby_standardrb_options*
|
||||
This variable can be changed to modify flags given to standardrb.
|
||||
|
||||
|
||||
===============================================================================
|
||||
syntax_tree *ale-ruby-syntax_tree*
|
||||
|
||||
g:ale_ruby_syntax_tree_executable *g:ale_ruby_syntax_tree_executable*
|
||||
*b:ale_ruby_syntax_tree_executable*
|
||||
Type: String
|
||||
Default: `'stree'`
|
||||
|
||||
Override the invoked SyntaxTree binary. Set this to `'bundle'` to invoke
|
||||
`'bundle` `exec` stree'.
|
||||
|
||||
|
||||
g:ale_ruby_syntax_tree_options *g:ale_ruby_syntax_tree_options*
|
||||
*b:ale_ruby_syntax_tree_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to modify flags given to SyntaxTree.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -52,6 +52,8 @@ Notes:
|
||||
* `buildifier`
|
||||
* BibTeX
|
||||
* `bibclean`
|
||||
* Bicep
|
||||
* `bicep`
|
||||
* BitBake
|
||||
* `oelint-adv`
|
||||
* Bourne Shell
|
||||
@ -529,6 +531,7 @@ Notes:
|
||||
* `solargraph`
|
||||
* `sorbet`
|
||||
* `standardrb`
|
||||
* `syntax_tree`
|
||||
* Rust
|
||||
* `cargo`!!
|
||||
* `cspell`
|
||||
@ -664,6 +667,7 @@ Notes:
|
||||
* YAML
|
||||
* `actionlint`
|
||||
* `circleci`!!
|
||||
* `gitlablint`
|
||||
* `prettier`
|
||||
* `spectral`
|
||||
* `swaglint`
|
||||
|
@ -42,7 +42,7 @@ volar *ale-vue-volar*
|
||||
g:ale_vue_volar_executable *g:ale_vue_volar_executable*
|
||||
*b:ale_vue_volar_executable*
|
||||
Type: |String|
|
||||
Default: `'volar-server'`
|
||||
Default: `'vue-language-server'`
|
||||
|
||||
See |ale-integrations-local-executables|
|
||||
|
||||
|
@ -280,5 +280,52 @@ g:ale_yaml_yamllint_options *g:ale_yaml_yamllint_options*
|
||||
This variable can be set to pass additional options to yamllint.
|
||||
|
||||
|
||||
===============================================================================
|
||||
gitlablint *ale-yaml-gitlablint*
|
||||
|
||||
Website: https://github.com/elijah-roberts/gitlab-lint
|
||||
|
||||
|
||||
Installation
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Install yamllint in your a virtualenv directory, locally, or globally: >
|
||||
|
||||
pip3 install gitlab_lint # After activating virtualenv
|
||||
pip3 install --user gitlab_lint # Install to ~/.local/bin
|
||||
sudo pip3 install gitlab_lint # Install globally
|
||||
|
||||
See |g:ale_virtualenv_dir_names| for configuring how ALE searches for
|
||||
virtualenv directories.
|
||||
|
||||
Is recommended to use |g:ale_pattern_options| to enable this linter so it only
|
||||
applies to 'gitlab-ci.yml' files and not all yaml files:
|
||||
>
|
||||
let g:ale_pattern_options = {
|
||||
\ '.gitlab-ci\.yml$': {
|
||||
\ 'ale_linters': ['gitlablint'],
|
||||
\ },
|
||||
\}
|
||||
<
|
||||
|
||||
Options
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
g:ale_yaml_gitlablint_executable *g:ale_yaml_gitlablint_executable*
|
||||
*b:ale_yaml_gitlablint_executable*
|
||||
Type: |String|
|
||||
Default: `'gll'`
|
||||
|
||||
This variable can be set to change the path to gll.
|
||||
|
||||
|
||||
g:ale_yaml_gitlablint_options *g:ale_yaml_gitlablint_options*
|
||||
*b:ale_yaml_gitlablint_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be set to pass additional options to gll.
|
||||
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
|
@ -1234,6 +1234,29 @@ g:ale_floating_preview *g:ale_floating_preview*
|
||||
|g:ale_detail_to_floating_preview| to `1`.
|
||||
|
||||
|
||||
g:ale_floating_preview_popup_opts *g:ale_floating_preview_popup_opts*
|
||||
|
||||
Type: |String| or |Dictionary|
|
||||
Default: `''`
|
||||
|
||||
Either a dictionary of options or the string name of a function that returns a
|
||||
dictionary of options. This will be used as an argument to |popup_create| for
|
||||
Vim users or |nvim_open_win| for NeoVim users. Note that in either case, the
|
||||
resulting dictionary is merged with ALE defaults rather than expliciting overriding
|
||||
them. This only takes effect if |g:ale_floating_preview| is enabled.
|
||||
|
||||
NOTE: for Vim users see |popup_create-arguments|, for NeoVim users see
|
||||
|nvim_open_win| for argument details
|
||||
|
||||
For example, to enhance popups with a title: >
|
||||
|
||||
function! CustomOpts() abort {
|
||||
let [l:info, l:loc] = ale#util#FindItemAtCursor(bufnr(''))
|
||||
return {'title': ' ALE: ' . (l:loc.linter_name) . ' '}
|
||||
endfunction
|
||||
<
|
||||
|
||||
|
||||
g:ale_floating_window_border *g:ale_floating_window_border*
|
||||
|
||||
Type: |List|
|
||||
@ -2274,6 +2297,9 @@ g:ale_virtualtext_cursor *g:ale_virtualtext_cursor*
|
||||
column nearest to the cursor when the cursor is resting on a line which
|
||||
contains a warning or error. This option can be set to `0` to disable this
|
||||
behavior.
|
||||
When this option is set to `2`, then all warnings will be shown for the
|
||||
whole buffer, regardless of if the cursor is currently positioned in that
|
||||
line.
|
||||
|
||||
Messages are only displayed after a short delay. See |g:ale_virtualtext_delay|.
|
||||
|
||||
@ -2761,6 +2787,8 @@ documented in additional help files.
|
||||
buildifier............................|ale-bazel-buildifier|
|
||||
bib.....................................|ale-bib-options|
|
||||
bibclean..............................|ale-bib-bibclean|
|
||||
bicep...................................|ale-bicep-options|
|
||||
bicep.................................|ale-bicep-bicep|
|
||||
bitbake.................................|ale-bitbake-options|
|
||||
oelint-adv............................|ale-bitbake-oelint_adv|
|
||||
c.......................................|ale-c-options|
|
||||
@ -3167,6 +3195,7 @@ documented in additional help files.
|
||||
solargraph............................|ale-ruby-solargraph|
|
||||
sorbet................................|ale-ruby-sorbet|
|
||||
standardrb............................|ale-ruby-standardrb|
|
||||
syntax_tree...........................|ale-ruby-syntax_tree|
|
||||
rust....................................|ale-rust-options|
|
||||
analyzer..............................|ale-rust-analyzer|
|
||||
cargo.................................|ale-rust-cargo|
|
||||
@ -3302,6 +3331,7 @@ documented in additional help files.
|
||||
yaml-language-server..................|ale-yaml-language-server|
|
||||
yamlfix...............................|ale-yaml-yamlfix|
|
||||
yamllint..............................|ale-yaml-yamllint|
|
||||
gitlablint............................|ale-yaml-gitlablint|
|
||||
yang....................................|ale-yang-options|
|
||||
yang-lsp..............................|ale-yang-lsp|
|
||||
zeek....................................|ale-zeek-options|
|
||||
|
Reference in New Issue
Block a user