nimbupani (owner)

Revisions

gist: 129111 Download_button fork
public
Public Clone URL: git://gist.github.com/129111.git
Embed All Files: show embed
Diff #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From b652a1025dfe1ac71525875612a06643d014017f Mon Sep 17 00:00:00 2001
From: Divya <divya.manian@gmail.com>
Date: Fri, 12 Jun 2009 22:22:26 -0700
Subject: [PATCH] foldable blocks
 
---
 Snippets/foldable block.tmSnippet | 16 ++++++++++++++++
 Syntaxes/SASS.tmLanguage | 4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100644 Snippets/foldable block.tmSnippet
 
diff --git a/Snippets/foldable block.tmSnippet b/Snippets/foldable block.tmSnippet
new file mode 100644
index 0000000..18ec059
--- /dev/null
+++ b/Snippets/foldable block.tmSnippet
@@ -0,0 +1,16 @@
+<?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>content</key>
+ <string>// START ${1:name}
+${0:$TM_SELECTED_TEXT}
+// END ${1:name}</string>
+ <key>name</key>
+ <string>foldable block</string>
+ <key>tabTrigger</key>
+ <string>fld</string>
+ <key>uuid</key>
+ <string>D5BAE0F7-60B4-4257-81A1-65D6B85985B7</string>
+</dict>
+</plist>
diff --git a/Syntaxes/SASS.tmLanguage b/Syntaxes/SASS.tmLanguage
index 17e91ac..8e565c2 100644
--- a/Syntaxes/SASS.tmLanguage
+++ b/Syntaxes/SASS.tmLanguage
@@ -5,9 +5,9 @@
  <key>fileTypes</key>
  <array/>
  <key>foldingStartMarker</key>
- <string>/\*|^#|^\*|^\b|^\.</string>
+ <string>// START |^#|^\*|^\b|^\.</string>
  <key>foldingStopMarker</key>
- <string>\*/|^\s*$</string>
+ <string>// END |^#|^\*|^\b|^\.</string>
  <key>keyEquivalent</key>
  <string>^~S</string>
  <key>name</key>
--
1.6.1.1