Lines Matching refs:item
50 for item in split(line, '.\@<=[>]\zs')
51 if s:EndTag(item)
53 call add(result, s:Indent(item))
55 call add(result, s:Indent(item))
56 elseif s:StartTag(lastitem) && s:IsTag(item)
58 call add(result, s:Indent(item))
60 if !s:IsTag(item)
63 let t=split(item, '.<\@=\zs')
69 …if s:TagContent(lastitem) is# s:TagContent(t[1]) && strlen(result[-1]) + strlen(item) <= s:Textwid…
70 let result[-1] .= item
86 call add(result, s:Indent(item))
89 let lastitem = item
116 func! s:Indent(item) abort argument
117 return repeat(' ', shiftwidth()*s:indent). s:Trim(a:item)
119 " Return item trimmed from leading whitespace {{{1
120 func! s:Trim(item) abort argument
122 return trim(a:item)
124 return matchstr(a:item, '\S\+.*')
169 for item in a:list
170 for word in split(item, '\s\+\S\+\zs')