emacs-lsp/lsp-docker

Sample configuration for `lsp-docker-client-configs` is wrong.

hotoku opened this issue · 0 comments

In the README.org, the following snippet is offered as sample configuration for lsp-docker-client-configs.

      (setq lsp-docker-client-configs
          '((:server-id 'bash-ls :docker-server-id 'bashls-docker :server-command "bash-language-server start")
            (:server-id 'clangd :docker-server-id 'clangd-docker :server-command "clangd")
            (:server-id 'css-ls :docker-server-id 'cssls-docker :server-command "css-languageserver --stdio")
            (:server-id 'dockerfile-ls :docker-server-id 'dockerfilels-docker :server-command "docker-langserver --stdio")
            (:server-id 'gopls :docker-server-id 'gopls-docker :server-command "gopls")
            (:server-id 'html-ls :docker-server-id 'htmls-docker :server-command "html-languageserver --stdio")
            (:server-id 'pyls :docker-server-id 'pyls-docker :server-command "pyls")
            (:server-id 'ts-ls :docker-server-id 'tsls-docker :server-command "typescript-language-server --stdio")))

In this code, quote ' is duplicated. I think it should be as following

      (setq lsp-docker-client-configs
          '((:server-id bash-ls :docker-server-id bashls-docker :server-command "bash-language-server start")
            (:server-id clangd :docker-server-id clangd-docker :server-command "clangd")
            (:server-id css-ls :docker-server-id cssls-docker :server-command "css-languageserver --stdio")
            (:server-id dockerfile-ls :docker-server-id dockerfilels-docker :server-command "docker-langserver --stdio")
            (:server-id gopls :docker-server-id gopls-docker :server-command "gopls")
            (:server-id html-ls :docker-server-id htmls-docker :server-command "html-languageserver --stdio")
            (:server-id pyls :docker-server-id pyls-docker :server-command "pyls")
            (:server-id ts-ls :docker-server-id tsls-docker :server-command "typescript-language-server --stdio")))

Note the changes like :server-id 'bash-ls -> :server-id bash-ls and :docker-server-id 'bashls-docker -> :docker-server-id bashls-docker, and so on.