diff --git a/layers/+lang/typescript/README.org b/layers/+lang/typescript/README.org index d86975394079..218b1d0c4848 100644 --- a/layers/+lang/typescript/README.org +++ b/layers/+lang/typescript/README.org @@ -72,6 +72,9 @@ You can choose either tslint (default) or eslint for linting: typescript-linter 'tslint))) #+END_SRC +Please be advised that tslint is now deprecated, and should only be used for +legacy projects. [[https://github.com/palantir/tslint#tslint][See TSLint Repo for more]]. + ** Pre-requisites You will need =node.js v0.12.0= or greater. diff --git a/layers/+tools/lsp/packages.el b/layers/+tools/lsp/packages.el index 3ebe3b2f929d..acfd5ebd326f 100644 --- a/layers/+tools/lsp/packages.el +++ b/layers/+tools/lsp/packages.el @@ -49,6 +49,8 @@ (spacemacs/lsp-bind-upstream-keys) (spacemacs/lsp-bind-keys)) (setq lsp-prefer-capf t) + ;; This sets the lsp indentation for all modes derived from web-mode. + (add-to-list 'lsp--formatting-indent-alist '(web-mode . web-mode-markup-indent-offset)) (add-hook 'lsp-after-open-hook (lambda () "Setup xref jump handler" (spacemacs//setup-lsp-jump-handler))))))