vim-csscomb icon indicating copy to clipboard operation
vim-csscomb copied to clipboard

Error running :CSScomb

Open seyDoggy opened this issue 10 years ago • 7 comments
trafficstars

When I run :CSScomb on a buffer with a plain old .css file I get the following error:

Error detected while processing function g:CSScomb:
line    7:
E684: list index out of range: 1
E15: Invalid expression: split(systemOutput, "\n")[1]
Press ENTER or type command to continue

seyDoggy avatar Jul 30 '15 12:07 seyDoggy

same error here

jojoyuji avatar Aug 03 '15 17:08 jojoyuji

is this project still alive?

jojoyuji avatar Aug 11 '15 15:08 jojoyuji

Me three.

It seems this project has changed alot since i last looked at it. They've switched to using CSScomb from node, so after installing that it works alot better. (npm install csscomb)

But IMO this project has gotten less useful over the course of a year or so. Before, you could visually select a segment to be combed, but this no longer seems to work correctly. And there seems to be alot more imposed codestyle for your CSS so it's less portable.

antte avatar Aug 17 '15 12:08 antte

Hello, guys! I'm sorry the plugin throws errors. Unfortunately, I don't have enough time to fix them now. Maybe someone of you could help?

tonyganch avatar Aug 17 '15 12:08 tonyganch

I was having the same error, but using npm install csscomb as suggested by @antte solved it for me.

ltartari avatar Jan 06 '16 12:01 ltartari

you gus have to install csscomb via npm install csscomb

netcookies avatar Sep 17 '16 08:09 netcookies

I had to install globally with the -g switch: npm install -g csscomb

LilyReile avatar Apr 20 '18 23:04 LilyReile