Mike
Click on
http://groups-beta.google.com/group/haml/web/syntax-highlighting - or
copy & paste it into your browser's address bar if that doesn't work.
- Nathan
Just wanted to let you know that I've uploaded a (still very basic) vim
syntax highlighting config file.
I really just started playing around with Haml and will work on the
highlighting as I dig into it further :-)
The Syntax Highlighting page should probably just point to the
instructions for fetching bundles from the repository (in TextMate FAQ)
rather than bundling an out-of-date copy of the bundle.
Tomorrow I'll post a xpi and the source to the ActiveState support
site.
If a commercial screenshot doesn't belong in the Files section, I have
no
problem if it's removed. I don't want to post a xpi until I've tested
it on
another machine.
background-image: url(../images/background.jpg);to become
background-image: url(../images/background.jpg?1234567);Is there a way to do that in SASS, if not I guess I have to fall back on generating the css using rhtml.
background-image= image(background.jpg)
which would produce
background-image: url(../images/background.jpg?1234567);
in development and
background-image: url(../images/background.jpg);
in production. Anyone else have any thoughts?
- Nathan
http://blog.dannyburkes.com/2006/11/2/versioned-urls-for-rails/I'm actually trying out their plugin on url versioning currently and see if it works as claimed. It would be important to tag the generation of the timestamp to AssetTagHelper such that there is a centralized place to modify the format of the version timestamp.
I have one. It's very simple, but works well for me.
--
Eugene Korbut
- Nathan
- Nathan
I've uploaded a very simple Aptana generic lexer rules and my own
coloring profiles for HAML and SASS.
Links:
http://haml.googlegroups.com/web/haml_lexer.lxr
http://haml.googlegroups.com/web/haml.col
http://haml.googlegroups.com/web/sass_lexer.lxr
http://haml.googlegroups.com/web/sass.col
Usage:
- open Eclipse preferences
- select Aptana -> Editors -> Generic text
- add new extension (*.haml for HAML; *.sass for SASS)
- add haml_lexer.lxr (sass_lexer.lxr) as "Lexer File"
- [optional] import colorization profile "haml.col" (sass.col)
Does not include scoping for SASS yet, but basic support for HAML
markup.
caveats:
* code folding only works if i don't include any ruby highlighting,
code folding loses
* the LineContinue element is hardcoded to work with \ so it'll be
tricky to get highlight to follow haml's | delimited continuation
Sass syntax highlighting file for Vim: http://www.vim.org/scripts/script.php?script_id=1979
Please give it a try; kick the tires and let me know what comes
crawling out. Two things that I know are broken for the time being:
-filter highlighting;
-multi-line sass comments are detected only as single line comments
Enjoy!
It works very well but does not support the following Haml convention
%p== Here is an #{@interpolated} string
It treats everything after the # as a comment.
I'll send a link to the latest code tomorrow (it's late at night here
at the moment) and I'm happy to help anybody who needs to adapt this
stuff - I just can't spare the time to maintain something I'm not
using unfortunately.
B