~heckyel/emacs-personal

3eba90ddd7486d7cba6328141b0078d886d9b6de — Jesús 2 years ago 19707ef
hotfix lsp
1 files changed, 18 insertions(+), 6 deletions(-)

M modules/init-linter.el
M modules/init-linter.el => modules/init-linter.el +18 -6
@@ 6,16 6,28 @@
;;---------------------------
;; Lsp Mode
;;---------------------------
(use-package lsp-mode
  :config
  (add-hook 'lsp-mode-hook #'lsp-enable-which-key-integration)
  (add-hook 'prog-mode-hook #'lsp))

(use-package lsp-treemacs
  :config
  (lsp-treemacs-sync-mode 1))

(use-package lsp-ui)
(use-package lsp-mode
  :pin "MELPA"
  :hook ((js2-mode . lsp)
         (typescript-mode . lsp)
         (lsp-mode . lsp-enable-which-key-integration))
  :custom
  (lsp-clients-angular-language-server-command
   '("node"
     (concat "~" "/virtualenvs/ndjs/lib/node_modules/@angular/language-server")
     "--ngProbeLocations"
     (concat "~" "virtualenvs/ndjs/lib/node_modules")
     "--tsProbeLocations"
     (concat "~" "virtualenvs/ndjs/lib/node_modules")
     "--stdio"))
  )

;; require install
;; npm install -g @angular/language-service@next typescript @angular/language-server

(use-package dap-mode)