Permalink
Browse files

Add better line comment softWrap settings.

  • Loading branch information...
1 parent 0869e89 commit b6c98e71225c6efbb4eb470790429697adc85171 @infininight infininight committed Dec 7, 2011
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Apostrophe</string>
+ <key>scope</key>
+ <string>comment.line.apostrophe</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(')\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>41448D3A-7265-49B1-BF8F-0E8F0A6A57CD</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Asterisk</string>
+ <key>scope</key>
+ <string>comment.line.asterisk</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(\*)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>CB39E715-315E-453E-92B3-6F03EF8DAD7F</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Backtick</string>
+ <key>scope</key>
+ <string>comment.line.backtick</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(`)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>CB0DCC73-E48C-4923-9CE4-B8E177CFC723</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Misc.</string>
+ <key>scope</key>
+ <string>comment.line.at-sign, comment.line.double-backslash, comment.line.double-dash, comment.line.double-dot, comment.line.exclamation, comment.line.double-percentage, comment.line.percentage</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(@|\\\\|--|\.\.|!|%%?)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>2645C181-6C31-4487-8F98-895A059781C0</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Number-sign</string>
+ <key>scope</key>
+ <string>comment.line.number-sign, comment.line.double-number-sign</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(##?)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>8CF53FBD-89AD-4F14-A268-1F061C02E91D</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Semicolon</string>
+ <key>scope</key>
+ <string>comment.line.semicolon</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(;)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>0B427248-5D44-4106-A47E-F706561BA8F7</string>
+</dict>
+</plist>
@@ -0,0 +1,24 @@
+<?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>Style: Line Comments - Slash</string>
+ <key>scope</key>
+ <string>comment.line.slash, comment.line.double-slash</string>
+ <key>settings</key>
+ <dict>
+ <key>indentedSoftWrap</key>
+ <dict>
+ <key>format</key>
+ <string>${0/\S/ /g}</string>
+ <key>match</key>
+ <string>.*(//?)\s+</string>
+ </dict>
+ <key>softWrap</key>
+ <true/>
+ </dict>
+ <key>uuid</key>
+ <string>B538AEB0-E3CE-48A6-8F32-D9AD82DC4085</string>
+</dict>
+</plist>

0 comments on commit b6c98e7

Please sign in to comment.