File: loops.vim

package info (click to toggle)
tree-sitter-vim 0.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,724 kB
  • sloc: ansic: 152,370; javascript: 2,370; lisp: 315; makefile: 119; python: 51; cpp: 14; sh: 9
file content (24 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
for i in foo
" <- @keyword.repeat
"   ^ @variable
"     ^^ @keyword.repeat
"        ^^^ @variable
  if i.bar
  " <- @keyword.conditional
  "  ^ @variable
  "   ^ @punctuation.delimiter
  "    ^^^ @variable
    break
    " <- @keyword.repeat
  endif
  " <- @keyword.conditional
  continue
  " <- @keyword.repeat
endfor
" <- @keyword.repeat

while v:false
" <- @keyword.repeat
"       ^^^^^ @boolean
endwhile
" <- @keyword.repeat