[TxMt] Re: syntax coloring and shortcuts in html files

Colin Sproule colinsproule at gmail.com
Fri Jan 9 18:51:05 UTC 2009


Aha! Textmate was trying to use it as a diff. Thanks so much, not sure how I
missed that.
-Colin

On Fri, Jan 9, 2009 at 11:44 AM, Daniel Stockman
<daniel.stockman at gmail.com>wrote:

> > I am finding that Textmate will not color the syntax in my html
> > document, nor will it allow me to use any of the html bundle
> > keyboard shortcuts or even auto indent properly. If I save the exact
> > same file as a php document then I instantly get all these features
> > back.
> >
> > Why is this happening? Is it possible to get proper html handling
> > within an html document?
>
> Double-check if the language for .html files is HTML (next to the line/
> column count in the status bar, or ⌃⌥⇧H). This is the default
> behaviour for .html files, and would only break if you changed
> something. If that didn't work, try reverting to the default
> bundles[1]. PHP "is" HTML, or at least the scopes are largely
> overlapping.
>
> [1]: http://wiki.macromates.com/Troubleshooting/RevertToDefaultBundles
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090109/d72b36ed/attachment.html>


More information about the textmate mailing list