Commit Graph

52 Commits

Author SHA1 Message Date
mattn 6fd2031fa2 Fixed #98 pass to indent to html#toString() 2013-04-24 20:43:15 +09:00
mattn 1f041e7dd3 Unique attribute names. close #119 2013-04-19 13:22:06 +09:00
mattn 2aba8dde8b Fix balance tag. close #107 2013-04-09 18:45:18 +09:00
mattn f5bb76ba39 Expands $# as content. close #116 2013-04-09 18:05:28 +09:00
mattn 4825e6b6c9 Fix order of attributes. close #117 2013-04-09 10:39:31 +09:00
mattn f08061ec20 Fix imageSize 2013-04-06 22:58:20 +09:00
mattn f86c34fbe8 Fix parseTag 2013-04-06 22:31:53 +09:00
mattn 39a9986627 Fix toggleComment 2013-04-06 22:16:23 +09:00
mattn 77e2bd3c4e Add default attributes 2013-04-06 22:00:38 +09:00
mattn f99392847f Fix checking attributs 2013-04-06 21:41:23 +09:00
mattn 24eaace730 Avoid to duplicate attributes 2013-04-06 21:39:53 +09:00
Michael Grubb 594ca8e767 Added list to keep order of added attributes
Preloads this list with 'id' and 'class' to always sort those first
As attributes are parsed, append the names to the list.
Change toString function to loop over attribute list instead of keys.
2013-04-06 00:04:37 -05:00
mattn f6c5a8c717 fix balance inward. 2012-12-04 10:51:32 +09:00
mattn cc7a2ecf38 support ^ 2012-10-16 16:19:28 +09:00
Charles McGarvey 68f6e1851a add option for customizing the empty tag suffix
Example: To expand the br tag as <br/> instead of the default <br />, put this
in your .vimrc:

let g:user_zen_settings = {
\  'html': {
\    'empty_element_suffix': '/>',
\  },
\}
2012-09-01 13:09:50 -06:00
mattn b731410946 fix indent. 2012-07-27 09:13:34 +09:00
mattn 5c3abc98a2 fix indent: when wrap inner text with block element, it don't append indent. close #90 2012-07-26 14:16:35 +09:00
mattn 7ad7c1032e escape indent character if it's like '\t' (not "\t"). however, it won't beuseful for me. 2012-07-26 08:58:08 +09:00
mattn b46410cf05 fixed back to parent nest. close #88 2012-07-17 15:29:51 +09:00
mattn 8209775129 add new option dollar_expr that don't replace $ to numbers. 2012-07-06 13:39:08 +09:00
mattn 61a261ef89 check empty. 2012-06-29 09:19:46 +09:00
mattn e1e79f3d25 fix indent. 2012-06-28 22:10:44 +09:00
mattn 8194ee6683 rewrite html#balanceTag. 2012-06-22 14:47:12 +09:00
mattn c1ce62261f fix indent for wrapped text. 2012-06-20 12:41:40 +09:00
mattn 16e3a95d7f fixed ${nr}. and fixed multi-line text for haml & slim. 2012-06-13 18:02:23 +09:00
mattn 1ddb427987 fix detecting eol. 2012-06-11 19:24:55 +09:00
mattn d19b2b4fcd fix snippets for haml & slim. 2012-06-11 19:15:45 +09:00
mattn 5011ea1dc6 fix numbering. 2012-06-11 18:21:05 +09:00
mattn 15c3f99c68 fix: {item number $ ${nl}}*5 2012-06-11 17:41:41 +09:00
mattn dcccfc6881 fix group item number. close #25 2012-06-11 11:32:59 +09:00
mattn 8551b28a74 fix indent. close #27 2012-06-11 10:05:41 +09:00
mattn 915726a88d fix indent for wrap with abbreviation. 2012-06-10 02:11:16 +09:00
mattn 01b6732fd6 no need to add cursor when has children. 2012-06-10 02:02:56 +09:00
mattn b75f89ab57 add cursor position. 2012-06-10 01:57:34 +09:00
mattn d5145397cb new style formatter. 2012-06-10 01:55:16 +09:00
mattn d71acb2c22 fix comment filter. 2012-06-07 11:54:37 +09:00
mattn 1a9b7d2805 check top level node or not. close #80 2012-06-06 12:09:49 +09:00
mattn 4dfd07003e removeTag for haml & slim. 2012-06-04 17:12:31 +09:00
mattn d3f4db7367 calculate 'indentation' from shiftwidth. close #78 2012-06-04 16:37:45 +09:00
mattn 1efd8a094f move splitJoinTag into each types. 2012-06-03 00:39:05 +09:00
mattn 11af392af3 avoid to move to </a>|</span>. 2012-06-03 00:31:17 +09:00
mattn 2ff5526a0c check text node or not. 2012-06-03 00:14:42 +09:00
mattn 7b0c846018 fix re-set parent of brother node. all tests are passed again! 2012-06-02 23:06:28 +09:00
mattn 4c33c082c8 start to fix formatting. 2012-06-01 18:58:13 +09:00
mattn 7fe889d214 moveNextPrev 2012-05-31 17:47:14 +09:00
mattn b689b7a6e5 balanceTag. 2012-05-30 22:01:32 +09:00
mattn 0330ce39b4 toggleComment. 2012-05-30 21:00:59 +09:00
mattn e3f72a588a camelcase. 2012-05-30 20:40:20 +09:00
mattn ae2d88eed8 imageSize for slim 2012-05-30 20:17:19 +09:00
mattn 57e43e4833 fix skipping tags. 2012-05-30 19:22:26 +09:00