Skip to content

Commit

Permalink
Merge pull request #2 from rlaboiss/last-column
Browse files Browse the repository at this point in the history
Colorize last column
  • Loading branch information
jcs090218 authored Jan 25, 2024
2 parents 44033d2 + df4026c commit 3b450ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rainbow-csv.el
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
(line-beginning-position) (line-end-position))))
(n (1+ n)))
(dotimes (i n)
(let* ((r (format "^\\([^%c\n]+%c\\)\\{%d\\}"
(let* ((r (format "^\\([^%c\n]+[%c\n]\\)\\{%d\\}"
separator separator (1+ i)))
(len (length rainbow-csv-colors))
(color (nth (% i len) rainbow-csv-colors)))
Expand Down

0 comments on commit 3b450ac

Please sign in to comment.