Skip to content

Commit 57956b3

Browse files
author
Daniel Trinh
committed
Merge branch 'master' of github.com:daniel-trinh/scalariform
2 parents a6d9d3c + 0a7def1 commit 57956b3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ If ``true``, then::
163163
favoriteColor: java.awt.Color
164164
)
165165

166-
This will also place the "implicit" keyword in parameters on it's own line, whenever
166+
This will also place the "implicit" keyword in parameters on its own line, whenever
167167
the parameter being formatted contains a newline::
168168

169169
For example, if ``false``, then::
@@ -189,14 +189,14 @@ alignArguments
189189

190190
Default: ``false``
191191

192-
Aligns mult-line arguments
192+
Aligns multi-line arguments
193193

194194
For example, if ``false``, then::
195195

196196
Cake(candles = 10,
197197
frostingFlavor = Vanilla,
198198
layerFlavor = Chocolate,
199-
icecream = true
199+
iceCream = true
200200
)
201201

202202
If ``true``, then::
@@ -205,7 +205,7 @@ If ``true``, then::
205205
candles = 10,
206206
frostingFlavor = Vanilla,
207207
layerFlavor = Chocolate,
208-
icecream = true
208+
iceCream = true
209209
)
210210

211211
This option is disabled if ``indentWithTabs`` is ``true``.
@@ -288,7 +288,7 @@ compactStringConcatenation
288288

289289
Default: ``false``
290290

291-
Omit spaces when formatting a '+' operator on String literals. For example, If ``false``, then::
291+
Omit spaces when formatting a '+' operator on String literals. For example, if ``false``, then::
292292

293293
"Hello " + name + "!"
294294

@@ -477,7 +477,7 @@ spaceBeforeColon
477477

478478
Default: ``false``
479479

480-
Whether to ensure a space before colon. For example, If ``false``, then::
480+
Whether to ensure a space before colon. For example, if ``false``, then::
481481

482482
def add(a: Int, b: Int): Int = a + b
483483

@@ -529,7 +529,7 @@ spacesAroundMultiImports
529529

530530
Default: ``true``
531531

532-
Whether or not to add spaces around mutli-imports. For example, If ``true``, then::
532+
Whether or not to add spaces around multi-imports. For example, if ``true``, then::
533533

534534
import a.{ b, c, d }
535535

@@ -542,7 +542,7 @@ Scala Style Guide
542542

543543
Scalariform is compatible with the `Scala Style Guide`_ in the sense
544544
that, given the right preference settings, source code that is
545-
initially compiliant with the Style Guide will not become uncompliant
545+
initially compliant with the Style Guide will not become uncompliant
546546
after formatting. In a number of cases, running the formatter will
547547
make uncompliant source more compliant.
548548

@@ -561,7 +561,7 @@ spaceInsideBrackets ``false``
561561
spaceInsideParentheses ``false``
562562
============================ ========= =========
563563

564-
Source directives
564+
Source Directives
565565
-----------------
566566

567567
As well as global preferences, formatting can be tweaked at the source level through comments.
@@ -600,7 +600,7 @@ Disables the formatter for selective portions of a source file::
600600
format: [+|-]<preferenceName>
601601
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
602602

603-
Sets a preference for the entire of the source file, overriding the global formatting settings::
603+
Sets a preference for the entirety of the source file, overriding the global formatting settings::
604604

605605
// format: +preserveSpaceBeforeArguments
606606
class StackSpec extends FlatSpec with ShouldMatchers {

0 commit comments

Comments
 (0)