Merge branch 'master' into path-for-fileblob

This commit is contained in:
Arfon Smith
2015-01-09 11:56:11 -06:00
7 changed files with 26 additions and 11 deletions

6
.gitmodules vendored
View File

@@ -528,6 +528,12 @@
[submodule "vendor/grammars/sublime-bsv"] [submodule "vendor/grammars/sublime-bsv"]
path = vendor/grammars/sublime-bsv path = vendor/grammars/sublime-bsv
url = https://github.com/thotypous/sublime-bsv url = https://github.com/thotypous/sublime-bsv
[submodule "vendor/grammars/AutoHotkey"]
path = vendor/grammars/AutoHotkey
url = https://github.com/robertcollier4/AutoHotkey
[submodule "vendor/grammars/Sublime-HTTP"]
path = vendor/grammars/Sublime-HTTP
url = https://github.com/httpspec/sublime-highlighting
[submodule "vendor/grammars/sass-textmate-bundle"] [submodule "vendor/grammars/sass-textmate-bundle"]
path = vendor/grammars/sass-textmate-bundle path = vendor/grammars/sass-textmate-bundle
url = https://github.com/nathos/sass-textmate-bundle url = https://github.com/nathos/sass-textmate-bundle

View File

@@ -24,6 +24,8 @@ vendor/grammars/Agda.tmbundle:
- source.agda - source.agda
vendor/grammars/Alloy.tmbundle: vendor/grammars/Alloy.tmbundle:
- source.alloy - source.alloy
vendor/grammars/AutoHotkey:
- source.ahk
vendor/grammars/ColdFusion: vendor/grammars/ColdFusion:
- source.cfscript - source.cfscript
- source.cfscript.cfc - source.cfscript.cfc
@@ -66,6 +68,8 @@ vendor/grammars/Stata.tmbundle:
- source.stata - source.stata
vendor/grammars/Sublime-Coq: vendor/grammars/Sublime-Coq:
- source.coq - source.coq
vendor/grammars/Sublime-HTTP:
- source.httpspec
vendor/grammars/Sublime-Inform: vendor/grammars/Sublime-Inform:
- source.Inform7 - source.Inform7
vendor/grammars/Sublime-Lasso: vendor/grammars/Sublime-Lasso:

View File

@@ -224,7 +224,7 @@ AutoHotkey:
extensions: extensions:
- .ahk - .ahk
- .ahkl - .ahkl
tm_scope: none tm_scope: source.ahk
ace_mode: autohotkey ace_mode: autohotkey
AutoIt: AutoIt:
@@ -1212,7 +1212,7 @@ HTTP:
type: data type: data
extensions: extensions:
- .http - .http
tm_scope: none tm_scope: source.httpspec
ace_mode: text ace_mode: text
Hack: Hack:

View File

@@ -40,24 +40,27 @@
# Minified JavaScript and CSS # Minified JavaScript and CSS
- (\.|-)min\.(js|css)$ - (\.|-)min\.(js|css)$
#Stylesheets imported from packages
- ([^\s]*)import\.(css|less|scss|styl)$
# Bootstrap css and js # Bootstrap css and js
- (^|/)bootstrap([^.]*)\.(js|css)$ - (^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$
- (^|/)custom\.bootstrap([^\s]*)(js|css|less|scss|styl)$
# Font Awesome # Font Awesome
- font-awesome.css - (^|/)font-awesome\.(css|less|scss|styl)$
# Foundation css # Foundation css
- foundation.css - (^|/)foundation\.(css|less|scss|styl)$
# Normalize.css # Normalize.css
- normalize.css - (^|/)normalize\.(css|less|scss|styl)$
# Bourbon SCSS # Bourbon css
- (^|/)[Bb]ourbon/.*\.css$ - (^|/)[Bb]ourbon/.*\.(css|less|scss|styl)$
- (^|/)[Bb]ourbon/.*\.scss$
# Animate.css # Animate.css
- animate.css - (^|/)animate\.(css|less|scss|styl)$
# Vendored dependencies # Vendored dependencies
- third[-_]?party/ - third[-_]?party/

View File

@@ -60,7 +60,7 @@ class TestGrammars < Minitest::Test
def test_submodules_have_licenses def test_submodules_have_licenses
categories = submodule_paths.group_by do |submodule| categories = submodule_paths.group_by do |submodule|
files = Dir[File.join(ROOT, submodule, "*")] files = Dir[File.join(ROOT, submodule, "*")]
license = files.find { |path| File.basename(path) =~ /\blicen[cs]e\b/i } || files.find { |path| File.basename(path) =~ /\bcopying\b/i } license = files.find { |path| File.basename(path) =~ /\b(un)?licen[cs]e\b/i } || files.find { |path| File.basename(path) =~ /\bcopying\b/i }
if license.nil? if license.nil?
if readme = files.find { |path| File.basename(path) =~ /\Areadme\b/i } if readme = files.find { |path| File.basename(path) =~ /\Areadme\b/i }
license = readme if File.read(readme) =~ /\blicen[cs]e\b/i license = readme if File.read(readme) =~ /\blicen[cs]e\b/i

1
vendor/grammars/AutoHotkey vendored Submodule

1
vendor/grammars/Sublime-HTTP vendored Submodule