summaryrefslogtreecommitdiff
path: root/autoload/ale/linter.vim
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-06-06 23:41:55 +0200
committerTharre <tharre3@gmail.com>2019-06-06 23:46:43 +0200
commit3b8fb39b4a9f78d00d3142c9f03bb79e06661964 (patch)
tree31a40b9fd2e035977aa49d15d406df50ba338583 /autoload/ale/linter.vim
parent7b78f2b846e2f3443dcb2ceacee54eb99e37f040 (diff)
downloadale-3b8fb39b4a9f78d00d3142c9f03bb79e06661964.zip
Run xml linters on xsd and xslt files
Both xsd and xslt are by definition written in XML, and thus the same linter(s) can be run to check them for well-formedness.
Diffstat (limited to 'autoload/ale/linter.vim')
-rw-r--r--autoload/ale/linter.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim
index 8c657675..3cbcaf8c 100644
--- a/autoload/ale/linter.vim
+++ b/autoload/ale/linter.vim
@@ -17,6 +17,8 @@ let s:default_ale_linter_aliases = {
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown',
\ 'vue': ['vue', 'javascript'],
+\ 'xsd': ['xsd', 'xml'],
+\ 'xslt': ['xslt', 'xml'],
\ 'zsh': 'sh',
\}