From 5398602a977807e004bf6122dd5032269aa84463 Mon Sep 17 00:00:00 2001 From: Greg Sexton Date: Sun, 26 Apr 2015 14:57:27 +0100 Subject: [PATCH] Add todo --- origami-parsers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/origami-parsers.el b/origami-parsers.el index f043ae3..6f05296 100644 --- a/origami-parsers.el +++ b/origami-parsers.el @@ -66,11 +66,11 @@ position in the CONTENT." acc)))) (reverse acc)))) -;;; TODO: support tabs (defun origami-indent-parser (create) (cl-labels ((lines (string) (origami-get-positions string ".*?\r?\n")) (annotate-levels (lines) (-map (lambda (line) + ;; TODO: support tabs (let ((indent (length (car (s-match "^ *" (car line))))) (beg (cdr line)) (end (+ (cdr line) (length (car line)) -1)))