blob: 2ba6fee590bc858fb314efdf8aa3707a27777a81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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).
|