aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-07-16 23:26:16 -0300
committerEuAndreh <eu@euandre.org>2018-07-16 23:26:16 -0300
commitc4f047dd68794ede5003599e9028f9cdf2ca1385 (patch)
tree8de63fb8e3242401b78054b7b3f2c99a7b7f135f
parentInstall git-ssb tools (diff)
downloaddotfiles-c4f047dd68794ede5003599e9028f9cdf2ca1385.tar.gz
dotfiles-c4f047dd68794ede5003599e9028f9cdf2ca1385.tar.xz
Configure typescript-mode for tsx files
-rw-r--r--spacemacs.el4
1 files changed, 2 insertions, 2 deletions
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