summaryrefslogtreecommitdiff
path: root/doc/ale-go.txt
diff options
context:
space:
mode:
authorHoracio Sanson <horacio@allm.net>2018-08-30 11:39:03 +0900
committerHoracio Sanson <horacio@allm.net>2018-09-06 13:46:59 +0900
commita9333c2866ad604ef5b8523af7fb1fce10057833 (patch)
tree9c8d51ccbd6282d27e503690a02153a1f9969a25 /doc/ale-go.txt
parentd476578a402763f2c6e4e0ada2eb345d0ac938d7 (diff)
downloadale-a9333c2866ad604ef5b8523af7fb1fce10057833.zip
Fix #1822 - support go-langserver lsp.
Diffstat (limited to 'doc/ale-go.txt')
-rw-r--r--doc/ale-go.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt
index baf403b7..c97f599e 100644
--- a/doc/ale-go.txt
+++ b/doc/ale-go.txt
@@ -7,7 +7,7 @@ Integration Information
The `gometalinter` linter is disabled by default. ALE enables `gofmt`,
`golint` and `go vet` by default. It also supports `staticcheck`, `go
-build` and `gosimple`.
+build`, `gosimple`, and `golangserver`.
To enable `gometalinter`, update |g:ale_linters| as appropriate:
>
@@ -115,4 +115,24 @@ g:ale_go_staticcheck_lint_package *g:ale_go_staticcheck_lint_package*
===============================================================================
+golangserver *ale-go-golangserver*
+
+g:ale_go_langserver_executable *g:ale_go_langserver_executable*
+ *b:ale_go_langserver_executable*
+ Type: |String|
+ Default: `'go-langserver'`
+
+ Location of the go-langserver binary file.
+
+g:ale_go_langserver_options *g:ale_go_langserver_options*
+ *b:ale_go_langserver_options*
+ Type: |String|
+ Default: `''`
+
+ Additional options passed to the go-langserver command. Note that the
+ `-gocodecompletion` option is ignored because it is handled automatically
+ by the |g:ale_completion_enabled| variable.
+
+
+===============================================================================
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: