Thanks very much for the information, elextr. I doubt I'd be up to the job of writing a suitable plugin, unfortunately.
On 13 January 2017 at 12:38, elextr <notificati...@github.com> wrote: > The current autoindent is not really language specific, its based solely on > braces, and language only comes into it for skipping braces in comments and > strings and other non-code places when finding the open brace to match the > close brace indent to. It does not understand the languages beyond that. > > Adding a language specific indentation based on the keywords and constructs > of that language is something considerably more complex and should not be > built into Geany, but be part of a plugin for the language. Unfortunately at > the moment it would be difficult to interface such a plugin to Geany though > might be possible if somebody was clever enough :) > > Pull requests are welcome. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or mute the thread. -- Lionel Barnett, D.Phil. Research Fellow Sackler Centre for Consciousness Science Department of Informatics, University of Sussex http://users.sussex.ac.uk/~lionelb/ http://www.sussex.ac.uk/sackler/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1365#issuecomment-272448211