summaryrefslogtreecommitdiff
path: root/doc/ale-fortran.txt
blob: c9b7e8e2dc99794c4cae5eaff8b755f0b4db844b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
===============================================================================
ALE Fortran Integration                                   *ale-fortran-options*


===============================================================================
gcc                                                           *ale-fortran-gcc*

g:ale_fortran_gcc_executable                     *g:ale_fortran_gcc_executable*
                                                 *b:ale_fortran_gcc_executable*
  Type: |String|
  Default: `'gcc'`

  This variable can be changed to modify the executable used for checking
  Fortran code with GCC.


g:ale_fortran_gcc_options                           *g:ale_fortran_gcc_options*
                                                    *b:ale_fortran_gcc_options*
  Type: |String|
  Default: `'-Wall'`

  This variable can be changed to modify flags given to gcc.


g:ale_fortran_gcc_use_free_form               *g:ale_fortran_gcc_use_free_form*
                                              *b:ale_fortran_gcc_use_free_form*
  Type: |Number|
  Default: `1`

  When set to `1`, the `-ffree-form` flag will be used for GCC, to check files
  with the free form layout. When set to `0`, `-ffixed-form` will be used
  instead, for checking files with fixed form layouts.


===============================================================================
language_server                                    *ale-fortran-language-server*

g:ale_fortran_language_server_executable  *g:ale_fortran_language_server_executable*
                                         *b:ale_fortran_language_server_executable*
  Type: |String|
  Default: `'fortls'`

  This variable can be changed to modify the executable used for the Fortran
  Language Server.

g:ale_fortran_language_server_use_global  *g:ale_fortran_language_server_use_global*
                                         *b:ale_fortran_language_server_use_global*
  Type: |Number|
  Default: `get(g:, 'ale_use_global_executables', 0)`

  See |ale-integrations-local-executables|


===============================================================================
  vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: