From c4f047dd68794ede5003599e9028f9cdf2ca1385 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 16 Jul 2018 23:26:16 -0300 Subject: Configure typescript-mode for tsx files --- spacemacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spacemacs.el') diff --git a/spacemacs.el b/spacemacs.el index 098c847..8895cae 100644 --- a/spacemacs.el +++ b/spacemacs.el @@ -612,7 +612,8 @@ This is the place where most of your configurations should be done. Unless it is (add-hook 'hack-local-variables-hook (lambda () (spacemacs/toggle-truncate-lines-off))) - (dolist (mode-pair '(("\\.json\\.base$" . json-mode))) + (dolist (mode-pair '(("\\.tsx?$" . typescript-mode) + ("\\.json\\.base$" . json-mode))) (setq auto-mode-alist (cons mode-pair auto-mode-alist))) (dolist (path custom-el-files) @@ -648,7 +649,6 @@ This is the place where most of your configurations should be done. Unless it is default-truncate-lines nil magit-diff-refine-hunk t ispell-program-name "aspell" - TeX-view-program-selection '((output-pdf "Zathura")) ;; Indentation typescript-indent-level 2 -- cgit v1.2.3