Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
025f8b5e
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
025f8b5e
编写于
3月 17, 2016
作者:
M
Martin Aeschlimann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update ruby grammar
上级
6c5fced5
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
27 addition
and
25 deletion
+27
-25
extensions/ruby/syntaxes/Ruby.plist
extensions/ruby/syntaxes/Ruby.plist
+27
-25
未找到文件。
extensions/ruby/syntaxes/Ruby.plist
浏览文件 @
025f8b5e
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<string>
fcgi
</string>
<string>
fcgi
</string>
<string>
gemspec
</string>
<string>
gemspec
</string>
<string>
irbrc
</string>
<string>
irbrc
</string>
<string>
c
apfile
</string>
<string>
C
apfile
</string>
<string>
ru
</string>
<string>
ru
</string>
<string>
prawn
</string>
<string>
prawn
</string>
<string>
Cheffile
</string>
<string>
Cheffile
</string>
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
<string>
Berksfile
</string>
<string>
Berksfile
</string>
<string>
Berksfile.lock
</string>
<string>
Berksfile.lock
</string>
<string>
Thorfile
</string>
<string>
Thorfile
</string>
<string>
Puppetfile
</string>
</array>
</array>
<key>
firstLineMatch
</key>
<key>
firstLineMatch
</key>
<string>
^#!/.*\bruby
</string>
<string>
^#!/.*\bruby
</string>
...
@@ -418,7 +419,7 @@
...
@@ -418,7 +419,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
![\s,)
])
</string>
<string>
(?
=[
&
*_a-zA-Z
])
</string>
<key>
end
</key>
<key>
end
</key>
<string>
(?=[,)])
</string>
<string>
(?=[,)])
</string>
<key>
patterns
</key>
<key>
patterns
</key>
...
@@ -940,7 +941,7 @@
...
@@ -940,7 +941,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)HTML)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)HTML)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded html
</string>
<string>
Heredoc with embedded html
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -951,7 +952,7 @@
...
@@ -951,7 +952,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)HTML)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)HTML)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -998,7 +999,7 @@
...
@@ -998,7 +999,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)SQL)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)SQL)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded sql
</string>
<string>
Heredoc with embedded sql
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1009,7 +1010,7 @@
...
@@ -1009,7 +1010,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)SQL)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)SQL)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1056,7 +1057,7 @@
...
@@ -1056,7 +1057,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)CSS)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)CSS)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded css
</string>
<string>
Heredoc with embedded css
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1067,7 +1068,7 @@
...
@@ -1067,7 +1068,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)CSS)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)CSS)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1114,7 +1115,7 @@
...
@@ -1114,7 +1115,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)CPP)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)CPP)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded c++
</string>
<string>
Heredoc with embedded c++
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1125,7 +1126,7 @@
...
@@ -1125,7 +1126,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)CPP)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)CPP)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1172,7 +1173,7 @@
...
@@ -1172,7 +1173,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)C)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)C)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded c
</string>
<string>
Heredoc with embedded c
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1183,7 +1184,7 @@
...
@@ -1183,7 +1184,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)C)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)C)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1230,7 +1231,7 @@
...
@@ -1230,7 +1231,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded javascript
</string>
<string>
Heredoc with embedded javascript
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1241,7 +1242,7 @@
...
@@ -1241,7 +1242,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)(?:JS|JAVASCRIPT))\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1288,7 +1289,7 @@
...
@@ -1288,7 +1289,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)JQUERY)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)JQUERY)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded jQuery javascript
</string>
<string>
Heredoc with embedded jQuery javascript
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1299,7 +1300,7 @@
...
@@ -1299,7 +1300,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)JQUERY)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)JQUERY)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1346,7 +1347,7 @@
...
@@ -1346,7 +1347,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded shell
</string>
<string>
Heredoc with embedded shell
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1357,7 +1358,7 @@
...
@@ -1357,7 +1358,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)(?:SH|SHELL))\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1404,7 +1405,7 @@
...
@@ -1404,7 +1405,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)LUA)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)LUA)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded lua
</string>
<string>
Heredoc with embedded lua
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1415,7 +1416,7 @@
...
@@ -1415,7 +1416,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)LUA)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)LUA)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1462,7 +1463,7 @@
...
@@ -1462,7 +1463,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?=(?
><<
-
("?)((?:[_\w]+_|)RUBY)\b\1))
</string>
<string>
(?=(?
><<
[-~]
("?)((?:[_\w]+_|)RUBY)\b\1))
</string>
<key>
comment
</key>
<key>
comment
</key>
<string>
Heredoc with embedded ruby
</string>
<string>
Heredoc with embedded ruby
</string>
<key>
end
</key>
<key>
end
</key>
...
@@ -1473,7 +1474,7 @@
...
@@ -1473,7 +1474,7 @@
<array>
<array>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
("?)((?:[_\w]+_|)RUBY)\b\1)
</string>
<string>
(?
><<
[-~]
("?)((?:[_\w]+_|)RUBY)\b\1)
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1559,7 +1560,7 @@
...
@@ -1559,7 +1560,7 @@
</dict>
</dict>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
(?
><<
-
(\w+))
</string>
<string>
(?
><<
[-~]
(\w+))
</string>
<key>
beginCaptures
</key>
<key>
beginCaptures
</key>
<dict>
<dict>
<key>
0
</key>
<key>
0
</key>
...
@@ -1736,7 +1737,7 @@
...
@@ -1736,7 +1737,7 @@
<key>
heredoc
</key>
<key>
heredoc
</key>
<dict>
<dict>
<key>
begin
</key>
<key>
begin
</key>
<string>
^
<<
-
?\w+
</string>
<string>
^
<<
[-~]
?\w+
</string>
<key>
end
</key>
<key>
end
</key>
<string>
$
</string>
<string>
$
</string>
<key>
patterns
</key>
<key>
patterns
</key>
...
@@ -4088,3 +4089,4 @@
...
@@ -4088,3 +4089,4 @@
<string>
E00B62AC-6B1C-11D9-9B1F-000D93589AF6
</string>
<string>
E00B62AC-6B1C-11D9-9B1F-000D93589AF6
</string>
</dict>
</dict>
</plist>
</plist>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录