Commit Graph

50 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 c122cb8c29 Move 'suffixesadd' from after/ftplugin to ftplugin
In #46, the question was where to put this option, and why some other
plugins put it in the 'after' directory. Vim-javascript puts it in the
'after' directory because they want to keep the settings in the ftplugin
shipped with Vim, and only add the 'suffixesadd' option. Since Vim
doesn't ship with a Vue plugin, we can safely put this option in ftplugin.
2017-02-21 22:00:26 +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
Franco Victorio f6694b40a7 Add .vue to 'suffixesadd' (#46) 2017-01-23 00:17:12 +01:00
Beser 078be5a88f Add multiple filetypes as javscript,html and css (#42)
* Add multiple filetypes for html,css and javascript

Vim plugings like autocomplete and snippets use filetypes to function,
hence this commit adds filetypes css,html and javascript

* Add multiple filetypes for html,css and javascript

Vim plugings like autocomplete and snippets use filetypes to function,
hence this commit adds filetypes css,html and javascript.

This commit closes #41
2017-01-15 18:11:19 +01:00
Eduardo San Martin Morote d90cd7bd7e Merge pull request #43 from sliceofcode/master
Fix JavaScript highlighting
2017-01-09 10:51:52 +01:00
sliceofcode 42a2ec5243 Fix JavaScript highlighting 2017-01-08 21:45:32 -08:00
Eduardo San Martin Morote 0e34ab8bb7 Merge pull request #40 from kesor/support-slm-lang
Add `slm` language support for templates
2016-12-25 20:34:23 +01:00
Evgeny Zislis ab44921113 add slm language support 2016-12-25 15:38:07 +02:00
Eduardo San Martin Morote 001e7c4541 Add vim 8 instructions
Closes #39
2016-12-21 10:48:15 +01:00
Eduardo San Martin Morote b57f9d8f6e Merge pull request #38 from larry-wong/master
add ' ' support for pug, jade, stylus, scss, sass & less
2016-12-20 16:57:34 +01:00
Larry Wang 0b528ff0ea add ' ' support for pug, jade, stylus, scss, sass & less 2016-12-17 22:40:54 +08:00
Eduardo San Martin Morote 2d09f6e859 Merge pull request #35 from fuzzytern/broken-link
Update broken link
2016-11-22 17:52:06 +01:00
Nicolas Wormser 4d8f2c7341 Update broken link 2016-11-22 18:37:31 +04:00
Eduardo San Martin Morote e13f9abf5f Merge pull request #32 from kikyous/master
add coffee indent
2016-10-22 12:55:54 +02:00
chen 297dadcecd add coffee indent 2016-10-22 08:12:02 +08:00
Eduardo San Martin Morote f3c29bdbc9 Merge pull request #30 from kaihendry/patch-1
Add Pathogen instruction
2016-10-14 09:47:39 +02:00
Kai Hendry 06a7bf054b Add Pathogen instruction
Closes #28
2016-10-14 11:09:56 +08:00
Eduardo San Martin Morote bedcc2e35f Merge pull request #26 from knight42/syntastic
Add eslint checker for Vue to Syntastic
2016-09-20 09:46:48 +02:00
knight42 addcbf9be5 Integrate with Syntastic 2016-09-14 02:31:00 +08:00
Eduardo San Martin Morote a51db084b5 Merge pull request #24 from IzumiSy/IzumiSy/fix_typo
Fix typo
2016-08-28 18:27:17 +02:00
Seiya IZUMI 75771373fc Fix typo
`javacript` -> `javascript`
2016-08-29 00:13:13 +09:00
Eduardo San Martin Morote 333f634c82 Merge pull request #23 from adriaanzon/indent
Add indent and ftplugin files
2016-08-21 23:42:17 +02:00
Adriaan Zonnenberg 1ae53f086e Add indent and ftplugin files 2016-08-21 23:29:05 +02:00
Eduardo San Martin Morote 7ecc094f6a Improve compatibility with NerdCommenter @xream
Closes #18
2016-08-21 23:11:31 +02:00
Eduardo San Martin Morote 78b12b1693 Merge pull request #22 from agirorn/fix-broken-unle-of-current_syntax
Only unlet b:current_syntax if it is set.
2016-07-24 18:48:00 +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
Eduardo San Martin Morote 922f01c9a1 Merge pull request #14 from huangdawei/master
add SCSS support
2016-04-19 20:14:17 +02:00
David Wong 40ff244060 add SCSS support 2016-04-19 23:48:44 +08:00
Eduardo San Martin Morote 9f8c3b53f3 Merge pull request #13 from clovery/master
support <script type="text/babel">
2016-04-19 15:35:25 +02: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 a24c0b32e8 Remove uppercase in README name 2016-02-21 11:23:07 +01:00
Eduardo San Martin Morote f1bac123f1 Added FAQ abot jade. May be helpful 2016-02-21 11:22:30 +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
Eduardo San Martin Morote 9375feca48 Merge pull request #5 from flipxfx/master
Allow sass modifiers like sass?indentedSyntax
2016-01-28 22:36:56 +01:00
Phillip Lanclos d7c87db4fc Allow sass modifiers like sass?indentedSyntax 2016-01-28 14:08:33 -06:00
Eduardo San Martin Morote 3986d9002d Merge pull request #4 from ryym/syn-include
Include syntax file only if it exists
2016-01-13 08:55:36 +01:00
ryym 7602a715d6 Include syntax file only if it exists 2016-01-12 23:01:14 +09:00
Eduardo San Martin Morote 53439b7b9c Merge pull request #3 from whitelynx/patch-1
Added LESS support in the <style> tag.
2016-01-09 17:32:16 +01: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
Eduardo San Martin Morote f15e1d99ab Merge pull request #2 from xream/master
add sass syntax
2015-12-29 16:58:42 +01: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
Evan Sheehan fe47f2b397 Fix a markdown error
Fix the link to Vundle in the README
2015-02-21 17:12:20 -05:00
W. Evan Sheehan 23c0eeb363 Update README with installation instructions 2015-02-21 17:10:36 -05: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
Evan Sheehan 739d131fa3 Initial commit 2015-02-21 16:54:42 -05:00