spacemacs/layers/+tools/tide/packages.el
Thanh Vuong 97724081bc
Tide layer
Allows use of standalone typescript server for js/ts development
Co-Authored-By: Maximilian Wolff <smile13241324@gmail.com>
2020-03-08 12:29:04 +01:00

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)))