From d34d09be1aeafa79426cdb4b4add96dd33e90c0c Mon Sep 17 00:00:00 2001 From: James Edward Gray II Date: Tue, 5 Oct 2010 11:21:25 -0500 Subject: [PATCH] Adding a snippet for encoding comments. It defaults to UTF-8, but gives you a tab trigger for changing the encoding. --- Snippets/# encoding: UTF-8.tmSnippet | 17 +++++++++++++++++ info.plist | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 Snippets/# encoding: UTF-8.tmSnippet diff --git a/Snippets/# encoding: UTF-8.tmSnippet b/Snippets/# encoding: UTF-8.tmSnippet new file mode 100644 index 0000000..7282c80 --- /dev/null +++ b/Snippets/# encoding: UTF-8.tmSnippet @@ -0,0 +1,17 @@ + + + + + content + # encoding: ${1:UTF-8} + + name + # encoding: UTF-8 + scope + source.ruby + tabTrigger + utf8 + uuid + B2C3ADE8-E19E-4B87-9C6C-593D490114C7 + + diff --git a/info.plist b/info.plist index efcf9e6..e437bbc 100644 --- a/info.plist +++ b/info.plist @@ -241,6 +241,7 @@ 451A0596-1F72-4AFB-AF2F-45900FABB0F7 ------------------------------------ A05CBDD6-845D-45EB-94FB-F8787F5456BE + B2C3ADE8-E19E-4B87-9C6C-593D490114C7 97DE939B-D243-4D5C-B953-1C9090912E7C 33969819-62C5-4E03-B824-C2337205F364 34FEBB9F-73CD-4DD4-A0A3-1CF2A5E3DE78 @@ -500,6 +501,7 @@ 988C8AEF-FC71-4455-9C4F-9338C05685A4 451A0596-1F72-4AFB-AF2F-45900FABB0F7 A05CBDD6-845D-45EB-94FB-F8787F5456BE + B2C3ADE8-E19E-4B87-9C6C-593D490114C7 97DE939B-D243-4D5C-B953-1C9090912E7C 34FEBB9F-73CD-4DD4-A0A3-1CF2A5E3DE78 E16D24D2-CC7E-4786-BE0B-1725FC865D78