haml-edge 3.1.44 → 3.1.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/EDGE_GEM_VERSION +1 -1
  2. data/VERSION +1 -1
  3. data/extra/sass-mode.el +8 -7
  4. metadata +2 -2
data/EDGE_GEM_VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.44
1
+ 3.1.45
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.44
1
+ 3.1.45
data/extra/sass-mode.el CHANGED
@@ -43,11 +43,12 @@
43
43
  :group 'sass)
44
44
 
45
45
  (defvar sass-non-block-openers
46
- '("^ *:[^ \t]+[ \t]+[^ \t]"
47
- "^ *[^ \t:]+[ \t]*[=:][ \t]*[^ \t]")
48
- "A list of regexps that match lines of Sass that don't open blocks.
49
- That is, a Sass line that can't have text nested beneath it
50
- should be matched by a regexp in this list.")
46
+ '("^.*,$" ;; Continued selectors
47
+ "^ *@\\(extend\\|debug\\|warn\\|include\\|import\\)" ;; Single-line mixins
48
+ "^ *[$!]" ;; Variables
49
+ )
50
+ "A list of regexps that match lines of Sass that couldn't have
51
+ text nested beneath them.")
51
52
 
52
53
  ;; Font lock
53
54
 
@@ -195,8 +196,8 @@ LIMIT is the limit of the search."
195
196
  (defun sass-indent-p ()
196
197
  "Return non-nil if the current line can have lines nested beneath it."
197
198
  (loop for opener in sass-non-block-openers
198
- unless (looking-at opener) return t
199
- return nil))
199
+ if (looking-at opener) return nil
200
+ finally return t))
200
201
 
201
202
  ;;;###autoload
202
203
  (add-to-list 'auto-mode-alist '("\\.sass$" . sass-mode))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-edge
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.44
4
+ version: 3.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Weizenbaum
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-06-11 00:00:00 -04:00
14
+ date: 2010-06-15 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency