Re: [textadept] Request: Remove tab settings from language modules

From: mitchell <>
Date: Wed, 2 Nov 2011 10:38:16 -0400 (EDT)

Hi Brian,

On Tue, 1 Nov 2011, Brian Schott wrote:

> Some of the language add-on modules contain settings for indentation
> (tabs vs. spaces and indent size). These override any user settings in
> ~/.textadept/init.lua, thereby changing how the editor operates in a
> way that I think is unexpected from a language module.
> I noticed this primarily with the Java module, as it removes the
> feature of removing trailing whitespace and also resets my
> indentation. Tabs are the superior indentation unit (I SHALL NOT BE
> PERSUADED OTHERWISE, HEATHENS!), but at work I need to follow the
> guidelines of no trailing whitespace and 4-space indentation (as
> recommended by the (poorly-worded) Java code conventions
> Whenever I upgrade or reinstall TA I end up forgetting to remove this
> from the Java module and manage to stupidly check in files with the
> wrong whitespace settings. I could override the override in my
> post_init.lua, but why should I have to?
> Summary: Leave set_buffer_properties empty in language modules,
> please. Other than that, they're awesome.

Java language module changes committed to its hg.

Received on Wed 02 Nov 2011 - 10:38:16 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:24:33 EST