Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Indentation Rule

  • Loading branch information...
commit 987bf5139a4051c0394820941db3d16759a2eb8b 1 parent c68f763
@raymondkww authored
View
13 Indentation Rules - Comments.tmPreferences
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>scope</key>
+ <string>comment.line.number-sign.r</string>
+ <key>settings</key>
+ <dict>
+ <key>preserveIndent</key>
+ <false/>
+ </dict>
+</dict>
+</plist>
View
4 Indentation Rules.tmPreferences 100644 → 100755
@@ -6,8 +6,12 @@
<string>source.r</string>
<key>settings</key>
<dict>
+ <key>decreaseIndentPattern</key>
+ <string>^\s*\}</string>
<key>bracketIndentNextLinePattern</key>
<string>^\s*\b(repeat\b|else\b|(((else\s+)?if|for|while)\s*\(.+\)))</string>
+ <key>unIndentedLinePattern</key>
+ <string>^.*#</string>
</dict>
</dict>
</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.