New answers tagged

1

To keep things minimal, but still works perfectly for me, I have this, inspired from above : plain highlight until CursorMoved : function! HLNext() let l:higroup = matchend(getline('.'), '\c'.@/, col('.')-1) == col('.') \ ? 'SpellRare' : 'IncSearch' let b:cur_match = matchadd(l:higroup, '\c\%#'.@/, 101) redraw augroup HLNext ...


2

Consider using the synIDattr() function, which can take special attributes such as fg# and bg# to return RGB for attributes, when a GUI is running. "fg#" like "fg", but for the GUI and the GUI is running the name in "#RRGGBB" form "bg#" like "fg#" for "bg" "sp#" like "fg#" for "sp" The first argument to this function is a numeric {synID}, if ...


1

I don't know about any plugins for this but it should be easy to code up lookup tables for the other codes. The decimal numbers, like 208 in your example, are 256-color palette codes. It's easy to find translations to/from hex code. Like the top of the google search for 256 color to hex. The spelled-out colors (e.g. DarkSeaGreen4) are system dependent. You ...


Top 50 recent answers are included