Skip to content

Commit

Permalink
Document ale#Has
Browse files Browse the repository at this point in the history
  • Loading branch information
w0rp committed Apr 7, 2019
1 parent ce64e34 commit 02af53b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions doc/ale.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 02af53b

Please sign in to comment.