Commit Graph

20 Commits

Author SHA1 Message Date
Eduardo San Martin Morote f75a55ef19 Remove attrs limitation on style tag (#53)
* Remove attrs limitation on style tag

Closes #52
Style tags can actually have any amount of extra tags, so adding the
scoped tags is just too limiting.

* Improve attribute patterns
2017-03-08 00:24:40 +01:00
Adriaan Zonnenberg 0d5a392a11 Use unlet! instead of unlet
A bang after unlet suppresses the error if there is no such variable,
which removes the need for checking if the variable exists.
2017-02-19 22:10:05 +01:00
sliceofcode 42a2ec5243 Fix JavaScript highlighting 2017-01-08 21:45:32 -08:00
Evgeny Zislis ab44921113 add slm language support 2016-12-25 15:38:07 +02:00
Larry Wang 0b528ff0ea add ' ' support for pug, jade, stylus, scss, sass & less 2016-12-17 22:40:54 +08:00
Seiya IZUMI 75771373fc Fix typo
`javacript` -> `javascript`
2016-08-29 00:13:13 +09:00
Eduardo San Martin Morote 7ecc094f6a Improve compatibility with NerdCommenter @xream
Closes #18
2016-08-21 23:11:31 +02:00
Ægir Örn Símonarson 4333b6508b Only unlet b:current_syntax if it is set. 2016-07-24 16:39:37 +00:00
Eduardo San Martin Morote 092aac985f Add babel support for lang 2016-06-29 13:51:33 +02:00
David Wong 40ff244060 add SCSS support 2016-04-19 23:48:44 +08:00
clovery 1df472d227 support <script type="text/babel"> 2016-04-19 17:58:47 +08:00
Eduardo San Martin Morote 4adfb9ba99 Fix jade syntax in vue files
The pug package isn't ready yet so you still need to use the jade
package for vue files. We can still apply the pug syntax to the regions
2016-02-21 11:29:23 +01:00
Eduardo San Martin Morote 348733202c Renamed jade to pug
Fixes #8
Alse see https://github.com/pugjs/jade/issues/2184
You should now replace your jade loaders by the pug loaders
and also the digitaltoad/vim-jade by digitaltoad/vim-pug which is the
new vim syntax plugin for pug (mantained by the same person)
2016-02-21 11:16:18 +01:00
Eduardo San Martin Morote b25434a981 Allow the use of <template v-if> inside of the <template>
Fix #6
It forces the user to indent the code correctly in order to detect the
englobbing template tag
2016-01-31 12:11:44 +01:00
Phillip Lanclos d7c87db4fc Allow sass modifiers like sass?indentedSyntax 2016-01-28 14:08:33 -06:00
ryym 7602a715d6 Include syntax file only if it exists 2016-01-12 23:01:14 +09:00
David Bronke f35b872e7c Added LESS support in the <style> tag.
Also, use `matchgroup=PreProc` to highlight the `<style>` tag, instead of applying the `less` syntax to it.
2016-01-08 14:08:34 -06:00
Hsiaoyi Hsu 37321e50c0 add sass syntax 2015-12-29 18:38:33 +08:00
Eduardo San Martin Morote fa9091030b Added coffee, stylus and jade. Updated all files 2015-10-09 09:59:52 +02:00
W. Evan Sheehan 33ca5940c5 Add basic syntax files
- Set the filetype to "vue" for files with a .vue extension
 - Define regions for <template>, <style>, and <script> tags
 - Include HTML, CSS, and JavaScript syntax highlighting for the <template>,
   <style>, and <script> regions
2015-02-21 16:57:56 -05:00