summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2022-05-13 18:00:19 +0100
committerw0rp <devw0rp@gmail.com>2022-05-13 18:00:19 +0100
commit044a6c956bfb557ec6c6d37921db6ee11de879f9 (patch)
tree6225801e247d263b50a93b61a24024423f91c50d /test
parente3e940a7fe98c4a66c708d84d3fbec39162c93bc (diff)
downloadale-044a6c956bfb557ec6c6d37921db6ee11de879f9.zip
Close #4201 - Run vimls from Vader by default
Diffstat (limited to 'test')
-rw-r--r--test/test_filetype_linter_defaults.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_filetype_linter_defaults.vader b/test/test_filetype_linter_defaults.vader
index 1217e237..0f463880 100644
--- a/test/test_filetype_linter_defaults.vader
+++ b/test/test_filetype_linter_defaults.vader
@@ -125,6 +125,13 @@ Execute(The defaults for the verilog filetype should be correct):
AssertEqual [], GetLinterNames('verilog')
+Execute(The defaults for the vader filetype should be correct):
+ AssertEqual ['vimls'], GetLinterNames('vader')
+
+ let g:ale_linters_explicit = 1
+
+ AssertEqual [], GetLinterNames('vader')
+
Execute(Default aliases for React should be defined):
AssertEqual ['javascript', 'jsx'], ale#linter#ResolveFiletype('javascriptreact')
AssertEqual ['typescript', 'tsx'], ale#linter#ResolveFiletype('typescriptreact')