[TxMt] turning off auto formatting
dvlogic
dvlogic at gmail.com
Sat Oct 27 17:17:20 UTC 2007
You can use the matlab bundle from the SVN repository. Octave is mostly
compatible with the matlab syntax.
On a similar topic - is there a way to get TextMate to select the language
based on a where in the directory structure a file is loaded?
Matlab/Octave files typically have extensions of ".m" which is the same
extension for objective-c. I would like to set the language to "Matlab"
when the path contains a matlab directory (example /somedir/matlab/foo.m)
otherwise, just set the language to objective-c. As I remember from my
emacs days, I had a load hook that was able to make that kind of decision.
Ciarán Walsh-3 wrote:
>
>
> On 26 Oct 2007, at 01:07, DushanM wrote:
>
>> I'm using TextMate to write some script files for the computational
>> program Octave. These are text files, but TextMate insists on adding
>> formatting that I don't want. How do I turn this automatic formatting
>> off?
>
> What kind of formatting are you talking about? Perhaps you mean
> indentation? You should make sure you have the language set to Plain
> Text by using the popup menu on the bottom of the window.
>
> Even better, of course, would be to write a grammar for Octave ;)
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
--
View this message in context: http://www.nabble.com/turning-off-auto-formatting-tf4695366.html#a13430609
Sent from the textmate users mailing list archive at Nabble.com.
More information about the textmate
mailing list