How do i get the color of the word under the cursor?
Working on making my own color schemes and trying to poach others colors without having to look at the source code.
:echo synIDattr(synIDtrans(synID(line("."), col("."), 1)), "fg")
"fg"
foreground color (GUI: color name used to set the color, cterm: color number as a string, term: empty string),"bg"
background color (as with "fg").Read more