more selective editorconfig

- only apply config to C and D source files
Merge pull request #2159 from MartinNowak/editorconfig

more selective editorconfig