91 Commits
Author SHA1 Message Date
Tim Pope 95a095a4d2 Use recommended_style pattern for indenting defaults 2022-08-22 15:15:04 -04:00
Tim Pope 2824214c61 Remove unused variables 2022-08-22 15:11:53 -04:00
Tim Pope 3126b9a8b5 Sync with official runtime files 2022-08-22 15:07:28 -04:00
Tim Pope 9b9c18b78d Add missing b:undo_indent 2021-09-24 09:01:09 -04:00
Tim Pope b4083d169d Sync with official runtime files 2019-11-30 19:44:44 -05:00
Tim Pope b8c2473a85 Add sponsor button 2019-11-12 19:36:13 -05:00
Tim Pope ca22091688 Stop setting shiftwidth and expandtab 2018-08-29 20:09:11 -04:00
Tim Pope cac9d806f0 Limit Sass 'iskeyword' override to pure Sass files 2018-08-10 03:59:36 -04:00
Tim Pope ac1cb44d58 Set 'define' to match HTML ids in Haml files 2018-07-08 17:08:50 -04:00
Tim Pope 46ef33e675 Proper 'define' support
Guessing I'm going to get some push back on the iskeyword tweak, but man
is this useful.  Press [d on a variable to see its value.  Press [<C-D>
on a mixin to jump to its definition.  Placeholder classes and functions
work too.
2018-05-26 19:15:27 -04:00
Tim Pope 8a238367f0 Highlight Sass placeholder class like actual class 2018-05-26 19:15:27 -04:00
Tim Pope 1457cf1f94 Smarter Sass 'includeexpr' 2018-05-26 19:15:27 -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 1f2e47c78c Use shiftwidth() when available
Closes https://github.com/tpope/vim-haml/issues/76
2016-02-11 12:47:57 -05:00
Tim Pope 7d86692010 Remove commented code 2016-02-11 12:43:03 -05:00
Tim Pope 5c1189022d Minimal README 2015-10-05 15:41:52 -04:00
Tim Pope 204e327211 Fix comments option
Closes #68.
2014-08-08 12:24:30 -04:00
Tim Pope 9b7c3341c2 Set comments option 2014-08-07 19:55:50 -04:00
Tim Pope 18ff62828c Fix @media 2014-06-10 19:03:07 -04:00
Tim Pope 4d0834f05e Merge pull request #62 from mil/sass-mediaquery-fix
add syntax highlighting for mediaqueries in sass
2014-05-12 22:17:27 -04:00
Tim Pope c5b09ad120 Tighten check for inline JavaScript
Closes #60.
2014-04-04 17:36:37 -04:00
Tim Pope b58f1cffa8 Treat hamlc as haml
Closes #57.
2014-04-03 18:09:48 -04:00
Tim Pope 90c0d3a4e0 Drop -c from compilers
Closes #52.
2014-04-03 08:45:48 -04:00
Tim Pope 6dbd89ff4e Merge pull request #55 from jigfox/add_charset_highlighting
add charset highlighting
2014-03-22 16:08:57 -04:00
Tim Pope 33279476a6 Add headers to compilers 2013-06-02 13:34:22 -04:00
Tim Pope 81af73f76e Remove <:> from 'matchpairs'
Closes #46.
2013-05-27 21:25:18 -04:00
Tim Pope ce0cfeddbd Merge pull request #44 from jacknagel/compiler
Compiler plugins for sass and haml
2012-12-04 18:23:25 -08:00
Tim Pope b5736000da Merge pull request #43 from mattsacks/add-placeholders
Add SASS 3.2 placeholders
2012-11-23 21:24:36 -08:00
Tim Pope 9a891ed78a Fix highlight of @import "foo/*.png"
Closes #27.
2012-07-12 08:45:20 -04:00
Tim Pope a995d4aabb Fix indent after base and input tags
Closes #25.
2011-10-16 16:23:35 -04:00
Tim Pope de3e72a384 Merge pull request #16 from graywh/patch-1
Add SASS "@each ... in" syntax
2011-05-11 20:49:46 -07:00
Tim Pope cc56253395 Allow whitespace before mixin name 2011-04-28 17:45:04 -04:00
Tim Pope a0345d5c22 Account for @include before properties 2010-11-08 23:28:36 -05: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 e448efdb86 Provide a 'define' that matches Sass mixins 2010-07-25 15:59:21 -04:00
Tim Pope bd43cd97f0 Lower precedence of .css in 'suffixesadd' 2010-07-25 15:45:55 -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 358eb131ec Add 'includeexpr' and 'suffixesadd' to Sass 2010-07-25 13:51:07 -04:00
Tim Pope 6228a6a1ef Support quoted strings after @import 2010-07-25 13:16:33 -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
Tim Pope d8fd096eca Remove debugging technique 2010-06-18 18:41:24 -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
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 db4d42dcde Remove commented code 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
Tim Pope 5ffacbf2f9 Allow nesting inside curly braces 2009-10-11 16:49:50 -04:00
Tim Pope cabed106e2 At beginning of line, #{ is interpolation, not id 2009-07-23 15:17:35 -04:00
Tim Pope d8d48f24b9 Highlight @if, @while, and @for 2009-07-09 09:25:45 -04:00
Tim Pope 4b23eccc45 Fix highlighting of &= and != 2009-07-08 20:15:34 -04:00
Tim Pope 2a8ce3b36e Support Haml 2.2 %a(href="") attribute syntax
The highlighting of event handlers (onclick, etc.) could use some work.
2009-07-08 00:13:26 -04:00
Tim Pope c745f722af Update helpers to Haml 2.2 2009-07-07 22:59:18 -04:00
Tim Pope ea667efff7 Support :cdata and :maruku filters 2009-07-07 22:49:18 -04:00
Tim Pope 9dba20dc31 New interpolation rules
- Allow #{} outside of == regions, as in Haml 2.2.
- Allow escaping of #{} with \ along with any \ immediately before #{}.
- Support standalone & and ! at beginning of line.
2009-07-07 22:17:56 -04:00
Tim Pope 3636c3c7ed Disable 'comments' to prevent # insertions 2009-04-02 16:12:07 -04:00
Tim Pope 9f2c7ed4af Skip blank lines in filter regions 2008-11-25 15:55:38 -05:00
Tim Pope d547b07025 Interpolation in :javascript blocks 2008-10-03 18:04:25 -04:00
Tim Pope 6f3dc2e792 Highlight :javascript filter 2008-09-30 23:46:07 -04:00
Tim Pope 52758326d3 Indent after trailing do 2008-09-11 08:40:39 -04:00
Tim Pope dd7157447b Support &=, !=, &==, and !== notations 2008-09-03 12:00:26 -04:00
Tim Pope 6ad8a7f6d8 Filters update
- Support #{} interpolation in appropriate filters
- Support for escaped filter
- Better highlighting for erb filter
2008-08-01 15:11:01 -04:00
Tim Pope e1bda6ccfb Normalize modelines 2008-07-03 16:08:28 -04:00
Tim Pope 4a3cfbd0e5 Remove subtype concept from ftplugin/haml.vim 2008-07-03 16:05:33 -04:00
Tim Pope 5070496634 Sass ftplugin 2008-07-03 15:58:07 -04:00
Tim Pope 3fb0179065 Add sass support 2008-07-03 14:31:15 -04:00
Tim Pope e252bdf2bc Highlight ruby inside == #{} 2008-06-20 11:19:48 -04:00
Tim Pope fa8b334f75 Initial commit 2008-06-20 10:39:43 -04:00