Skip to content
Snippets Groups Projects
Commit a440eb16 authored by Loïc Correnson's avatar Loïc Correnson Committed by Michele Alberti
Browse files

[ivette] moving emacs config to share

parent 80321daa
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,8 @@ $ make app ...@@ -10,7 +10,8 @@ $ make app
Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages
which are all available with MELPA. For configuring your `.emacs` accordingly, 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) `typescript-mode` for `*.ts` files (see also `tsfmt.json` config file)
and `web-mode` for `*.tsx` files. and `web-mode` for `*.tsx` files.
......
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
(defun setup-txs-mode () (defun setup-txs-mode ()
(interactive) (interactive)
(when (string-equal "tsx" (when (string-equal "tsx" (file-name-extension buffer-file-name))
(file-name-extension buffer-file-name))
(setup-tide-mode))) (setup-tide-mode)))
;; aligns annotation to the right hand side ;; aligns annotation to the right hand side
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment