Coder Social home page Coder Social logo

Comments (17)

ap avatar ap commented on July 18, 2024

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?

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

thanks,
it must be something in my config then

from vim-css-color.

ap avatar ap commented on July 18, 2024

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

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

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

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

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?

from vim-css-color.

ap avatar ap commented on July 18, 2024

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

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

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

from vim-css-color.

ap avatar ap commented on July 18, 2024

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

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

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.

from vim-css-color.

ap avatar ap commented on July 18, 2024

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?

from vim-css-color.

alexrah avatar alexrah commented on July 18, 2024

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

from vim-css-color.

woainvzu avatar woainvzu commented on July 18, 2024

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
...

from vim-css-color.

woainvzu avatar woainvzu commented on July 18, 2024

Hi AP,

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

Br. Marslo

from vim-css-color.

Mickey- avatar Mickey- commented on July 18, 2024

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

from vim-css-color.

ap avatar ap commented on July 18, 2024

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

from vim-css-color.

Mickey- avatar Mickey- commented on July 18, 2024

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 👍

from vim-css-color.

ap avatar ap commented on July 18, 2024

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.

from vim-css-color.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.