[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/haskell-tng-mode d0cd9b9 252/385: documenting an annoying
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/haskell-tng-mode d0cd9b9 252/385: documenting an annoying indentation bug |
Date: |
Tue, 5 Oct 2021 23:59:41 -0400 (EDT) |
branch: elpa/haskell-tng-mode
commit d0cd9b979bf4584a4a6f38b2322e7ca2ea8f5bd7
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>
documenting an annoying indentation bug
---
test/haskell-tng-indent-test.el | 1 +
test/src/indentation.hs | 2 ++
test/src/indentation.hs.append.indent | 6 +++++-
test/src/indentation.hs.faceup | 2 ++
test/src/indentation.hs.imenu | 3 ++-
test/src/indentation.hs.insert.indent | 6 +++++-
test/src/indentation.hs.layout | 2 ++
test/src/indentation.hs.sexps | 4 +++-
test/src/indentation.hs.syntax | 2 ++
9 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/test/haskell-tng-indent-test.el b/test/haskell-tng-indent-test.el
index f5f5ac2..6e4fccb 100644
--- a/test/haskell-tng-indent-test.el
+++ b/test/haskell-tng-indent-test.el
@@ -12,6 +12,7 @@
(require 'haskell-tng-testutils
"test/haskell-tng-testutils.el")
+;; FIXME types_short
;; TODO line after `instance ... where' has too much indent
;; TODO records assigning / copy by label
;; TODO records of functions
diff --git a/test/src/indentation.hs b/test/src/indentation.hs
index 89e0541..4accd91 100644
--- a/test/src/indentation.hs
+++ b/test/src/indentation.hs
@@ -144,3 +144,5 @@ types2b
types3 :: (Monad m, MonadReader Foo m) =>
(?log :: HasLogger m) =>
a -> b -> c
+
+types_short :: Foo -> Bar
diff --git a/test/src/indentation.hs.append.indent
b/test/src/indentation.hs.append.indent
index b039658..768308f 100644
--- a/test/src/indentation.hs.append.indent
+++ b/test/src/indentation.hs.append.indent
@@ -291,4 +291,8 @@ types3 :: (Monad m, MonadReader Foo m) =>
a -> b -> c
v 1
-v 1
\ No newline at end of file
+v 1
+types_short :: Foo -> Bar
+1 v
+
+v
\ No newline at end of file
diff --git a/test/src/indentation.hs.faceup b/test/src/indentation.hs.faceup
index 78d6621..05c55b4 100644
--- a/test/src/indentation.hs.faceup
+++ b/test/src/indentation.hs.faceup
@@ -144,4 +144,6 @@ types2b
types3 «:haskell-tng-keyword-face:::»«:haskell-tng-type-face:
»«:haskell-tng-keyword-face:(»«:haskell-tng-type-face:Monad
m»«:haskell-tng-keyword-face:,»«:haskell-tng-type-face: MonadReader Foo
m»«:haskell-tng-keyword-face:)»«:haskell-tng-type-face:
»«:haskell-tng-keyword-face:=>»«:haskell-tng-type-face:
»«:haskell-tng-keyword-face:(»«:haskell-tng-type-face:?log
»«:haskell-tng-keyword-face:::»«:haskell-tng-type-face: HasLogger
m»«:haskell-tng-keyword-face:)»«:haskell-tng-type-face:
»«:haskell-tng-keyword-face:=>»«:haskell-tng-type-face:
a »«:haskell-tng-keyword-face:->»«:haskell-tng-type-face: b
»«:haskell-tng-keyword-face:->»«:haskell-tng-type-face: c
+»
+types_short «:haskell-tng-keyword-face:::»«:haskell-tng-type-face: Foo
»«:haskell-tng-keyword-face:->»«:haskell-tng-type-face: Bar
»
\ No newline at end of file
diff --git a/test/src/indentation.hs.imenu b/test/src/indentation.hs.imenu
index 3face5f..49205d8 100644
--- a/test/src/indentation.hs.imenu
+++ b/test/src/indentation.hs.imenu
@@ -20,4 +20,5 @@
("types1" . 2371)
("types2" . 2416)
("types2b" . 2474)
- ("types3" . 2535))
+ ("types3" . 2535)
+ ("types_short" . 2635))
diff --git a/test/src/indentation.hs.insert.indent
b/test/src/indentation.hs.insert.indent
index 782ec9f..ffc288c 100644
--- a/test/src/indentation.hs.insert.indent
+++ b/test/src/indentation.hs.insert.indent
@@ -289,4 +289,8 @@ types3 :: (Monad m, MonadReader Foo m) =>
(?log :: HasLogger m) =>
1 v
a -> b -> c
-v 1
\ No newline at end of file
+v 1
+
+v 1
+types_short :: Foo -> Bar
+v
\ No newline at end of file
diff --git a/test/src/indentation.hs.layout b/test/src/indentation.hs.layout
index 3a54343..27e0ac4 100644
--- a/test/src/indentation.hs.layout
+++ b/test/src/indentation.hs.layout
@@ -144,4 +144,6 @@ module Indentation where
;types3 :: (Monad m, MonadReader Foo m) =>
(?log :: HasLogger m) =>
a -> b -> c
+
+;types_short :: Foo -> Bar
}
\ No newline at end of file
diff --git a/test/src/indentation.hs.sexps b/test/src/indentation.hs.sexps
index f847a8d..2c4037e 100644
--- a/test/src/indentation.hs.sexps
+++ b/test/src/indentation.hs.sexps
@@ -143,5 +143,7 @@
((types3) :: ((Monad) (m), (MonadReader) (Foo) (m)) =>
((?log) :: (HasLogger) (m)) =>
- (a) -> (b) -> (c))))))))))))))
+ (a) -> (b) -> (c))
+
+((types_short) :: (Foo) -> (Bar))))))))))))))
)))
\ No newline at end of file
diff --git a/test/src/indentation.hs.syntax b/test/src/indentation.hs.syntax
index 7577f1a..04233b1 100644
--- a/test/src/indentation.hs.syntax
+++ b/test/src/indentation.hs.syntax
@@ -144,3 +144,5 @@ wwwwwww>
wwwwww __ (wwwww w. wwwwwwwwwww www w) __>
(_www __ wwwwwwwww w) __>
w __ w __ w>
+>
+wwwwwwwwwww __ www __ www>
- [nongnu] elpa/haskell-tng-mode 9ec4841 104/385: meh indentation, (continued)
- [nongnu] elpa/haskell-tng-mode 9ec4841 104/385: meh indentation, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ea46850 207/385: bugfix for compile vs runtime loading, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 63b1c8d 250/385: flip the default newline / comment behaviour, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 83458d6 253/385: reverting newline comment behaviour, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f59c9ee 259/385: fix indentation of short type signatures, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode dbbe488 265/385: abbrevs don't fire in comments / strings, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode f56bd2a 256/385: prefer optimised hsinspect builds, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode e84970b 263/385: rename -contrib to -extra, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode af443a1 269/385: fix a name clash in the tests, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode cce466c 271/385: hsinspect now has a compiler plugin, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode d0cd9b9 252/385: documenting an annoying indentation bug,
ELPA Syncer <=
- [nongnu] elpa/haskell-tng-mode afbac7c 300/385: missing import, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 7060573 286/385: moar work to do here, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 89db192 289/385: more thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode b46dbd1 305/385: refactoring of the cache for more reuse later, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ff76e07 304/385: cache the index command, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 2653ce7 312/385: checks on the hsinspect binary, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode da20f0d 314/385: note about limitations on nixos, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode 52d984a 324/385: fix cache typo, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode ae8ebbc 320/385: thots, ELPA Syncer, 2021/10/06
- [nongnu] elpa/haskell-tng-mode aca98c2 333/385: simplify import-symbol-at-point logic, ELPA Syncer, 2021/10/06