From c1eeaa6484693bdc7f50d3c5d55fe24c30e532a1 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Wed, 10 Dec 2014 16:40:10 +0100 Subject: kte: added .kateconfig files. --- kte/global.kateconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kte/global.kateconfig (limited to 'kte/global.kateconfig') diff --git a/kte/global.kateconfig b/kte/global.kateconfig new file mode 100644 index 0000000..2ba6fee --- /dev/null +++ b/kte/global.kateconfig @@ -0,0 +1,14 @@ + +// Tabs 4-spaces wide: C, C++, Bison, PHP and Go. +kate-mimetype(text/x-c++hdr;text/x-chdr;text/x-c++src;text/x-csrc): indent-width 4; remove-trailing-spaces modified; replace-tabs false; tab-indents true; tab-width 4; +kate-wildcard(*.y;*.yy): indent-width 4; remove-trailing-spaces modified; replace-tabs false; tab-indents true; tab-width 4; +kate-mimetype(text/x-php4-src;text/x-php3-src;text/vnd.wap.wml;application/x-php): indent-width 4; remove-trailing-spaces modified; replace-tabs false; tab-indents true; tab-width 4; +kate-wildcard(*.go): indent-width 4; remove-trailing-spaces modified; replace-tabs false; tab-indents true; tab-width 4; + +// 2 spaces, no tabs: Ruby & JS. +kate-mimetype(application/x-ruby): indent-width 2; remove-trailing-spaces modified; replace-tabs true; tab-indents true; tab-width 2; +kate-mimetype(text/x-javascript;application/x-javascript): indent-width 2; remove-trailing-spaces modified; replace-tabs true; tab-indents true; tab-width 2; + +// Any other language is set undefined. The style will be picked according to +// the defaults as given in the settings dialog (Editing -> Indentation). + -- cgit v1.2.3