summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-07 16:29:55 +0100
committerw0rp <devw0rp@gmail.com>2019-04-07 16:29:55 +0100
commit02af53b8b0a9a47c4e66e52747d98ee74bbb8118 (patch)
tree9449bffe9a9ebae34cc838f591fa89177c5ee8d7 /doc/ale.txt
parentce64e349cd202936bfb07abd84a5d99edd5e40dc (diff)
downloadale-02af53b8b0a9a47c4e66e52747d98ee74bbb8118.zip
Document ale#Hasv2.4.0
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index e2330cc5..25d30250 100644
--- a/doc/ale.txt
+++ b/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