From bef1295094d298f97cf2eb047e2c02887ee2727f Mon Sep 17 00:00:00 2001 From: Eivind Fonn Date: Mon, 25 Jul 2016 14:11:17 +0900 Subject: [PATCH] Scala: README line lengths --- layers/+lang/scala/README.org | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/layers/+lang/scala/README.org b/layers/+lang/scala/README.org index 1a83b4b80..989afcdaa 100644 --- a/layers/+lang/scala/README.org +++ b/layers/+lang/scala/README.org @@ -72,14 +72,17 @@ To use scalastyle, 1. Download the [[http://www.scalastyle.org/#download][scalastyle jar]] and put it somewhere sensible - If you are a brew user in OSX you can do: =brew install scalastyle= -2. Customise the =flycheck-scalastyle-jar= and =flycheck-scalastylerc= variables in your =dotspacemacs/user-config= - i.e.: -#+BEGIN_SRC - (setq flycheck-scalastyle-jar "/usr/local/Cellar/scalastyle/0.8.0/libexec/scalastyle_2.11-0.8.0-batch.jar") - (setq flycheck-scalastylerc "/usr/local/etc/scalastyle_config.xml") +2. Customise the =flycheck-scalastyle-jar= and =flycheck-scalastylerc= variables + in your =dotspacemacs/user-config= i.e.: +#+BEGIN_SRC emacs-lisp + (setq flycheck-scalastyle-jar + "/usr/local/Cellar/scalastyle/0.8.0/libexec/scalastyle_2.11-0.8.0-batch.jar") + (setq flycheck-scalastylerc + "/usr/local/etc/scalastyle_config.xml") #+END_SRC -See the [[http://www.flycheck.org/en/latest/languages.html?highlight=scala#syntax-checker-scala-scalastyle][flycheck documentation]] and [[http://www.scalastyle.org/configuration.html][scalastyle configuration]] for up-to-date configuration instructions. +See the [[http://www.flycheck.org/en/latest/languages.html?highlight=scala#syntax-checker-scala-scalastyle][flycheck documentation]] and [[http://www.scalastyle.org/configuration.html][scalastyle configuration]] for up-to-date +configuration instructions. ** Use Java doc-style To enable =java-doc-style=, set the variable =scala-indent:use-javadoc-style= to =t=