diff options
author | Tharre <tharre3@gmail.com> | 2019-06-06 23:41:55 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2019-06-06 23:46:43 +0200 |
commit | 3b8fb39b4a9f78d00d3142c9f03bb79e06661964 (patch) | |
tree | 31a40b9fd2e035977aa49d15d406df50ba338583 | |
parent | 7b78f2b846e2f3443dcb2ceacee54eb99e37f040 (diff) | |
download | ale-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.
-rw-r--r-- | autoload/ale/linter.vim | 2 | ||||
-rw-r--r-- | doc/ale.txt | 2 |
2 files changed, 4 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', \} diff --git a/doc/ale.txt b/doc/ale.txt index f0820be6..5314b5d1 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1016,6 +1016,8 @@ g:ale_linter_aliases *g:ale_linter_aliases* \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'vimwiki': 'markdown', \ 'vue': ['vue', 'javascript'], + \ 'xsd': ['xsd', 'xml'], + \ 'xslt': ['xslt', 'xml'], \ 'zsh': 'sh', \} < |