Tables can now be embedded in lists

Solves #50
This commit is contained in:
EinfachToll 2014-06-05 09:42:59 +02:00
parent 9f92a375c1
commit ab36532f75

View File

@ -1165,6 +1165,14 @@ function! s:parse_line(line, state) " {{{
endif
"}}}
" tables "{{{
if !processed
let [processed, lines, state.table] = s:process_tag_table(line,
\ state.table, state.header_ids)
call extend(res_lines, lines)
endif
"}}}
" lists "{{{
if !processed
let [processed, lines] = s:process_tag_list(line, state.lists)
@ -1212,14 +1220,6 @@ function! s:parse_line(line, state) " {{{
endif
"}}}
" tables "{{{
if !processed
let [processed, lines, state.table] = s:process_tag_table(line,
\ state.table, state.header_ids)
call extend(res_lines, lines)
endif
"}}}
" quotes "{{{
if !processed
let [processed, lines, state.quote] = s:process_tag_quote(line, state.quote)