[TxMt] How to include private additions to syntax coloring?
Charilaos Skiadas
skiadas at hanover.edu
Sat Dec 23 03:19:40 UTC 2006
On Dec 22, 2006, at 7:01 PM, Holger Frauenrath wrote:
> 1. What are possible ways to make this file take precedence over
> the original LaTeX language file? So far, I have changed it
> manually in the language selection at the bottom of the editor
> window. Is there an automatic way? I guess that I could also remove
> the above to lines from the original LaTeX language file ... but if
> I am not mistaken, these changes would mean that future updates to
> the LaTeX file will be ignored. Is that correct?
>
When you manually set the language for a file with a particular
extension, TextMate remembers that setting for all files with that
extension. So once you set it to your language, you shouldn't have to
worry about it again.
> 2. Which brought up another question for me. Let's assume I made
> changes to one of the supplied language files. Is there a way to
> "revert" those changes so that the language file is *for sure* the
> original one (so that updates are not going to be ignored), without
> loosing other changes (new cammands etc.) to the associated bundle?
The changes are saved in ~/Library/Application Support/TextMate/
Bundles/Latex.tmbundle/...
Just find the corresponding file there, for the particular command
you want to revert, and remove it.
> Thanks
> Holger
>
Haris
More information about the textmate
mailing list