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

"Trailing characters" error when opening css files #6

Closed
bjeanes opened this issue Dec 2, 2011 · 14 comments
Closed

"Trailing characters" error when opening css files #6

bjeanes opened this issue Dec 2, 2011 · 14 comments
Labels

Comments

@bjeanes
Copy link

bjeanes commented Dec 2, 2011

Error detected while processing function <SNR>110_PreviewCSSColorInLine..<SNR>110_MatchColorValue:
line    8:
E488: Trailing characters:  endif¬
Press ENTER or type command to continue

See https://skitch.com/bjeanes/gpdee/2-vim-vim

@ap
Copy link
Owner

ap commented Dec 2, 2011

Please provide a minimal example file that triggers the error.

@bjeanes
Copy link
Author

bjeanes commented Dec 4, 2011

a {
  color: #fff;
}

Just that causes those errors in console vim. In MacVim, no errors are displayed, but the colors are not highlighted either.

Here are my other vim plugins and their config: https://github.com/bjeanes/dot-files/blob/master/editors/vim/bundles.vim

@ap
Copy link
Owner

ap commented Dec 4, 2011

Hmm. I have added the files from scss-syntax to my .vim and added

autocmd FileType scss syntax cluster sassCssAttributes add=@cssColors

to my .vimrc, but so far I cannot get the after/syntax/css.vim file to get triggered on SCSS files. I tried to spot any other bits I might need in your configuration but I cannot really see anything.

Any idea what is else missing?

@bjeanes
Copy link
Author

bjeanes commented Dec 4, 2011

I was unnecessarily specific in my original issue. This isn't just effecting scss files, but even plain css files. Haven't yet tried sass

@ap
Copy link
Owner

ap commented Dec 4, 2011

Then I must suspect a problem of some kind on your end because it works just fine on all of my vim installations and nobody else has reported this either.

What is that “¬” character shown in the error message at the end of the offending line?

@bjeanes
Copy link
Author

bjeanes commented Dec 4, 2011

That char is one of my list char settings:
https://github.com/bjeanes/dot-files/blob/master/editors/vim/ui.vim#L22

The original vim-css-color works (though too slow to use) and this is the
only plugin I've seen these errors with. It's obviously some sort of
interaction between something in this plugin and some other plugin/option
that I have set, but I have no idea how to debug these kinds of things...

@ap
Copy link
Owner

ap commented Feb 26, 2012

I wish I could help you but I have no idea how to debug this and no one else seem to be having the problem… so I’m closing this ticket as stalled. If you have figured it please report; or if you have found any other information that might point in the right direction, please reopen.

@ap ap closed this as completed Feb 26, 2012
@ap ap mentioned this issue Apr 19, 2012
@ap ap reopened this Apr 19, 2012
@ap
Copy link
Owner

ap commented Apr 19, 2012

Hey @bjeanes. Can you give d812b6c a spin? It should solve your issue (and be a good bit faster than the old version to boot).

@bjeanes
Copy link
Author

bjeanes commented Apr 19, 2012

Sure thing. I'll try to give it a shot tonight.

@ap
Copy link
Owner

ap commented Apr 24, 2012

Any news yet, @bjeanes?

@bjeanes
Copy link
Author

bjeanes commented Apr 25, 2012

Ah sorry... I'm at RailsConf at the moment so haven't really been thinking
about this. I'll try to test soon.

@ap
Copy link
Owner

ap commented May 4, 2012

@bjeanes: ping? :-)

@bjeanes
Copy link
Author

bjeanes commented May 4, 2012

sorry for the delay. I just checked, seems to work fine now!

@ap ap closed this as completed May 4, 2012
@ap
Copy link
Owner

ap commented May 4, 2012

Thanks! I can rest easy closing this then.

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

2 participants