Add support for fortitude (fortran linter) #5004

* add support for fortitude fortran linter
* add fortitude fortran linter doc
* Add a fortitude linter test file
* docs listings are now alphabetically sorted

Co-Authored-By: gomfol12 <info@marekb.de>
This commit is contained in:
w0rp
2025-08-13 15:24:35 +01:00
parent 7df94447c1
commit 29f1ff2579
7 changed files with 148 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
Before:
call ale#assert#SetUpLinterTest('fortran', 'fortitude')
After:
call ale#assert#TearDownLinterTest()
Execute(The default fortitude command should be correct):
AssertLinter 'fortitude', ale#Escape('fortitude')
\ . ' check --output-format json %s'
Execute(fortitude should be configurable):
let b:ale_fortran_fortitude_executable = 'custom-exe'
let b:ale_fortran_fortitude_options = '--foobar'
AssertLinter 'custom-exe', ale#Escape('custom-exe')
\ . ' check --output-format json --foobar %s'