This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax include @javaScriptE4X syntax/xml.vim | |
syntax region javaScriptE4XEmbedded matchgroup=javaScriptBraces start='{' end='}' contains=TOP,javaScriptE4X contained | |
syntax cluster xmlStartTagHook add=javaScriptE4XEmbedded | |
syntax cluster xmlRegionHook add=javaScriptE4XEmbedded | |
syntax cluster xmlTagHook add=javaScriptE4XEmbedded | |
syn region javaScriptE4X | |
\ start=@<\z(>\|\w[^ /!?<>"']*\)@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name emblur | |
// @desc Unfocuses <embed>/<object> on focus. | |
// @help Hold shift/ctrl to turn off temporarily. | |
// @include main | |
// @author satyr | |
// @license X | |
// ==/UserScript== | |
function emblur(e){ | |
switch(e.type){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim syntax file | |
" Language: HTML (version 5) | |
" Maintainer: Rodrigo Machado <[email protected]> | |
" URL: http://gist.github.com/256840 | |
" Last Change: 2010 Aug 26 | |
" License: Public domain | |
" (but let me know if you liked it :) ) | |
" | |
" Note: This file just adds the new tags from HTML 5 | |
" and don't replace default html.vim syntax file |
NewerOlder