summaryrefslogtreecommitdiff
path: root/test/smoke_test.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-28 14:02:05 +0100
committerw0rp <devw0rp@gmail.com>2020-08-28 14:02:05 +0100
commit34e409ea21baa017776b84ec0620eea9f6ec429c (patch)
tree46af9d9f297763767e3f5c46c5334df729df3502 /test/smoke_test.vader
parentb8c0ac2e6126d2245f4281c286387b4dd1847178 (diff)
downloadale-34e409ea21baa017776b84ec0620eea9f6ec429c.zip
Close #3285 - lint_file is now dynamic
`lint_file` can now be computed dynamically with a callback function, which can return a deferred result, as per `ale#command#Run`. This allows linters to dynamically switch between checking files on disk, or checking code on the fly. Some tests have been fixed on Windows.
Diffstat (limited to 'test/smoke_test.vader')
-rw-r--r--test/smoke_test.vader2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/smoke_test.vader b/test/smoke_test.vader
index 53e08a8d..0b126cc6 100644
--- a/test/smoke_test.vader
+++ b/test/smoke_test.vader
@@ -1,8 +1,10 @@
Before:
+ Save g:ale_enabled
Save g:ale_set_lists_synchronously
Save g:ale_buffer_info
Save &shell
+ let g:ale_enabled = 1
let g:ale_buffer_info = {}
let g:ale_set_lists_synchronously = 1