ap / vim-css-color

Preview colours in source code while editing
http://www.vim.org/scripts/script.php?script_id=5056
MIT License
1.79k stars 80 forks source link

Not working with GVim #123

Closed zaitsev-dev closed 4 years ago

zaitsev-dev commented 4 years ago

In console Vim plugin is working fine but in GVim it is absolutely don't work. Code look in Vim: image and the same in GVim: image

ap commented 4 years ago

When you run these commands in GVim, what do they say?

:set syntax?
:echo has('gui_running')

When you move the cursor onto a color definition (like #d7373b in your screenshot) and run this command, what does it say?

:echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
zaitsev-dev commented 4 years ago

@ap whoops, I'm sorry. The cause of the problem is I opened old Vim session that isn't loads the plugin. Feel awkward :)