summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-11 23:11:45 +0100
committerw0rp <devw0rp@gmail.com>2016-10-11 23:11:45 +0100
commit78bcf96e345c9aa31412ae06e1da2bbe6a568ff5 (patch)
tree1eabb9c650ba0a36386225f802d978d4963340f2 /plugin
parent69116966162a15127c088cce9319228ec32ba7f5 (diff)
downloadale-78bcf96e345c9aa31412ae06e1da2bbe6a568ff5.zip
Fix #87 - Allow linter filetypes to be aliased
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 4f59f79a..9b45cd7c 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -30,9 +30,12 @@ let g:ale_buffer_sign_dummy_map = {}
" User Configuration
-" This list configures which linters are enabled for which languages.
+" This Dictionary configures which linters are enabled for which languages.
let g:ale_linters = get(g:, 'ale_linters', {})
+" This Dictionary allows users to set up filetype aliases for new filetypes.
+let g:ale_linter_aliases = get(g:, 'ale_linter_aliases', {})
+
" This flag can be set with a number of milliseconds for delaying the
" execution of a linter when text is changed. The timeout will be set and
" cleared each time text is changed, so repeated edits won't trigger the