Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript minor improvements #15920

Merged
merged 2 commits into from
Feb 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions layers/+lang/typescript/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions layers/+tools/lsp/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))))
Expand Down