Commit Graph

67 Commits

Author SHA1 Message Date
Tim Pope
8a238367f0 Highlight Sass placeholder class like actual class 2018-05-26 19:15:27 -04:00
Antonio Ospite
d580aa3a3f Fix highlighting comments in scss files
The sccs syntax file imports the definitions of the sass indented syntax
where comments follow some indentation rules[1].

These indentation rules are not valid in the scss syntax[2], and their
visual rendering is confusing.

So delete the syntax items referring to sass comments files before using
the newly defined ones.

Also derive the visual style directly from Comment instead of
sassComment, just to stress that the comment definitions are distinct
from the sass ones.

[1] http://sass-lang.com/documentation/file.INDENTED_SYNTAX.html#comments
[2] http://sass-lang.com/documentation/file.SASS_REFERENCE.html#comments

Closes #78.
2017-07-19 14:23:01 -04:00
Tim Pope
4e130d6c60 Drop support for old style bang variables 2017-05-08 16:45:26 -04:00
Tim Pope
09eee9bb21 Highlight !global and !optional 2017-05-08 16:45:03 -04:00
Tim Pope
8f7982e06e Sync with upstream 2017-05-08 16:34:21 -04:00
Tim Pope
18ff62828c Fix @media 2014-06-10 19:03:07 -04:00
mil
8cfc8eff59 add syntax highlighting for mediaqueries in sass 2014-05-12 17:24:04 -04:00
Tim Pope
c5b09ad120 Tighten check for inline JavaScript
Closes #60.
2014-04-04 17:36:37 -04:00
Jens Fahnenbruck
6d664463c3 use PreProc as advised by @tpope 2014-03-22 19:53:03 +01:00
Jens Fahnenbruck
3e54f9f58a add charset highlighting
it uses the same highighting as @import
2014-03-22 17:38:01 +01:00
Gregory McIntyre
410a6a0517 Highlight comments on the end of lines in SASS 2013-05-27 21:49:45 -04:00
Matt Sacks
5a11a44b34 Add SASS 3.2 placeholders
Example: %placeholder { color: blue; }
Will match "%placeholder" as a PreProc
2012-11-20 11:09:32 -08:00
Tim Pope
9a891ed78a Fix highlight of @import "foo/*.png"
Closes #27.
2012-07-12 08:45:20 -04:00
Aaron Jensen
6284c188c2 Highlighting for @function and @return 2012-05-15 22:09:44 -04:00
Hugues Lismonde
3490c63d68 Allow whitespace between property name and colon 2012-03-15 11:28:14 -04:00
Matt Sacks
d48e9f1da3 Add interpolation in pseudo elements 2012-03-08 12:52:25 -05:00
Will Gray
6e6ecb3f04 Add SASS "@each ... in" syntax. 2011-04-29 07:59:04 -07:00
Tim Pope
cc56253395 Allow whitespace before mixin name 2011-04-28 17:45:04 -04:00
Tim Pope
47c4dff622 Bump timestamps as submitted upstream 2010-08-09 16:23:28 -04:00
Tim Pope
fb83d43917 Allow Haml interpolation inside JavaScript strings 2010-08-02 16:44:54 -04:00
Tim Pope
55f14fd4fc Fix interpolation in Sass attribute 2010-07-28 10:05:12 -04:00
Tim Pope
9e25996111 Loosen @mixin for SCSS 2010-07-28 09:41:54 -04:00
Tim Pope
ca196e671b Loosen @extend and @include for SCSS 2010-07-28 09:37:05 -04:00
Tim Pope
627e3950f1 Show interpolation in properties and attributes 2010-07-28 09:14:43 -04:00
Tim Pope
c8de253905 Synchronize dates for delivering upstream 2010-07-26 18:40:36 -04:00
Tim Pope
dd0a6233d5 Allow interpolation in strings in Sass 2010-07-26 18:05:38 -04:00
Tim Pope
caf7f9cf29 Highlight @warn in Sass 2010-07-25 19:34:37 -04:00
Tim Pope
e87143f99e Don't choke on missing semicolon in "a {b:c}" 2010-07-25 15:34:29 -04:00
Tim Pope
54139ceb5b Properly highlight SCSS comments 2010-07-25 14:36:53 -04:00
Tim Pope
8a78d1b30e Add spelling support to Sass 2010-07-25 14:33:37 -04:00
Tim Pope
980b746e31 Add a separate filetype for SCSS 2010-07-25 13:02:54 -04:00
Tim Pope
38b8d33fc3 Further SCSS highlighting 2010-07-25 12:29:13 -04:00
Tim Pope
09d94a600e Tweaks to handling of semicolons in strings 2010-07-22 16:33:11 -04:00
Tim Pope
9c5bdb44ac Sass #{} interpolation support 2010-07-22 16:26:09 -04:00
Tim Pope
a91cdb399d Basic SCSS support 2010-07-22 16:14:04 -04:00
Tim Pope
c583d3a236 Highlight new style Sass variables 2010-07-22 16:07:00 -04:00
Kim Silkebækken
30405bd751 Fixed minor mixin highlighting bug 2010-06-21 17:05:31 -04:00
Tim Pope
e36189b912 Lose distinction between SassScript and attributes 2010-06-18 18:11:22 -04:00
Tim Pope
b8414bd238 Highlight Sass functions 2010-06-18 18:10:31 -04:00
Tim Pope
8196ec61cf Support new Sass mixin syntax 2010-06-18 17:48:51 -04:00
Tim Pope
a9c093463f Highlight !default 2010-06-18 17:21:16 -04:00
Bernerd Schaefer
dfb1f770d5 Highlight XML namespaced elements such as '%xsl:stylesheet' 2010-05-28 10:56:01 -04:00
Tim Pope
349f235950 Highlight $constants 2010-05-26 11:44:15 -04:00
Tim Pope
567c6d8f47 Support comma line continuations 2010-05-10 22:46:53 -04:00
Tim Pope
d29da9581f Support :css filter [Brian Gernhardt] 2010-05-10 22:26:15 -04:00
Tim Pope
b80f2c5359 Update email address 2010-05-10 22:22:49 -04:00
Tim Pope
8f9e77eb23 Begin laying groundwork for SassScript support 2009-12-17 22:58:02 -05:00
Tim Pope
f790601bac Highlight @debug 2009-12-17 22:57:34 -05:00
Tim Pope
db054e782e Highlight @else and @else if 2009-12-14 23:18:22 -05:00
Jon Distad
bd62a5eda0 unlet main_syntax at the end of syntax/haml.vim 2009-11-24 13:52:59 -05:00