]> git.madduck.net Git - etc/vim.git/blob - doc/ale-racket.txt

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Squashed '.vim/bundle/ale/' content from commit 22185c4c
[etc/vim.git] / doc / ale-racket.txt
1 ===============================================================================
2 ALE Racket Integration                                       *ale-racket-options*
3
4
5 ===============================================================================
6 racket_langserver                                         *ale-racket-langserver*
7
8 1. Install racket-langserver as described here:
9    https://github.com/jeapostrophe/racket-langserver
10 2. Have `racket` available in the `$PATH` environment variable, currently there
11    is no way to specify path to custom location of `racket`.
12 3. set `racket_langserver` as a linter for `racket` like: >
13    let g:ale_linters['racket'] += ['racket_langserver']
14
15 You should be able to see linter results and use LSP features of `ALE` like
16 `ALEGoToDefinition` with `racket-langserver`.
17
18
19 ===============================================================================
20 raco_fmt                                                    *ale-racket-raco-fmt*
21
22                                        *ale-options.racket_raco_fmt_executable*
23                                              *g:ale_racket_raco_fmt_executable*
24                                                *b:ale_racket_raco_fmt_executable*
25 racket_raco_fmt_executable
26 g:ale_racket_raco_fmt_executable
27   Type: |String|
28   Default: `'raco'`
29
30   If the `raco` excutable is not in the `$PATH` environment variable, or you
31   prefer to use one installed in a custom location, set this option to the
32   path to the specific `raco` executable.
33
34                                           *ale-options.racket_raco_fmt_options*
35                                                 *g:ale_racket_raco_fmt_options*
36                                                   *b:ale_racket_raco_fmt_options*
37 racket_raco_fmt_options
38 g:ale_racket_raco_fmt_options
39   Type: |String|
40   Default: `''`
41
42   Use this variable to pass command-line flags/parameters to `raco_fmt`
43
44   For example, set the page width limit to 40 >
45   let g:ale_racket_raco_fmt_options = '--width 40'
46
47
48 ===============================================================================
49   vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: