vim: add HTML5 elements to the LessCSS syntax
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 27 Jan 2011 10:33:56 -0500 |
parents |
48fb846e8cb6
|
children |
245ed5a1a59e
|
branches/tags |
(none) |
files |
mutt/muttrc vim/syntax/less.vim |
Changes
--- a/mutt/muttrc Wed Jan 26 12:39:16 2011 -0500
+++ b/mutt/muttrc Thu Jan 27 10:33:56 2011 -0500
@@ -90,6 +90,7 @@
# these just give me headaches
bind index,pager \# noop
bind index i noop
+bind index w noop
# bindings
bind index <tab> sync-mailbox
--- a/vim/syntax/less.vim Wed Jan 26 12:39:16 2011 -0500
+++ b/vim/syntax/less.vim Thu Jan 27 10:33:56 2011 -0500
@@ -37,6 +37,11 @@
syn match cssTagName "\<table\>"
syn match cssTagName "\*"
+" HTML 5
+syn keyword cssTagName article aside header hgroup footer section nav figure
+syn keyword cssTagName figcaption mark summary command datalist details output
+syn keyword cssTagName progress meter time embed keygen wbr audio video canvas
+
syn match cssTagName "@page\>" nextgroup=cssDefinition
syn match cssSelectorOp "[+>.]"