branch: externals/matlab-mode
commit f1c99557f12d3d13ee8863954830aebc5a040438
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: remove remaining indent to do items
Indent is looking good. Lots of tests and no outstanding issues. I now
believe matlab-ts-mode is
now univerally better at indent than matlab-mode.
---
matlab-ts-mode.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/matlab-ts-mode.el b/matlab-ts-mode.el
index 5ac0088aea..ca15d96fc2 100644
--- a/matlab-ts-mode.el
+++ b/matlab-ts-mode.el
@@ -1556,7 +1556,7 @@ Prev-siblings:
(let ((indent-level
(if (and node (string= (treesit-node-type node) "end"))
(progn
- (when (string= "property" (treesit-node-type
anchor-node)) ;; xxx needed?
+ (when (string= "property" (treesit-node-type
anchor-node))
(setq anchor-node (treesit-node-parent
anchor-node)))
0)
(matlab-ts-mode--i-next-line-indent-level node anchor-node
@@ -2865,11 +2865,6 @@ is t, add the following to an Init File (e.g.
`user-init-file' or
;; For print output, have (t-utils-print-code OBJECT) that will place
the standard output
;; in a #+begin_src MAJOR-MODE code block.
;;
- ;; TODO indent
- ;; improve t-utils-test-indent to have two typing modes:
- ;; - typing newlines
- ;; - typing line-by-line
- ;;
;; TODO font-lock when errors
;; can we add light error indicator somewhere, e.g. put an underline
marker on the error
;; region?