Open tarciozemel opened 11 years ago
Did you build livestyled/livestyled?
Then, could you please try to start ./livestyled/livestyled
on terminal. And Do :LiveStyle
on gvim. Something is displayed on terminal?
Thank you for the quick answer! Here's the thing: when I tried in gvim instead in terminal, it worked! BUT: worked only in the 1st time...
I opened gvim, :LiveStyle
and :e style.css
and everything worked as expected. So I closed all to try to repeat all the steps. In the :LiveStyle
, OK; when :e style.css
, gvim stops to respond and, although the characteres still there, I can't play with that, neither to move the cursor...
Extra information: I restarted my computer and tried all again. I couldn't edit even in 1st time... Looking in ps
, livestyled is running, but I have a frozen screen in gvim, anyway. Looking top
, gvim is consuming 100.4% of my CPUs...
I have golang installed via apt-get and I used it to build livestyled, but I think this is not an issue, isn't?
Hmm, do you set HTTP_PROXY environment variable? And let me know your PC spec
@mattn Where I look for this environment variable to be sure?
My spec is Intel Core2Duo E4600 @ 2.40GHz, 4GB RAM, running Ubuntu 12.10 64-bit, Vim 7.3.584.
Hmm, try to do:
:e /path/to/your/style.css
:echo livestyle#lang#css#parse("")
Is this slow?
Executes in no time, without problems.
I made some other tests, now I can run it in terminal Vim. Indeed, the "invisible screen" keeps happening, but if I run :tabnew
"in blind", the new tab appears and I can switch between them normally.
About the freeze screen and CPU consume, I think I figured out something: is the #
of hexadecimal colors!
Just after I run :LiveStyle
, if I use #
in any value, the crash happens. If I don't use this for a while and made some other stuff (which works, btw), when I put the symbol, Vim becomes slooowww...
For now, seems like #
it's the cause of the main problem. I hope this clue helps to solve this (and the terminal Vim initial "invisible screen").
Hi! I'm glad the Vim version of LiveStyle is already here, it's exciting!
Unfortunately, this isn't working for me. My environment is Ubuntu 12.10 64-bit and I'm running Vim 7.3.584 in terminal (and I installed LiveStyle via Vundle).
First, when I run
:LiveStyle
, all the characters in terminal screen becomes invisible! Vim still working, but the screen become a mess...Even so, when I click in "Enable LiveStyle for current page" in Chrome extension, in the right side I only get the "No active editor" message and not happens (neither if I click in the "Add file" button).
I'm making the tests in a local file, but, although the answer in https://github.com/mattn/livestyle-vim/issues/3, I don't figure out how I could make this work (when work at all) in, for instance, a local server configured to "local.website.com".
Thank you for this another great Vim plugin and I hope I can run it appropriately too! :-)