mirror of
https://github.com/atom/atom.git
synced 2026-02-19 02:44:29 -05:00
35 lines
825 B
Plaintext
35 lines
825 B
Plaintext
<?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>beforeRunningCommand</key>
|
|
<string>nop</string>
|
|
<key>command</key>
|
|
<string>#!/usr/bin/env ruby
|
|
|
|
column_number = ENV['TM_COLUMN_NUMBER']
|
|
whitespace = " " * (column_number.to_i - 1)
|
|
|
|
print <<-EOS
|
|
###
|
|
#{whitespace}$0
|
|
#{whitespace}###
|
|
EOS
|
|
</string>
|
|
<key>fallbackInput</key>
|
|
<string>line</string>
|
|
<key>input</key>
|
|
<string>none</string>
|
|
<key>keyEquivalent</key>
|
|
<string>^#</string>
|
|
<key>name</key>
|
|
<string>Insert Heredoc """ comment</string>
|
|
<key>output</key>
|
|
<string>insertAsSnippet</string>
|
|
<key>scope</key>
|
|
<string>source.coffee</string>
|
|
<key>uuid</key>
|
|
<string>68A86250-0280-11E0-A976-0800200C9A66</string>
|
|
</dict>
|
|
</plist>
|