gko / vim-coloresque Goto Github PK
View Code? Open in Web Editor NEWcss/less/sass/html color preview for vim
css/less/sass/html color preview for vim
With set hlsearch
if you search for a color that's being highlighted by coloresque you don't see all the matches, because they're already being colored by this plugin. I'm not sure what the best result would be in this case. Maybe an outline? (if that's possible) otherwise one or the other? Here's an example of what I'm talking about (normally both 'red' words would be highlighted yellow when you search for 'red'):
I know it can be hard to make colors always show up, but I don't think it should be that hard to make them always show up when they are delimited by whitespace. When editing my i3status.conf, I cannot see colors. Also, if you switch colorschemes, the colors disappear.
Maybe add a refresh option?
When using minpac, one's vimrc/init.vim is likely to contain a bunch of call minpac#add() lines, where the #add is getting interpreted as a color. But it really ought not to be considered a color, since it follows an alphanumeric character.
Love the plugin!
hello! it's better css-hightlighting plugin, but it has toggle on-off func? for enable-disable on-the fly?
Hi, if I use this plugin, appears incorrect word navigation:
my vimrc: https://github.com/amerov/dotvim/blob/master/.vimrc
For instance:
white-space: nowrap;
will highlight 'white'
I suggest that you use a bigger image right after the name of the plugin demonstrating all the features. This is to keep it quick for those who don't have a lot of time to read.
Like how skammer/vim-css-color does it.
I test it, an find a simple way two fix it:
in after/syntax/css/vim-colorresque.vim
change if ! has('gui_running') condition to :
if ! has('gui_running') && &termguicolors == 0
Coloresque is too generic considering that it's a plugin and not a distribution.
I suggest the repo name to be changed to either:
vim-coloresque
or
coloresque.vim
Cheers.
Was reported, that plugin is slow on lines with coloring.
Ticket is a TODO for me to check.
You can find the discutions here below
After I masked vim-coloresque in my config, that issue not happend
itchyny/lightline.vim#409 (comment)
Vim version: vim with popup
windows(not neovim)
OS : Windows , linux , macOS . The screenshots is done in gvim8.2 on windows.
I use vim-lsp for vim-completion, and when I do LspHover
to get the information of a function,
the popup windows appeard, and lightline disabled
One more thing, the complete_engine is asyncomplete.vim or ncm2
I reload my .vimrc
without quiting vim , lightline came back, and then do LspHover
for manytimes, lightline keeped normal
If I use neovim
or vim without popup
, this issue not happen
Maybe it is related with this line
https://github.com/itchyny/lightline.vim/blob/8b3aa1632c08784928458b2b85faf5c89feefccf/autoload/lightline.vim#L14
I just downloaded the plugin, I have no idea what would cause this, but the only rgba, hex, or hsla that are highlighted are black or white. I can confirm by changing rgba(255,255,255)
to rgba(254,255,255)
it no longer highlights. Same with hsla. #fff
and #000
will highlight, but #ffffff
and #000000
do not, nor does #ffe
, or #001
.
Installed it yesterday (via vim-plug) and worked very nice so far.
When editing some .slim files for a Rails project today, I noticed IDs and classes weren't highlighted anymore. Also the motion keys w
, e
and b
didn't work as usual, e.g. w
moved from [s]pan.amount = @spending.amount
to span.amount [=] @spending.amount
instead of span.[a]mount = @spending.amount
.
I cloned it into .vim/bundle/ and opened up a .css file , and there was nothing expected... I wondered why mine can't always work, you know, I've ever tried different css-color plugins, including vim-css-color mentioned in you README, but never succeeded.
I would appreciated it if you figure out anything I missed, no matter how important or how stupid it is ... Thank you.
I'm sure a lot of people will be curious as well so thought I would ask. :)
I am on OSX Yosemite running vim 7.4.488. I have installed this plugin using Vundle but it doesn't have any affect. I also tried adding the plugins this was based on to see if they were dependencies. No matter what I try I can't get any colors to show, it looks exactly the same as it did before I added the plugin(s). Do you have any recommendations of what I should try? Thanks!
First off, props!!! This works way better than the others.
I'd like to activate coloresque for specific file types.
It would be great if coloresque would automatically load for the LESS/SASS filetype as well.
I saw a post: http://askubuntu.com/questions/67/how-do-i-enable-full-color-support-in-terminal/14891#14891
It shows 256 color by python script.
I want to ask could vim-colorsque can support 256 colors?
Thanks.
Br. Marslo
Hello,
I'm the guy from SO:
http://stackoverflow.com/questions/19030290/syntax-highlighting-causes-terrible-lag-in-vim
There are 2 big issues with your plugin still.
1.) Lines which are colored do lag terribly still.
2.) Some 3rd party plugins that do some coloring, eg. Gundo, start lagging terribly as well when your plugin is enabled.
I really like what your plugin does, but it just breaks Vim too hard atm. I'll be happy to test it out for you, unfortunately I can't help much, as I don't know vimL.
At after/syntax/css/vim-coloresque.vim:125
you will find these rows.
:set isk+=-
:set isk+=#
:set isk+=.
This actually overides iskeyword
in all my filetypes
and thats not what i expected. Motions and syntax highlighting becomes very different in example ruby and javascript where i expect .
to actually break the word.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.