Skip to content
Browse files

Exclude most all operators from being aligned. Thanks to robc.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Source.tmbundle@8856 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent dbcc748 commit a4ee01a22eba4383a525ec44800b0d25755aee34 @infininight infininight committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 Commands/Align Assignments.tmCommand
View
4 Commands/Align Assignments.tmCommand
@@ -1,5 +1,5 @@
<?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">
+<!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>
@@ -30,7 +30,7 @@
lines = STDIN.readlines()
selected_text = ENV.member?("TM_SELECTED_TEXT")
-relevant_line_pattern = /^[^=]+=/
+relevant_line_pattern = /^[^=]+[^-+&lt;&gt;=!%\/|&amp;*^]=(?!=|~)/
column_search_pattern = /[\t ]*=/

0 comments on commit a4ee01a

Please sign in to comment.
Something went wrong with that request. Please try again.