Skip to content

Commit d1eedf2

Browse files
committed
Add Setting the hightlight the whole line with the error
1 parent 7d6d5dc commit d1eedf2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

SublimeDrupal.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fi
4343
echo "Linking up settings PHP.sublime-settings..."
4444
ln -fs "$st2Dir"DrupalSublimeConfig/PHP.sublime-settings "$st2UserDir"PHP.sublime-settings;
4545

46-
# Back up old PHP settings file
46+
# Back up old Preferences settings file
4747
if [ -f "$st2UserDir"Preferences.sublime-settings ]; then
4848
echo "Backing up previous version of Preferences.sublime-settings...";
4949
sudo cp -Lf "$st2UserDir"Preferences.sublime-settings "$st2UserDir"Preferences.sublime-settings.bak;
@@ -53,6 +53,16 @@ fi
5353
echo "Linking up settings Preferences.sublime-settings..."
5454
ln -fs "$st2Dir"DrupalSublimeConfig/Preferences.sublime-settings "$st2Settings";
5555

56+
# Back up old SublimeLinter settings file
57+
if [ -f "$st2UserDir"SublimeLinter.sublime-settings ]; then
58+
echo "Backing up previous version of SublimeLinter.sublime-settings...";
59+
sudo cp -Lf "$st2UserDir"SublimeLinter.sublime-settings "$st2UserDir"SublimeLinter.sublime-settings.bak;
60+
fi
61+
62+
# Link up new settings file
63+
echo "Linking up settings SublimeLinter.sublime-settings..."
64+
ln -fs "$st2Dir"DrupalSublimeConfig/SublimeLinter.sublime-settings "$st2UserDir"SublimeLinter.sublime-settings;
65+
5666
# Clone all the plugins!
5767
if [ ! -d "PACKAGE CONTROL" ]; then
5868
git clone https://github.com/wbond/sublime_package_control.git "Package Control";

0 commit comments

Comments
 (0)