diff options
author | w0rp <devw0rp@gmail.com> | 2018-05-26 11:41:52 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-05-26 11:41:52 +0100 |
commit | 6fce8ddc5ab5228afacc4c77ade1912fd3a7fe93 (patch) | |
tree | 8b9d5a237bc544d3ad49491cef9557ba36b85576 | |
parent | b67c9a83b2545d4b67a1c60c2048dee6d6eebc12 (diff) | |
download | ale-6fce8ddc5ab5228afacc4c77ade1912fd3a7fe93.zip |
#1600 Alias vimwiki to markdown
-rw-r--r-- | autoload/ale/linter.vim | 3 | ||||
-rw-r--r-- | doc/ale.txt | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 1e0ec304..c791ba46 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -8,11 +8,14 @@ let s:linters = {} " Default filetype aliases. " The user defined aliases will be merged with this Dictionary. +" +" NOTE: Update the g:ale_linter_aliases documentation when modifying this. let s:default_ale_linter_aliases = { \ 'Dockerfile': 'dockerfile', \ 'csh': 'sh', \ 'plaintex': 'tex', \ 'systemverilog': 'verilog', +\ 'vimwiki': 'markdown', \ 'zsh': 'sh', \} diff --git a/doc/ale.txt b/doc/ale.txt index 636ef12a..8a75ec11 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1109,8 +1109,12 @@ g:ale_linter_aliases *g:ale_linter_aliases* following values: > { - \ 'zsh': 'sh', + \ 'Dockerfile': 'dockerfile', \ 'csh': 'sh', + \ 'plaintex': 'tex', + \ 'systemverilog': 'verilog', + \ 'vimwiki': 'markdown', + \ 'zsh': 'sh', \} < For example, if you wish to map a new filetype `'foobar'` to run the `'php'` |