File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,11 @@ syntax case match
16
16
17
17
" match keywords
18
18
syntax keyword goworkGo go contained
19
- syntax keyword goworkUse use
20
- syntax keyword goworkExclude exclude
19
+ syntax keyword goworkUse use
21
20
syntax keyword goworkReplace replace
22
- syntax keyword goworkRetract retract
23
21
24
- " require , exclude, replace, and go can be also grouped into block
25
- syntax region goworkUse start =' require (' end =' )' transparent contains =goworkUse,goworkPath
22
+ " use , exclude, replace, and go can be also grouped into block
23
+ syntax region goworkUse start =' use (' end =' )' transparent contains =goworkUse
26
24
syntax region goworkReplace start =' replace (' end =' )' transparent contains =goworkReplace,goworkVersion
27
25
syntax match goworkGo ' ^go .*$' transparent contains =goworkGo,goworkGoVersion
28
26
@@ -47,11 +45,6 @@ highlight default link goworkReplaceOperator Operator
47
45
syntax match goworkGoVersion " 1\.\d\+ " contained
48
46
highlight default link goworkGoVersion Identifier
49
47
50
-
51
- " match paths in use directives
52
- syntax match goworkPath " \f\+ "
53
-
54
- highlight default link goworkPath Identifier
55
48
" highlight versions:
56
49
" * vX.Y.Z-pre
57
50
" * vX.Y.Z
You can’t perform that action at this time.
0 commit comments