Fix #3323 - Set default for g:ale_filename_mappings
This commit is contained in:
parent
36e959a466
commit
6874120405
2 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
" Remapping of linter problems.
|
" Remapping of linter problems.
|
||||||
let g:ale_type_map = get(g:, 'ale_type_map', {})
|
let g:ale_type_map = get(g:, 'ale_type_map', {})
|
||||||
|
let g:ale_filename_mappings = get(g:, 'ale_filename_mappings', {})
|
||||||
|
|
||||||
if !has_key(s:, 'executable_cache_map')
|
if !has_key(s:, 'executable_cache_map')
|
||||||
let s:executable_cache_map = {}
|
let s:executable_cache_map = {}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
" Author: w0rp <devw0rp@gmail.com>
|
" Author: w0rp <devw0rp@gmail.com>
|
||||||
" Description: Functions for fixing code with programs, or other means.
|
" Description: Functions for fixing code with programs, or other means.
|
||||||
|
|
||||||
call ale#Set('fix_on_save_ignore', {})
|
let g:ale_fix_on_save_ignore = get(g:, 'ale_fix_on_save_ignore', {})
|
||||||
call ale#Set('filename_mappings', {})
|
let g:ale_filename_mappings = get(g:, 'ale_filename_mappings', {})
|
||||||
|
|
||||||
" Apply fixes queued up for buffers which may be hidden.
|
" Apply fixes queued up for buffers which may be hidden.
|
||||||
" Vim doesn't let you modify hidden buffers.
|
" Vim doesn't let you modify hidden buffers.
|
||||||
|
|
Reference in a new issue