diff --git a/ivette/README.md b/ivette/README.md index 1c38042881e4dbf21e7724a716159cec0a8ae78b..6e081c72571698b8696ce7ac1f9bcfe3809f05d6 100644 --- a/ivette/README.md +++ b/ivette/README.md @@ -10,7 +10,8 @@ $ make app Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages which are all available with MELPA. For configuring your `.emacs` accordingly, -please look at the `EMACS.el`. This setup the Tide package to work with +please look at the `share/typescript-config.el` file. +This setup the Tide package to work with `typescript-mode` for `*.ts` files (see also `tsfmt.json` config file) and `web-mode` for `*.tsx` files. diff --git a/ivette/EMACS.el b/ivette/share/typescript-config.el similarity index 94% rename from ivette/EMACS.el rename to ivette/share/typescript-config.el index 0b474609b3cc917db56eca077d665273f2121952..bac505c7d20ee59d0a05090fc42aa6ec7f959c30 100644 --- a/ivette/EMACS.el +++ b/ivette/share/typescript-config.el @@ -18,8 +18,7 @@ (defun setup-txs-mode () (interactive) - (when (string-equal "tsx" - (file-name-extension buffer-file-name)) + (when (string-equal "tsx" (file-name-extension buffer-file-name)) (setup-tide-mode))) ;; aligns annotation to the right hand side