Inpired by lightline-ale this plugin provides neomake indicators for the lightline vim plugin.
Use a plugin manager you want, like vim-plug:
Plug 'neomake/neomake'
Plug 'itchyny/lightline.vim'
Plug 'sinetoami/lightline-neomake'- Register the components:
 
let g:lightline.component_expand = {
  \ 'neomake_infos': 'lightline#neomake#infos',
  \ 'neomake_warnings': 'lightline#neomake#warnings',
  \ 'neomake_errors': 'lightline#neomake#errors',
  \ 'neomake_ok': 'lightline#neomake#ok',
\}- Add the components to the light line:
 
let g:lightline.active = { 
  \ 'right': [['neomake_warnings', 'neomake_errors', 
  \            'neomake_infos', 'neomake_ok']],
\}- If you want set the color to the components:
 
let g:lightline.component_type = {
  \ 'neomake_warnings': 'warning',
  \ 'neomake_errors': 'error',
  \ 'neomake_ok': 'left',
\}Prefix when there are infos. Default is I:.
Prefix when there are warnings. Default is W:.
Prefix when there are errors. Default is E:.
Prefix qhen there are no nothing. Default is OK.
- Maxim Baz for the greate lightline-ale plugin that inpired me.