Added linting support for ldc2 and gdc compilers by kodesettings · Pull Request #3892 · micro-editor/micro (original) (raw)

@kodesettings

Added support for additional compilers to the linter plugin for dlang. Reasoning: most of the unix distributions aren't shipping the reference compiler, but the various compiler front-ends like ldc2 and gdc.

@kodesettings

Andriamanitra

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some issues with the ldc2 configuration. I didn't try gdc but I assume it's fine because it's similar to gcc.

@kodesettings @Andriamanitra

ldc2 arguments have been updated for linter

Co-authored-by: Mikko Andriamanitra@users.noreply.github.com

Andriamanitra

JoeKar

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested from my side, but looks good.
We can give it a shot.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})