diff options
author | Horacio Sanson <horacio@allm.net> | 2018-08-30 11:39:03 +0900 |
---|---|---|
committer | Horacio Sanson <horacio@allm.net> | 2018-09-06 13:46:59 +0900 |
commit | a9333c2866ad604ef5b8523af7fb1fce10057833 (patch) | |
tree | 9c8d51ccbd6282d27e503690a02153a1f9969a25 /doc | |
parent | d476578a402763f2c6e4e0ada2eb345d0ac938d7 (diff) | |
download | ale-a9333c2866ad604ef5b8523af7fb1fce10057833.zip |
Fix #1822 - support go-langserver lsp.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-go.txt | 22 | ||||
-rw-r--r-- | doc/ale.txt | 3 |
2 files changed, 23 insertions, 2 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: diff --git a/doc/ale.txt b/doc/ale.txt index 4334510f..da7abcf1 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -95,6 +95,7 @@ CONTENTS *ale-contents* govet...............................|ale-go-govet| gometalinter........................|ale-go-gometalinter| staticcheck.........................|ale-go-staticcheck| + golangserver........................|ale-go-golangserver| graphql...............................|ale-graphql-options| eslint..............................|ale-graphql-eslint| gqlint..............................|ale-graphql-gqlint| @@ -384,7 +385,7 @@ Notes: * FusionScript: `fusion-lint` * Git Commit Messages: `gitlint` * GLSL: glslang, `glslls` -* Go: `gofmt`, `goimports`, `go vet`!!, `golint`, `gotype`!!, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!! +* Go: `gofmt`, `goimports`, `go vet`!!, `golint`, `gotype`!!, `gometalinter`!!, `go build`!!, `gosimple`!!, `staticcheck`!!, `golangserver` * GraphQL: `eslint`, `gqlint`, `prettier` * Hack: `hack`, `hackfmt`, `hhast` * Haml: `haml-lint` |