File tree 1 file changed +2
-1
lines changed 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,9 @@ pub fn write(item: &Item) -> String {
36
36
format ! (
37
37
"{tags_short}{delimiter}{comment_short}{delimiter}{snippet_short}{delimiter}{tags}{delimiter}{comment}{delimiter}{snippet}{delimiter}{file_index}{delimiter}\n " ,
38
38
tags_short = style( limit_str( & item. tags, tag_width_percentage) ) . with( CONFIG . tag_color( ) ) ,
39
- comment_short = style( limit_str( & item. comment, comment_width_percentage) ) . with( CONFIG . comment_color( ) ) ,
39
+ comment_short = style( limit_str( & fix_newlines ( & item. comment) , comment_width_percentage) ) . with( CONFIG . comment_color( ) ) ,
40
40
snippet_short = style( limit_str( & fix_newlines( & item. snippet) , snippet_width_percentage) ) . with( CONFIG . snippet_color( ) ) ,
41
+ //snippet_short = style(limit_str(&fix_newlines(&item.snippet), snippet_width_percentage)).with(CONFIG.snippet_color()),
41
42
tags = item. tags,
42
43
comment = item. comment,
43
44
delimiter = DELIMITER ,
You can’t perform that action at this time.
0 commit comments