This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/tide/packages.el
2020-11-25 09:17:27 +01:00

22 lines
607 B
EmacsLisp

;;; packages.el --- Tide Layer packages file for Spacemacs. -*- lexical-binding: t -*-
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Thanh Vuong <thanhvg@gmail.com>
;; URL: https://github.com/thanhvg
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(defconst tide-packages
'(tide)
"The list of Lisp packages required by the tide layer.")
(defun tide/init-tide ()
(use-package tide
:defer t
:commands (typescript/jump-to-type-def)
:config
(spacemacs//tide-setup-bindings)
(add-hook 'tide-mode-hook #'spacemacs//tide-setup-jump-handle)))