A Neovim plugin providing syntax highlighting and filetype management for generic log files.
log-highlight.nvim is a lightweight Neovim plugin that adds syntax highlighting to generic log files. It colors log levels, dates, times, and other common log elements to help developers quickly parse and understand log output directly within their editor. The plugin offers flexible configuration for filetype detection and custom keyword highlighting to adapt to diverse logging formats.
Neovim users who frequently view or analyze log files within their editor, such as system administrators, DevOps engineers, and software developers debugging applications.
Developers choose this plugin for its simplicity and configurability, providing essential log highlighting without unnecessary complexity. It leverages Neovim's built-in filetype detection and syntax mechanisms, making it lightweight and easy to integrate compared to more heavyweight alternatives.
Generic log syntax highlighting and log filetype management for Neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages Neovim's built-in filetype detection and syntax mechanisms, making setup straightforward without significant performance overhead, as noted in the README's emphasis on simplicity.
Supports filetype detection via extensions, filenames, and glob patterns, allowing automatic highlighting for diverse log file locations like /var/log/ or custom paths, as shown in the configuration examples.
Enables defining case-sensitive keywords for error, warning, info, and debug groups, adaptable to specific log formats with string or list inputs, as detailed in the setup options.
Highlights common log elements such as dates, times, hex numbers, MAC addresses, and file paths, including spdlog-style and lowercase log levels, enhancing readability for standard formats per the release notes.
Limited to text highlighting; lacks features for log parsing, real-time analysis, or integration with debugging tools, which might be necessary for advanced use cases beyond visual aid.
Designed specifically for Neovim and not compatible with standard Vim or other editors without modifications, restricting its utility in mixed or non-Neovim environments.
Setting up custom patterns for obscure log formats can be cumbersome, as it requires manual definition of keywords and rules, potentially demanding more effort for complex logging systems.