Skip to content
lightline.vim component showing numbers of make warnings and errors for neomake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Vim plugin providing a function intended as a tab component for lightline.vim.

Displays the number of warnings and errors for a file, after Neomake finishes making it.


The function lightline_neomake#component returns a string with names of each non-zero Neomake counter ("W", "E", etc.) and their values. It can be used with component_expand and component_type to color the component.

let g:lightline = {
\   'active': {
\       'right': [
\           ['neomake', 'lineinfo'],
\           ['percent'],
\           ['fileformat', 'fileencoding', 'filetype'],
\       ],
\   },
\   'component_expand': {
\       'neomake': 'lightline_neomake#component',
\   },
\   'component_type': {
\       'neomake': 'error',
\   },


Default values are shown in examples.

" printf-compatible string that accepts two values: the first is the symbol of
" a Neomake counter ('E' for errors, 'W' for warnings, etc.), the second is the
" number of occurrances in the buffer.
let g:lightline_neomake#format = '%s: %d'

" Separator between displayed Neomake counters.
let g:lightline_neomake#sep = ' '
You can’t perform that action at this time.