Add more information regarding `tern` on windows

This commit is contained in:
Fabien Dubosson 2016-04-28 15:58:12 +02:00
parent a03aff8fa1
commit a63bf2ab13
1 changed files with 4 additions and 3 deletions

View File

@ -68,11 +68,12 @@ layer, as detailed in [[file:../../../doc/DOCUMENTATION.org::Setting%20configura
#+END_SRC
Windows users may need to set the variable =tern-command= in order for emacs to
locate and launch tern server successfully. See [[https://github.com/ternjs/tern/issues/256#issuecomment-141531735][this open issue for more
details]]:
locate and launch tern server successfully. See [[https://github.com/syl20bnr/spacemacs/issues/5733][this open issue for more
details]]. The variable can be set when adding the =javascript= configuration
layer:
#+BEGIN_SRC emacs-lisp
(setq tern-command '("node" "/path/to/tern/bin/tern"))
(javascript :variables tern-command '("node" "/path/to/tern/bin/tern"))
#+END_SRC
** Indentation