mirror of https://github.com/dense-analysis/ale
Document ale#Has
This commit is contained in:
parent
ce64e349cd
commit
02af53b8b0
12
doc/ale.txt
12
doc/ale.txt
|
@ -611,8 +611,8 @@ g:ale_cursor_detail *g:ale_cursor_detail*
|
|||
loaded for messages to be displayed. See |ale-lint-settings-on-startup|.
|
||||
|
||||
|
||||
g:ale_disable_lsp *g:ale_disable_lsp*
|
||||
*b:ale_disable_lsp*
|
||||
g:ale_disable_lsp *g:ale_disable_lsp*
|
||||
*b:ale_disable_lsp*
|
||||
|
||||
Type: |Number|
|
||||
Default: `0`
|
||||
|
@ -2539,6 +2539,14 @@ ale#Env(variable_name, value) *ale#Env()*
|
|||
'set VAR="some value" && command' # On Windows
|
||||
|
||||
|
||||
ale#Has(feature) *ale#Has()*
|
||||
|
||||
Return `1` if ALE supports a given feature, like |has()| for Vim features.
|
||||
|
||||
ALE versions can be checked with version strings in the format
|
||||
`ale#Has('ale-x.y.z')`, such as `ale#Has('ale-2.4.0')`.
|
||||
|
||||
|
||||
ale#Pad(string) *ale#Pad()*
|
||||
|
||||
Given a string or any |empty()| value, return either the string prefixed
|
||||
|
|
Loading…
Reference in New Issue