sponsor Vim development Vim logo Vim Book Ad

css-color : Preview colours in source code while editing

 script karma  Rating 171/79, Downloaded by 1559  Comments, bugs, improvements  Vim wiki

created by
Aristotle Pagaltzis
 
script type
utility
 
description
A very fast color keyword highlighter with context-sensitive support for many language syntaxes.

Originally an obsessively optimised fork of vimscript #2150 plus extra features:

• multiple color highlights per line
• rgb(), rgba(), hsl() support for CSS
• support for various alternative CSS languages like Less and Sass
• support for various non-CSS languages like VimL, Javascript, and Python

Screenshot available at
https://github.com/ap/vim-css-color
 
install details
Cloning from GitHub using a plugin manager is recommended.
https://github.com/ap/vim-css-color

Otherwise download and unzip in your .vim directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
css-color.zip 8bf943681f 2022-01-01 7.0 Aristotle Pagaltzis Drastically improved performance; additional improved performance in NeoVim; significantly improved colour fidelity in 256-colour terminals; support for RGBA colours in hex notation; highlighting for DOS/Windows INI,Typescript,Elm,Clojure/ClojureScript,QML,Vala,C/C++,and Shell (sh/ksh/bash, zsh, csh, tcsh, fish) files as well as i3wm,kitty,nix,tmux,and generic .cfg configuration files
ip used for rating: 3.142.249.101

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github