aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/clang-format/clang-format-sublime.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/clang-format/clang-format-sublime.py')
-rw-r--r--clang/tools/clang-format/clang-format-sublime.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/tools/clang-format/clang-format-sublime.py b/clang/tools/clang-format/clang-format-sublime.py
index d41404e..73ff3dc 100644
--- a/clang/tools/clang-format/clang-format-sublime.py
+++ b/clang/tools/clang-format/clang-format-sublime.py
@@ -19,9 +19,10 @@ import subprocess
# Change this to the full path if clang-format is not on the path.
binary = 'clang-format'
-# Change this to format according to other formatting styles
-# (see clang-format -help).
-style = 'LLVM'
+# Change this to format according to other formatting styles. See the output of
+# 'clang-format --help' for a list of supported styles. The default looks for
+# a '.clang-format' file to indicate the style that should be used.
+style = 'file'
class ClangFormatCommand(sublime_plugin.TextCommand):
def run(self, edit):