This is probably old news to everyone, but the scope of the quote toggle did not include source. At least in my version of the bundle, it just had string.quoted.double, string.quoted.single. If the quotes were included in the selection, then the scope devolved to text.html.basic, source.php.embedded.block.html (my file type is set to html). I added 'source' to the scope list and this fixed the "problem". I figure toggling quotes is useful in any source location.
On 30 Jun 2009, at 01:02, brad tittle wrote:
This is probably old news to everyone, but the scope of the quote toggle did not include source. [...] I added 'source' to the scope list and this fixed the "problem". I figure toggling quotes is useful in any source location.
The command is intended to be used without a selection, as it will work on the current scope, which is string.quoted.*.
By adding “source” to the scope selector you break it for when there is no selection (as it will then receive the entire source as stdin).