Lines Matching refs:pos
60 " Performance for forwards search(): start search at pos rather than masking
61 " matches before pos.
82 let pos = index(s:synid_cache[0], byte)
83 if pos == -1
86 return s:synid_cache[1][pos]
170 let [l:pos, tok] = [getpos('.'), '']
174 call setpos('.',l:pos)
179 let two = a:0 || line('.') != l:pos[1] ? strridx(getline('.')[:col('.')],'//') + 1 : 0
184 call setpos('.',l:pos)
248 let pos = match(a:line, '[][(){}]')
249 while pos != -1
250 if s:SynAt(a:lnum,pos + 1) !~? b:syng_strcom
251 let l:open += match(' ' . a:line[pos],'[[({]')
256 let pos = match(a:line, !l:open ? '[][(){}]' : '()' =~ a:line[pos] ?
257 \ '[()]' : '{}' =~ a:line[pos] ? '[{}]' : '[][]', pos + 1)