Skip to content

sinetoami/lightline-neomake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lightline-neomake

⚠️ this repository was transferred to another owner: sineto/lightline-neomake.

Inpired by lightline-ale this plugin provides neomake indicators for the lightline vim plugin.

Requirements

Installation

Use a plugin manager you want, like vim-plug:

Plug 'neomake/neomake'
Plug 'itchyny/lightline.vim'
Plug 'sinetoami/lightline-neomake'

Configuration

Set to the lightline status

  1. 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',
\}
  1. Add the components to the light line:
let g:lightline.active = { 
  \ 'right': [['neomake_warnings', 'neomake_errors', 
  \            'neomake_infos', 'neomake_ok']],
\}
  1. If you want set the color to the components:
let g:lightline.component_type = {
  \ 'neomake_warnings': 'warning',
  \ 'neomake_errors': 'error',
  \ 'neomake_ok': 'left',
\}

Global Variables

g:lightline#neomake#prefix_infos

Prefix when there are infos. Default is I:.

g:lightline#neomake#prefix_warnings

Prefix when there are warnings. Default is W:.

g:lightline#neomake#prefix_errors

Prefix when there are errors. Default is E:.

g:lightline#neomake#prefix_ok

Prefix qhen there are no nothing. Default is OK.

Special thanks

License

MIT License

About

lightline plugin: Neomake indicators for the Lightline vim plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%