1 unstable release
Uses new Rust 2024
0.4.0 | May 12, 2025 |
---|
#108 in Text editors
149 downloads per month
52KB
1.5K
SLoC
uwu-colors
a simple language server that i made mainly for helix because of https://github.com/helix-editor/helix/pull/12308
features
uwu-colors
sends textDocument/documentColor
request on hex color strings like "#ABC"
, "#abcd"
, '#AaBbCc'
, '#AABBCCDD'
it also provides various completions
completions
named color completions are enabled by default - uppercase hex colors from https://www.colorhexa.com/color-names
variable completions can be enabled using a flag
options and flags
--named-completions-mode
:
upper
completes with uppercase hex stringslower
- with lowercase stringsfull
- both with lowercase strings and uppercase strings using uppercase namesnone
disables completions
--color-collection
:
colorhexa
- named colors from ColorHexacss
- named CSS colors
--variable-completions
- enables variable completions like on the second screenshot
installation
you can use it as a flake
- add it to your system's inputs
- overlay it as
inputs.uwu-colors.packages.${pkgs.system}.default
- add it to helix language server configuration with command
"${pkgs.uwu-colors}/bin/uwu_colors"
- add it to your languages of needs
Dependencies
~12–20MB
~244K SLoC