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/config.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

35 lines
1,014 B
EmacsLisp

;;; config.el --- Tide Layer config 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
;; variables
(defvar tide-managed-modes '(
;; typescript-mode
;; typescript-tsx-mode
;; js2-mode
;; js-mode
;; rjsx-mode
)
"List of major modes that `tide layer` can manage.
Client layers must add its major-mode to this list")
(defvar tide-jsconfig-content
"{\n\
\"compilerOptions\": {\n\
\"target\": \"es2017\",\n\
\"allowSyntheticDefaultImports\": true,\n\
\"noEmit\": true,\n\
\"checkJs\": true,\n\
\"jsx\": \"react\",\n\
\"lib\": [ \"dom\", \"es2017\" ]\n\
}\n\
}"
"Content of jsconfig.json file.")