We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b0a05 commit 6217a92Copy full SHA for 6217a92
src/features/linter-provider.ts
@@ -275,7 +275,7 @@ export class FortranLintingProvider {
275
// gfortran and flang have compiler flags for restricting the width of
276
// the code.
277
// You can always override by passing in the correct args as extraArgs
278
- if (compiler !== 'ifort' && compiler !== 'ifx') {
+ if (compiler === 'gfortran') {
279
const ln: number = config.get('fortls.maxLineLength');
280
const lnStr: string = ln === -1 ? 'none' : ln.toString();
281
args.push(`-ffree-line-length-${lnStr}`, `-ffixed-line-length-${lnStr}`);
0 commit comments