Skip to content

Commit

Permalink
Merge pull request #2 from rnikoopour/addingGolang
Browse files Browse the repository at this point in the history
Added golang support into default client
  • Loading branch information
rnikoopour committed Feb 10, 2020
2 parents b8bd248 + 5d29a3e commit 4488902
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ RUN ./coursier bootstrap \

# GO
RUN go get -u golang.org/x/tools/cmd/gopls
ENV PATH="/root/go/bin:${PATH}"

# ruby
RUN gem install solargraph
Expand Down
10 changes: 10 additions & 0 deletions lsp-docker.el
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@
:path-mappings path-mappings
:launch-server-cmd-fn #'lsp-docker-launch-new-container)

(lsp-docker-register-client
:server-id 'gopls
:priority priority
:docker-server-id 'gopls-docker
:docker-image-id docker-image-id
:docker-container-name docker-container-name
:server-command "gopls"
:path-mappings path-mappings
:launch-server-cmd-fn #'lsp-docker-launch-new-container)

(lsp-docker-register-client
:server-id 'pyls
:priority priority
Expand Down

0 comments on commit 4488902

Please sign in to comment.