vim-css-color icon indicating copy to clipboard operation
vim-css-color copied to clipboard

Preview colours in source code while editing

Results 60 vim-css-color issues
Sort by recently updated
recently updated
newest added

When opening HTML or markdown files without anything that vim-css-color would normally color, I get the following error at startup: ``` Error detected while processing BufNewFile Autocommands for "*.md"..FileType Autocommands...

Cf. #164 for the discussion so far.

I have a `.css.jinja2` file (part of a site using a homegrown static site generator) with this line at the bottom: {# vim: set ft=css noexpandtab : #} As soon...

[create_matches](https://github.com/ap/vim-css-color/blob/master/autoload/css_color.vim#L226-L244) takes 1.4s according to profiling when opening large nix files like [all-packages.nix](https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix) and slows down the overall editor performance for inserts, moves, deletes, etc to seconds of input delay.

![Screenshot_20220419_153927](https://user-images.githubusercontent.com/911799/163951220-0c72c22c-7a2a-409a-9342-612deeae4416.png) Example file: ```svg ```

It seams that neovim matches strings in .h files as `cppString` and this group isn't handled. It would be nice if you added `cppString` (and perhaps `cCommentString`, `cComment2String`) to processed...

I don't know if the regex is as good as it could be, but this fixed an annoyance for me so I'm at least offering it.

I've noticed massive performance issues when using `CursorMoved`, fixed it for me by switching to `CursorHold`.

https://github.com/ap/vim-css-color/issues/95