Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d526060cd9
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (22 sloc) 0.722 kb
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Completion: require strings</string>
<key>scope</key>
<string>meta.require.ruby string.quoted</string>
<key>settings</key>
<dict>
<key>completionCommand</key>
<string>#!/usr/bin/env ruby
ptrn = /^#{Regexp.escape ENV["TM_CURRENT_WORD"].to_s}[^.]+\..+/
puts( $LOAD_PATH.inject([]) do |res, path|
res &lt;&lt; Dir.new(path).grep(ptrn) { |file| file[/^[^.]+/] } if File.exists?(path)
res
end.sort.uniq )</string>
</dict>
<key>uuid</key>
<string>AEDD6A5F-417F-4177-8589-B07518ACA9DE</string>
</dict>
</plist>
Jump to Line
Something went wrong with that request. Please try again.