High-performance color highlighter for Neovim

Modules

colorizer Colorizer
colorizer.buffer Buffer Provides highlighting functions for buffer.
colorizer.color Color Utilities Provides color conversion and utility functions for RGB and HSL values.
colorizer.config Configuration Provides configuration options and utilities for setting up colorizer.
colorizer.constants Constants This module provides constants that are required across the application.
colorizer.hsluv Vendored from hsluv-lua (MIT).
colorizer.matcher Matcher Manages matching and parsing of color patterns in buffers.
colorizer.parser.argb_hex ARGB Hex Parser This module provides a parser for extracting 0xAARRGGBB hexadecimal color values and converting them to RGB hex.
colorizer.parser.css_color CSS color() Parser This module provides a parser for identifying and converting CSS color() functions to RGB hexadecimal format.
colorizer.parser.css_var CSS Custom Properties Parser Parses CSS custom property definitions (--name: ) and resolves var(--name) references.
colorizer.parser.css_var_rgb CSS Variable RGB Parser Parses CSS variables with comma-separated RGB: --name: R,G,B or --name: R, G, B; e.g.
colorizer.parser.hex_no_hash Hex Without Hash Parser Parses 6-digit (RRGGBB) or 8-digit (RRGGBBAA) hex color values without a leading '#'.
colorizer.parser.hsl HSL Parser This module provides a parser for identifying and converting hsl() and hsla() CSS functions to RGB hexadecimal format.
colorizer.parser.hsluv HSLuv Parser Parses hsluv() and hsluvu() (with alpha) and converts to RGB hex.
colorizer.parser.hwb HWB Parser This module provides a parser for identifying and converting hwb() CSS functions to RGB hexadecimal format.
colorizer.parser Parser Loader Loads all built-in parsers and returns the registry.
colorizer.parser.lab CIE Lab Parser This module provides a parser for identifying and converting lab() CSS functions to RGB hexadecimal format.
colorizer.parser.lch CIE LCH Parser This module provides a parser for identifying and converting lch() CSS functions to RGB hexadecimal format.
colorizer.parser.names Names Parser This module provides a parser that identifies named colors from a given line of text.
colorizer.parser.oklch OKLCH Parser This module provides a parser for identifying and converting oklch() CSS functions to RGB hexadecimal format.
colorizer.parser.registry Parser Registry Central registry for all color parsers.
colorizer.parser.rgb RGB Parser This module provides a parser for identifying and converting rgb() and rgba() CSS functions to RGB hexadecimal format.
colorizer.parser.rgba_hex RGBA Hex Parser This module provides a parser for identifying and converting #RRGGBBAA hexadecimal color values to RGB hexadecimal format.
colorizer.parser.sass Sass Manages Sass variable parsing and color detection for buffers.
colorizer.parser.xcolor Xcolor (LaTeX) Parser Parses LaTeX xcolor syntax: colorname!number (e.g.
colorizer.parser.xterm Xterm Parser This module provides a parser for identifying and converting xterm/ANSI color codes to RGB hexadecimal format.
colorizer.tailwind Tailwind Handles Tailwind CSS color highlighting within buffers.
colorizer.trie Trie Trie implementation in LuaJIT.
colorizer.usercmds User Commands This module provides functions for creating user commands for the Colorizer plugin in Neovim.
colorizer.utils Utilities Provides utility functions for color handling and file operations.

Topics

README.md
generated by LDoc 1.5.0 Last updated 2026-03-07 17:46:06