Skip to content

lualine component for displaying the current line's most-severe diagnostic message

License

Notifications You must be signed in to change notification settings

pilchd/lualine-linediag.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

lualine-linediag

lualine component for displaying the current line's most-severe diagnostic message

Why?

I was a fan of Visual Studio Code's problems.showCurrentInStatus setting, I couldn't find a native replacement, and I needed an afternoon project to begin understanding the Neovim/Lua/plugin system.

Usage

Install with your favorite plugin manager and add linediag as a component in a lualine section.

The component obeys a subset of the component-specific options for the diagnostics component, namely diagnostics_color, symbols, and colored. It should eventually obey all of them (in addition to the relevant global component settings).
Setting max_length to an integer truncates the message at that many characters.

Credits

This component is adapted from discussion #911 in the lualine repository and based on the bundled diagnostics component implementation.
It was originally implemented in lualine-diagnostic-message.

About

lualine component for displaying the current line's most-severe diagnostic message

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages