[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode 552edf7530 054/210: [Fix #331] Indentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode 552edf7530 054/210: [Fix #331] Indentation in buffers without a final newline |
Date: |
Thu, 31 Oct 2024 18:59:39 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit 552edf753047e606a2b80d51175d95242cebcf8f
Author: Artur Malabarba <bruce.connor.am@gmail.com>
Commit: Artur Malabarba <bruce.connor.am@gmail.com>
[Fix #331] Indentation in buffers without a final newline
---
clojure-mode-indentation-test.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/clojure-mode-indentation-test.el b/clojure-mode-indentation-test.el
index aa5d6b411f..fe61d26a54 100644
--- a/clojure-mode-indentation-test.el
+++ b/clojure-mode-indentation-test.el
@@ -28,6 +28,16 @@
(require 'ert)
(require 's)
+(ert-deftest dont-hang-on-eob ()
+ (with-temp-buffer
+ (insert "(let [a b]")
+ (clojure-mode)
+ (goto-char (point-max))
+ (should
+ (with-timeout (2)
+ (newline-and-indent)
+ t))))
+
(defmacro check-indentation (description before after &optional var-bindings)
"Declare an ert test for indentation behaviour.
The test will check that the swift indentation command changes the buffer
- [nongnu] elpa/clojure-ts-mode 1d604dbafc 139/210: Merge pull request #509 from carlosgeos/fix-508, (continued)
- [nongnu] elpa/clojure-ts-mode 1d604dbafc 139/210: Merge pull request #509 from carlosgeos/fix-508, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode a126773966 145/210: [#422] Split def-refactor-test macro into 2 separate macros., ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 756d6941d8 151/210: Bump the copyright years, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1a9b88b774 013/210: Font-lock cljx features, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 35bdde40d9 150/210: [Fix #410] Add refactoring: add an arity to a function., ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 5f268e139f 008/210: Font lock static method calls like SomeClass/someMethod, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1b7a61db89 030/210: [Fix #274] Correct font-locking of punctuation character literals, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode a9fc8cb5bf 038/210: Fix font-locking tests, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode c855d1eefd 040/210: Fix for error in `clojure-expected-ns`, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode c1e84d0949 053/210: [Fix #327] Indentation when a symbol ends in ? or ', ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 552edf7530 054/210: [Fix #331] Indentation in buffers without a final newline,
ELPA Syncer <=
- [nongnu] elpa/clojure-ts-mode b4e8a209f0 068/210: [Fix #349] Indent and font-lock (let|when|while)-* forms, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 358f9b73a8 064/210: Use cl-evenp in one of the tests, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 279d464325 057/210: Add a regression test for #335, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 00273312ad 081/210: Fix the nil case for align tests, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode f2fb35bd80 094/210: Standardize threading tests, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 71b21c3b8c 103/210: Fix multi-airty indention of deftype & defrecord (#389) (#390), ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode c8ec6e7f3a 098/210: Improve line-break handling with thread/unwind-first, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 7e8a322ae8 102/210: Merge pull request #384 from arichiardi/fix-lambda, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 49b6a480e8 138/210: [Fix #445] More accurate font locking for strings in def forms, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 0dfbdcc3b5 114/210: Add byte-comp and `checkdoc` tests, ELPA Syncer, 2024/10/31