• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/vim-53/runtime/autoload/

Lines Matching refs:tag

83 		" Look like we may have broken tag. Check previous lines. Up to
94 " Normal tag line, no need for completion at all
95 " OR reached first line without tag at all
127 " There is still possibility we may do something - eg. close tag
177 " Generally if context contains > it means we are outside of tag and
188 let tag = ''
190 let tag = split(context)[0]
193 let tag = substitute(tag, '^'.b:xml_namespace.':', '', '')
208 if tag =~ '^[?!]'
209 " Return nothing if we are inside of ! or ? tag
212 if has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, tag) && has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1], attrname)
213 let values = g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][attrname]
248 if tag =~ '?xml'
251 elseif tag =~ '^!'
256 if !has_key(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}, tag)
260 let attrs = keys(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1])
282 if tag !~ '^[?!]' && len(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item][0] =~ '^\(BOOL\|'.item.'\)$'
292 if tag !~ '^[?!]' && len(g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item]) > 0 && g:xmldata{'_'.g:xmldata_connection[b:xml_namespace]}[tag][1][item][0] =~ '^\(BOOL\|'.item.'\)$'
303 " Close tag
349 " Deal with tag completion.
439 let tag=matchstr(line,tagpat)
443 call s:Push(matchstr(tag,'[^<>]\+'),'b:lineTagStack')
450 let tag=s:Pop('b:lineTagStack')
451 if match(tag, '^/') == 0 "found end tag
452 call s:Push(tag,'b:TagStack')
453 elseif s:EmptystackP('b:TagStack') && !s:Instack(tag, a:unaryTagsStack) "found unclosed tag
454 return tag
457 if endtag == '/'.tag || endtag == '/'
458 call s:Pop('b:TagStack') "found a open/close tag pair
459 elseif !s:Instack(tag, a:unaryTagsStack) "we have a mismatch error