Fix #1490 - Rename the g++ linter to gcc, and add an alias for the old name

This commit is contained in:
w0rp 2018-04-10 09:31:22 +01:00
parent 697fd4ac75
commit da9a005c60

View File

@ -21,7 +21,8 @@ function! ale_linters#cpp#gcc#GetCommand(buffer, output) abort
endfunction endfunction
call ale#linter#Define('cpp', { call ale#linter#Define('cpp', {
\ 'name': 'g++', \ 'name': 'gcc',
\ 'aliases': ['g++'],
\ 'output_stream': 'stderr', \ 'output_stream': 'stderr',
\ 'executable_callback': 'ale_linters#cpp#gcc#GetExecutable', \ 'executable_callback': 'ale_linters#cpp#gcc#GetExecutable',
\ 'command_chain': [ \ 'command_chain': [