Skip to content

Added linting support for ldc2 and gdc compilers#3892

Merged
JoeKar merged 2 commits intomicro-editor:masterfrom
kodesettings:master
Oct 21, 2025
Merged

Added linting support for ldc2 and gdc compilers#3892
JoeKar merged 2 commits intomicro-editor:masterfrom
kodesettings:master

Conversation

@kodesettings
Copy link
Contributor

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.

Copy link
Contributor

@Andriamanitra Andriamanitra left a comment

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.

ldc2 arguments have been updated for linter

Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
Copy link
Member

@JoeKar JoeKar left a comment

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.

@JoeKar JoeKar merged commit ccf0a9f into micro-editor:master Oct 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants