Permalink
Browse files

Move the syntax files around as well

  • Loading branch information...
1 parent d4d444b commit 522501cb7630426389ba5863a16a730219e340d7 @kemayo committed Sep 13, 2012
View
@@ -100,7 +100,7 @@ def format(line):
msg = self.window.new_file()
msg.set_scratch(True)
msg.set_name("COMMIT_EDITMSG")
- self._output_to_view(msg, template, syntax=plugin_file("Git Commit Message.tmLanguage"))
+ self._output_to_view(msg, template, syntax=plugin_file("syntax/Git Commit Message.tmLanguage"))
msg.sel().clear()
msg.sel().add(sublime.Region(0, 0))
GitCommitCommand.active_message = self
View
@@ -5,7 +5,6 @@
import subprocess
import functools
import os.path
-import re
import time
# when sublime loads a plugin it's cd'd into the plugin directory. Thus
View
@@ -1,7 +1,6 @@
import functools
import sublime
-import sublime_plugin
from git import GitTextCommand, GitWindowCommand, plugin_file
@@ -34,7 +33,7 @@ def run(self, edit):
def blame_done(self, result, position=None):
self.scratch(result, title="Git Blame", position=position,
- syntax=plugin_file("Git Blame.tmLanguage"))
+ syntax=plugin_file("syntax/Git Blame.tmLanguage"))
class GitLog(object):
@@ -75,7 +74,7 @@ def log_result(self, ref):
self.details_done)
def details_done(self, result):
- self.scratch(result, title="Git Commit Details", syntax=plugin_file("Git Commit Message.tmLanguage"))
+ self.scratch(result, title="Git Commit Details", syntax=plugin_file("syntax/Git Commit Message.tmLanguage"))
class GitLogCommand(GitLog, GitTextCommand):
@@ -132,7 +131,7 @@ def run(self, edit=None):
)
def log_done(self, result):
- self.scratch(result, title="Git Log Graph", syntax=plugin_file("Git Graph.tmLanguage"))
+ self.scratch(result, title="Git Log Graph", syntax=plugin_file("syntax/Git Graph.tmLanguage"))
class GitGraphCommand(GitGraph, GitTextCommand):
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 522501c

Please sign in to comment.