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.
This commit is contained in:
Tharre 2019-06-06 23:41:55 +02:00
parent 7b78f2b846
commit 3b8fb39b4a
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@ let s:default_ale_linter_aliases = {
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',
\ 'vue': ['vue', 'javascript'], \ 'vue': ['vue', 'javascript'],
\ 'xsd': ['xsd', 'xml'],
\ 'xslt': ['xslt', 'xml'],
\ 'zsh': 'sh', \ 'zsh': 'sh',
\} \}

View file

@ -1016,6 +1016,8 @@ g:ale_linter_aliases *g:ale_linter_aliases*
\ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'], \ 'verilog_systemverilog': ['verilog_systemverilog', 'verilog'],
\ 'vimwiki': 'markdown', \ 'vimwiki': 'markdown',
\ 'vue': ['vue', 'javascript'], \ 'vue': ['vue', 'javascript'],
\ 'xsd': ['xsd', 'xml'],
\ 'xslt': ['xslt', 'xml'],
\ 'zsh': 'sh', \ 'zsh': 'sh',
\} \}
< <