Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skammer/vim-css-color
Highlight colors in css files
https://github.com/skammer/vim-css-color
Last synced: 3 days ago
JSON representation
Highlight colors in css files
- Host: GitHub
- URL: https://github.com/skammer/vim-css-color
- Owner: skammer
- Created: 2010-07-03T20:42:41.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-01-18T14:29:39.000Z (almost 9 years ago)
- Last Synced: 2024-08-02T05:13:25.352Z (3 months ago)
- Language: VimL
- Homepage:
- Size: 349 KB
- Stars: 648
- Watchers: 10
- Forks: 47
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
vim-css-color plugin
====================[css\_color.vim](http://www.vim.org/scripts/script.php?script_id=2150) plugin by Niklas Hofer is great, but lacks two important features:
* Highlighting multiple colors on the same line (not sure if anyone uses it though)
* rgb and rgba color notation for all those fancy CSS3 nicetiesSo here is my patch.
![Screen shot](https://github.com/skammer/vim-css-color/raw/master/Screen%20shot%202010-07-04%20at%200.19.46.png)
Configuration
-------------`g:cssColorVimDoNotMessMyUpdatetime` is used when updatetime value set by plugin (100ms) is interfering with your configuration.
`let g:cssColorVimDoNotMessMyUpdatetime = 1`
Post Scriptum
-------------Major kudos to [rainbow-mode.el](http://julien.danjou.info/rainbow-mode.html), from which I borrowed some code, and to [ConvertBase.vim](http://www.vim.org/scripts/script.php?script_id=54) plugin I used for base conversion.
I highly recommend using [pathogen.vim](http://www.vim.org/scripts/script.php?script_id=2332) plugin for all your plugin installations. It's so good, it should be illegal. God bless Tim Pope.