24 lines
615 B
EmacsLisp
24 lines
615 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-prefix)
|
||
|
(spacemacs//tide-setup-bindings)
|
||
|
(spacemacs//tide-setup-jump-handle)))
|