From 6fce8ddc5ab5228afacc4c77ade1912fd3a7fe93 Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 26 May 2018 11:41:52 +0100 Subject: [PATCH] #1600 Alias vimwiki to markdown --- autoload/ale/linter.vim | 3 +++ doc/ale.txt | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 1e0ec30..c791ba4 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 636ef12..8a75ec1 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'`