Nathan Weizenbaum
4d97343401
Clean up haml- and sass-mode.el.
2008-04-22 17:30:56 -07:00
Nathan Weizenbaum
5f09785d91
The indentation of the first line of Haml/Sass should be 0 spaces.
2008-04-22 15:31:25 -07:00
Nathan Weizenbaum
240251c1dd
Repeating haml-indent-region will cycle indentation.
2008-04-22 13:23:47 -07:00
Nathan Weizenbaum
57d05a1222
Add a custom indent-region function for haml-mode.
...
The most common use of indent-region is to re-indent a region of code
that's been moved from some other document/location. Since Haml
indentation isn't deterministic, indenting each line doesn't work all
the time, so instead we assume the the relative indentation of the
region is correct. This means that only the first line needs to be
indented using haml-compute-indentation, and the rest of the region
can be indented with the same relative indentation.
2008-04-22 13:23:47 -07:00
Nathan Weizenbaum
84fdde13a5
Get rid of trailing whitespace.
2008-04-07 23:09:17 -07:00
nex3
2d39c8a362
More haml-mode font stuff. Thanks again to Dmitri Galinsky!
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@481 7063305b-7217-0410-af8c-cdc13e5119b9
2007-04-02 16:23:25 +00:00
nex3
79f3f71b62
Updated haml-mode, thanks to Dima.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@445 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-23 07:43:34 +00:00
nex3
cfedaaf8b0
Some tweaking of haml-mode Regexps.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@433 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 22:33:12 +00:00
nex3
84029d35d5
Fixed broken find-if in haml- and sass-mode. ELisp is annoying.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@432 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 22:26:19 +00:00
nex3
8d63b02d36
Get rid of the sample-font-lock stuff in haml- and sass-mode.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@431 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 21:50:45 +00:00
nex3
6d15492e6c
haml- and sass-modes should make sure there aren't predefined bindings for the .haml and .sass filetypes.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@430 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 21:07:08 +00:00
nex3
827aaa31d7
Some syntax highlighting for haml-mode. Yay!
...
Thanks to Dmitry Galinsky!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@429 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 21:01:00 +00:00
nex3
ceb46f1396
Neither haml- nor sass-mode should have any font-lock stuff. Also sass was crashing.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@423 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-17 09:53:46 +00:00
nex3
23f8e7d42e
Okay, let's fix the massive breakage.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@409 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-16 02:30:57 +00:00
nex3
04cd02784b
Added a handy backspace binding to the haml-mode.el.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@401 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-08 06:50:46 +00:00
nex3
e7555b40db
Added a very basic haml-mode syntax file for Emacs. No syntax highlighting, just indenting services.
...
git-svn-id: svn://hamptoncatlin.com/haml/trunk@400 7063305b-7217-0410-af8c-cdc13e5119b9
2007-03-08 04:03:43 +00:00