3# http://www.sublimetext.com/docs/3/syntax.html
4name: Robot Framework syntax highlighting.
10 - match: '\$\{(\d+|\d+\.\d*|0[bB][01]+|0[oO][0-7]+|0[xX][0-9a-fA-F]+)\}'
11 comment: "Robot Framework numbers, like ${1} or ${12.3}"
12 scope: constant.numeric.robot
13 - match: '(?i)(%\{[\w|\s]+\})'
14 comment: "Robot Framework environment variable, like %{USER}"
15 scope: variable.parameter.robot
16 - match: '((?<!\\)|(?<=\\\\))[$&]{'
17 comment: Robot Framework scalar and dictionary variables
19 - meta_scope: entity.name.class
22 - match: '((?<!\\)(@{)|(?<=\\\\)(@{))'
23 comment: Robot Framework list variables
25 - meta_scope: entity.name.class
26 - match: '(}\[.+])|(})'
28 - match: '(?i)^(\|\s*)?(\*{1,3} ?)(settings?|variables?|keywords?|test cases?)( ?\*{1,3})?(\s*\|)?'
29 comment: Robot Framework data tables
30 scope: string.robot.header
31 - match: '(?i)(^\|\s*)?\[?Documentation\]?\s+'
32 comment: Test case, keyword and settings table documentation
35 - match: ^(?!\s*+\.\.\.)
37 - match: '(^| {2,}|\t|\\| {1,})(?<!\\\\)#'
38 comment: Comment character
43 - match: '(?i)\s+\[(Tags|Setup|Teardown|Template|Timeout|Arguments|Return)\]'
44 comment: Tests case and keyword settings
46 - match: (?i)^(\|\s*)?(Library|Resource|Test Timeout|Test Template|Test Teardown|Test Setup|Default Tags|Force Tags|Metadata|Variables|Suite Setup|Suite Teardown)(?:( )|( \| ))
47 comment: Settings table settings, like Library
48 scope: constant.language
49 - match: '^(\|\s+)?(?!^\.{3})(?![\|$&])\S+'
50 comment: Keywords and test cases
52 - meta_scope: keyword.control.robot
53 - match: '($|\||\s{2,})'
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list