Link to official docs for setting config variables in JS layer readme

This commit is contained in:
Balaji Sivaraman 2016-01-16 19:05:07 +05:30 committed by syl20bnr
parent ab109b1eb2
commit f63a2f4315
1 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,7 @@ This layer adds support for the JavaScript language using [[https://github.com/m
- CoffeeScript support
- Formatting with [[https://github.com/yasuyk/web-beautify][web-beautify]]
- Get the path to a JSON value with [[https://github.com/Sterlingg/json-snatcher][json-snatcher]]
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =javascript= to the existing =dotspacemacs-configuration-layers= list in this
@ -56,6 +56,9 @@ To make tern re-use the server across multiple different editing sessions (thus
creating multiple =.tern-port= files for each document you have open [[http://ternjs.net/doc/manual.html][see here
for more details]]):
The variables provided below can be set when adding the =javascript= configuration
layer, as detailed in [[file:../../../doc/DOCUMENTATION.org::Setting%20configuration%20layers%20variables][this]] section of the documentation.
#+BEGIN_SRC emacs-lisp
(javascript :variables javascript-disable-tern-port-files nil)
#+END_SRC