more selective editorconfig

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

more selective editorconfig