diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-10 09:31:22 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-10 09:31:22 +0100 |
commit | da9a005c60963893db49f697410d39de50c06b68 (patch) | |
tree | 3e40441488ef9b254a8f7a89c073bc66884b532d /ale_linters/cpp/gcc.vim | |
parent | 697fd4ac75ac8a134d0e7e2f98898122982c41f8 (diff) | |
download | ale-da9a005c60963893db49f697410d39de50c06b68.zip |
Fix #1490 - Rename the g++ linter to gcc, and add an alias for the old name
Diffstat (limited to 'ale_linters/cpp/gcc.vim')
-rw-r--r-- | ale_linters/cpp/gcc.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/cpp/gcc.vim b/ale_linters/cpp/gcc.vim index 577c9f79..a663eaa3 100644 --- a/ale_linters/cpp/gcc.vim +++ b/ale_linters/cpp/gcc.vim @@ -21,7 +21,8 @@ function! ale_linters#cpp#gcc#GetCommand(buffer, output) abort endfunction call ale#linter#Define('cpp', { -\ 'name': 'g++', +\ 'name': 'gcc', +\ 'aliases': ['g++'], \ 'output_stream': 'stderr', \ 'executable_callback': 'ale_linters#cpp#gcc#GetExecutable', \ 'command_chain': [ |