handcrafted / handcrafted-haml-textmate-bundle Goto Github PK
View Code? Open in Web Editor NEWA Handcrafted HAML TextMate bundle to aid in rapid HAML development.
Home Page: http://gethandcrafted.com/
A Handcrafted HAML TextMate bundle to aid in rapid HAML development.
Home Page: http://gethandcrafted.com/
Is it possible to do a live rendered preview of HAML in textmate 2? Is this something you could add?
clean install of textmate and handcrafted version of Ruby HAML bundle installed with git clone
/Users/ababkin/.gem/ruby/1.8/gems/haml-2.2.23/lib/haml/html.rb:95:in initialize': private method
gsub' called for nil:NilClass (NoMethodError)
from -e:1:in `new'
from -e:1
Any way to turn it off?
It is now possible to wrap a HAML line after a comma, but syntax highlighting currently only works on the first line (in Sublime Text).
How about you add step 3 to the install instructions:
This is what I get when I try using "Convert HTML to HAML"
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in report_activate_error': Could not find RubyGem haml (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:in
activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
from -e:1
This text replaces everything in the current file. Haml is working. I'm using haml 3.1.3, Rails 3, Textmate 1.5.10, Ruby 1.9.2-p290, OS 10.6.8. I installed the bundle into ~/Library/etc.
When I start editing a line that was indented the indentation is removed. It doesn't happen with Textmate 1 just version 2. I'm running build 9147 on OS 10.8
Example:
%div{ data: { id: "yes" }, attr: { smth: "no" } }
Only first attribute (data-id) is colored.
Hi :)
It would be great if your bundle could highlight the javascript-code inside something like this:
:javascript
function setCurrentNavigation(current) {
$("li."+current).addClass("active");
};
The syntax highlighting doesn't catch "==" strings like https://github.com/textmate/ruby-haml.tmbundle does.
Using a fresh install of Ruby 1.9.2 (via RVM), Textmate, and the Handcrafted Haml bundle, I get the following error when trying to convert from HTML to Haml:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in report_activate_error': Could not find RubyGem haml (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:in
activate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
from -e:1
I ran sudo gem install haml and it installed successfully. The output of ruby -v is 1.9.2p180. It seems like TM is still looking for my system (Mac OS X) version of Ruby, not the new one I installed. Any thoughts?
Tried to install handcrafted version of the Ruby HAML bundle on a clean install of textmate, returns an error
TextMate's built-in Ruby bundle defines a keyboard shortcut of control+l for a hash pointer/rocket. This works in the Ruby on Rails bundle and the original Haml bundle, but does not in the handcrafted haml bundle.
Seems that everyone is cloning the same install instructions, which are out of date. The reason is, I believe, that ~/Library now contains personal changes to the official files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.