Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css-color stopped working after updating Vim to 7.4 #29

Closed
alexrah opened this issue Oct 12, 2013 · 17 comments
Closed

css-color stopped working after updating Vim to 7.4 #29

alexrah opened this issue Oct 12, 2013 · 17 comments
Labels

Comments

@alexrah
Copy link

alexrah commented Oct 12, 2013

it says all in the title,

I found the same issue on different machines after updating vim to latest version 7.4

@ap
Copy link
Owner

ap commented Oct 12, 2013

Strange. There is nothing in the Vim changelog (:help version7.4) to indicate that any of the functionality vim-css-color relies on (after loading, the syntax highlighting, existing autocommands, etc) has changed in any way in 7.4 specifically. And indeed, the plugin works just fine for me on 7.4, nor have I had any other reports of this.

Maybe something else in your Vim setup is newly failing on 7.4 and that is interfering with vim-css-color? If it fails on all of your machines, and you are using the same Vim config on all of them, there is a high likelihood that the problem is something in your config. Can you try a stock Vim with just vim-css-color and see if it fails there also?

@alexrah
Copy link
Author

alexrah commented Oct 13, 2013

thanks,
it must be something in my config then

@alexrah alexrah closed this as completed Oct 13, 2013
@ap
Copy link
Owner

ap commented Oct 13, 2013

Uhm, so you tried and it worked with a stock Vim? Or…?

@alexrah
Copy link
Author

alexrah commented Oct 13, 2013

no, i didnt nave the time so far, but considering what's your feedback on
this, I'm pretty sure its some conflicting rules in my vimrc or maybe some
other plugin acting weird with css-color

@alexrah
Copy link
Author

alexrah commented Oct 15, 2013

sorry to bother you again, I'm trying to find which plugin or configuration could be the cause of issue.
I removed all the plugin and all configurations from .vimrc
what is the minimum vimrc configuration to make css-color enabled?

@ap
Copy link
Owner

ap commented Oct 15, 2013

Move your .vimrc and .vim directory out of the way, then put after/syntax/css.vim inside a new empty .vim.

@alexrah
Copy link
Author

alexrah commented Oct 18, 2013

hi, I tried to do what you said but without any difference, in my .vim I only have after/syntax/css.vim
then even tried to put:

syntax on

in the newly created .vimrc file but I'm not getting any color as well

@ap
Copy link
Owner

ap commented Oct 18, 2013

Hrm, so it’s not your config after all… Now if only I had an idea how to debug this further… 😕

@ap ap reopened this Oct 18, 2013
@alexrah
Copy link
Author

alexrah commented Oct 18, 2013

I tried this on a VM with Ubuntu, but I have the same issue on a Centos 5 machine and Centos 6, that is, wherever I've Vim 7.4 installed.

@ap
Copy link
Owner

ap commented Oct 18, 2013

I don’t understand how you can reproduce it so reliably on 7.4… while I haven’t heard from anyone else having the problem, nor have it myself. *headscratch* Maybe I need to try your config…?

Is it alexrah/vimmy?

@alexrah
Copy link
Author

alexrah commented Oct 19, 2013

Yes that's right that repository is my configuration files , use pathogen
to load the plugin but in the meanwhile I found another plugin, called
color-highlight, you need to disable it before testing

@woainvzu
Copy link

I have the same problem. css colors cannot be shown on vim74.

My environment:

OS Name:                   Microsoft Windows 7 Enterprise
OS Version:                6.1.7601 Service Pack 1 Build 7601
OS Manufacturer:           Microsoft Corporation

VIM:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 19 2013 08:28:39)
MS-Windows 32-bit console version
Included patches: 1-5
Compiled by Yongwei@Shanghai
...

@woainvzu
Copy link

Hi AP,

This plugin works fine for vim74: https://github.com/gorodinskiy/vim-coloresque

Br. Marslo

@Mickey-
Copy link

Mickey- commented Jan 8, 2014

I have the same problem in vim7.4.052,but my friend's macvim 7.4b beta is ok

@ap
Copy link
Owner

ap commented Jan 8, 2014

Strange that I am now having the same problem myself. Expect a fix soonish.

@Mickey-
Copy link

Mickey- commented Jan 8, 2014

if you install vim via brew, you may need to modify /usr/local/Library/Formula/vim.rb,
change

# This package tracks debian-unstable: http://packages.debian.org/unstable/vim
url 'http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.052.orig.tar.gz'
sha1 '216ab69faf7e73e4b86da7f00e4ad3b3cca1fdb8

to

url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2'
sha1 '601abf7cc2b5ab186f40d8790e542f86afca86b7

then excute brew upgrade vim

I have written an article about it
confusion_with_brew_vim
My vim-css-color is ok now,thanks 👍

@ap
Copy link
Owner

ap commented Jan 11, 2014

This should be fixed now. (As a bonus, the latest batch of commits makes opening large files a lot faster.)

If anyone still has a problem, feel free to re-open the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants