emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scala-mode ca7308a 002/217: Initial commit with README and


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode ca7308a 002/217: Initial commit with README and Example.scala outlining how it will work
Date: Sun, 29 Aug 2021 11:30:32 -0400 (EDT)

branch: elpa/scala-mode
commit ca7308aca6978ffdf88c6d95cbaa5e49af6ee77b
Author: Heikki Vesalainen <heikkivesalainen@yahoo.com>
Commit: Heikki Vesalainen <heikkivesalainen@yahoo.com>

    Initial commit with README and Example.scala outlining how it will work
---
 Example.scala | 7 ++++---
 README        | 3 +++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Example.scala b/Example.scala
index 19b4859..7eb013c 100644
--- a/Example.scala
+++ b/Example.scala
@@ -1,3 +1,4 @@
+
 /*
 1. Indenting
 
@@ -11,14 +12,14 @@ Indenting happens relative to an indent anchor. Usually the 
indent anchor is the
 the declaration or expression is inside a parameter list, then the anchor is 
inside the list.
 */
 
-def f(s: String,
+def f(s: String <%,
       i: Int) = 
   s.take(i) // indented relative to 'def'
 
 /* */ val x = foo(
   zot, // indented relative to '/* */'
-  someThing
-     map (x => x.length) // indented relative to 'someThing'
+  someThing 
+     map (x=a===> x.length) // indented relative to 'someThing'
 )
 
 val x =
diff --git a/README b/README
index 00930f7..1988df1 100644
--- a/README
+++ b/README
@@ -12,3 +12,6 @@ The mode will target scala code written in a functinal style.
 
 Check out Example.scala to see how it indents.
 
+TODO:
+- indenting a row removes trailing whitespace and converts tabs to spaces
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]