lsp-julia 启动失败

using Pkg
~/.j/e/v1.5 ❯❯❯ ls
Manifest.toml  Project.toml
~/.j/e/v1.5 ❯❯❯ pwd
~/.j/e/v1.5 ❯❯❯ cat Project.toml 
LanguageServer = "2b0e0bc5-e4fd-59b4-8912-456d1b03d8d7"
~/.j/e/v1.5 ❯❯❯ 

;; LSP mode
(use-package lsp-mode
  :hook ((go-mode . lsp-deferred)
         (typescript-mode . lsp-deferred)
         (rustic-mode . lsp-deferred)
         (julia-mode . lsp-deferred)))
(use-package lsp-julia)
(setq lsp-julia-package-dir nil)
(setq lsp-julia-default-environment "~/.julia/environments/v1.5")
(add-hook 'ess-julia-mode-hook #'lsp-mode)
julia-mode                     20200917.713   dependency    
lsp-julia                      20200912.1106  installed             Julia support for lsp-mode


LSP :: There are no language servers supporting current mode `julia-mode' registered with `lsp-mode'.
This issue might be caused by:
1. The language you are trying to use does not have built-in support in `lsp-mode'. You must install the required support manually. Examples of this are `lsp-java' or `lsp-metals'.
2. The language server that you expect to run is not configured to run for major mode `julia-mode'. You may check that by checking the `:major-modes' that are passed to `lsp-register-client'.
3. `lsp-mode' doesn't have any integration for the language behind `julia-mode'. Refer to and .

应该是没有安装julia的lsp服务,julia我没用过,比如python除了安装lsp-mode 或者 lsp-pyright还应:apt install pyls 或者 npm install pyright的服务程序是同样道理!


没有load lsp-julia? (require 'lsp-julia)


(use-package lsp-julia
     :hook (julia-mode . (lambda () (require 'lsp-julia))))

可以了 :pray: