diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-23 19:55:42 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-23 19:55:42 +0100 |
commit | ba3dd0d02735e7b23918200ae58410b0deed2f62 (patch) | |
tree | 83012a41e42d746629fbf07293a1b3e7b7ed0fe6 /plugin | |
parent | 2b785688ead505dcbc1007374d3dca9914aa247a (diff) | |
download | ale-ba3dd0d02735e7b23918200ae58410b0deed2f62.zip |
Close #2556 - Support filename mapping
ALE now supports mapping files between different systems for running
linters and fixers with Docker, in virtual machines, in servers, etc.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/ale.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index 0651dd4b..6a947ea7 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -97,6 +97,10 @@ let g:ale_fix_on_save = get(g:, 'ale_fix_on_save', 0) " should be used instead. let g:ale_enabled = get(g:, 'ale_enabled', 1) +" A Dictionary mapping linter or fixer names to Arrays of two-item Arrays +" mapping filename paths from one system to another. +let g:ale_filename_mappings = get(g:, 'ale_filename_mappings', {}) + " These flags dictates if ale uses the quickfix or the loclist (loclist is the " default, quickfix overrides loclist). let g:ale_set_loclist = get(g:, 'ale_set_loclist', 1) |