Skip to content

Commit

Permalink
Added Vue.js webpack syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Mar 20, 2016
1 parent aa4faf6 commit 54d55e1
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG
Expand Up @@ -2,7 +2,7 @@ Diakonos Changelog
------------------

0.9.6
-
- Added Vue.js webpack syntax highlighting.

0.9.5
- Added support for OSX clipboard.
Expand Down
1 change: 1 addition & 0 deletions diakonos-256-colour.conf
Expand Up @@ -16,6 +16,7 @@ colour 43 123 233 # XML namespaces; light blue on black
colour 45 white 52 # 80-char column marker white on very dark red

colour 46 236 0 # lowlight very dark grey on black
colour 47 243 18 # white on dim blue

view.column_markers.margin.format 45

Expand Down
43 changes: 43 additions & 0 deletions diakonos.conf
Expand Up @@ -1680,6 +1680,49 @@ lang.octave.indent.unindenters \b(else|elseif|end|endif|endfor|endfunction|endwh
lang.octave.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
lang.octave.indent.ignore ^\s*$

# Vue.js Webpack

lang.vue.filemask \.vue$
lang.vue.format.default white
lang.vue.format.selection inverse
lang.vue.format.found yellow inverse
lang.vue.tabsize 8
lang.vue.indent.size 2
lang.vue.indent.auto true
lang.vue.indent.roundup true
lang.vue.tokens.comments.open (<!--)
lang.vue.tokens.comments.close (-->)
lang.vue.tokens.comments.format 8
lang.vue.tokens.comments.change_to html_comment
lang.vue.comment_string "<!-- "
lang.vue.comment_close_string " -->"
lang.vue.tokens.entities &\S+?;
lang.vue.tokens.entities.format magenta bold
lang.vue.tokens.html_template.open <template.*?>
lang.vue.tokens.html_template.close </template>
lang.vue.tokens.html_template.format 47
lang.vue.tokens.html_template.change_to html
lang.vue.tokens.script.open <script.*?>
lang.vue.tokens.script.close </script>
lang.vue.tokens.script.format 47
lang.vue.tokens.script.change_to java
lang.vue.tokens.css.open <style.*?>
lang.vue.tokens.css.close </style>
lang.vue.tokens.css.format 47
lang.vue.tokens.css.change_to css
lang.vue.tokens.code.open (<)(?:[^%]|$)
lang.vue.tokens.code.close (?:[^%]|^)(>)
lang.vue.tokens.code.format white bold
lang.vue.tokens.code.change_to html_tag
lang.vue.tokens.template-interpolation.open \{\{
lang.vue.tokens.template-interpolation.close \}\}
lang.vue.tokens.template-interpolation.format white bold
lang.vue.closers.tag.regexp .*<([^/> ]*)(?:.+?)?>
lang.vue.closers.tag.closer </\1>
lang.vue.surround.pair "<!--" "<!-- " " -->"
lang.vue.surround.pair "/^<(.+?)>$/" "<\1>" "</\1>"


# Other configuration files can be included.
# If a setting is specified again, it overrides the previous setting given
# higher up in the configuration file(s).
Expand Down

0 comments on commit 54d55e1

Please sign in to comment.