mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-02 16:33:45 +08:00
Add documentation and testing for fortls
This commit is contained in:
1 parent
324838adae
commit
e8bea510df
4 files changed
+43
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('fortran', 'language_server')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The default executable path should be correct):
|
||||
AssertLinter 'fortls', ale#Escape('fortls')
|
||||
|
||||
Execute(The project root should be detected correctly):
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('fortran-fortls-project/test.F90')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/fortran-fortls-project')
|
||||
|
||||
Execute(The language should be correct):
|
||||
AssertLSPLanguage 'fortran'
|
||||
Reference in new issue
Block a user