diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2014-12-10 16:40:10 +0100 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2014-12-10 16:40:10 +0100 |
| commit | c1eeaa6484693bdc7f50d3c5d55fe24c30e532a1 (patch) | |
| tree | b11c199e05cd00478942f4d22325c8c3b9cf0c14 /kte/global.kateconfig | |
| parent | fccc5e73a5037de413254b27f6fca72660d96e60 (diff) | |
| download | dotfiles-c1eeaa6484693bdc7f50d3c5d55fe24c30e532a1.tar.gz dotfiles-c1eeaa6484693bdc7f50d3c5d55fe24c30e532a1.zip | |
kte: added .kateconfig files.
Diffstat (limited to 'kte/global.kateconfig')
| -rw-r--r-- | kte/global.kateconfig | 14 |
1 files changed, 14 insertions, 0 deletions
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). + |
