From 6a3227866d0b6033a8146297819e4cf775c3b002 Mon Sep 17 00:00:00 2001 From: chaos Date: Wed, 10 Mar 2021 18:19:04 +0800 Subject: [PATCH] Refine doc with microsoft style --- README.md | 3 ++- doc/clang-format.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fce884..ea76474 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,9 @@ You can customize formatting using some variables. - `g:clang_format#code_style` `g:clang_format#code_style` is a base style. -`llvm`, `google`, `chromium`, `mozilla` is supported. +`llvm`, `google`, `chromium`, `mozilla`, `microsoft` is supported. The default value is `google`. +Please note that 'microsoft' style is added in clang-format 9. - `g:clang_format#style_options` diff --git a/doc/clang-format.txt b/doc/clang-format.txt index 7dccce8..968a867 100644 --- a/doc/clang-format.txt +++ b/doc/clang-format.txt @@ -130,7 +130,7 @@ g:clang_format#command *g:clang_format#command* g:clang_format#code_style *g:clang_format#code_style* Base coding style for formatting. Available coding styles are "llvm", - "google", "chromium" and "mozilla". + "google", "chromium", "mozilla" and "microsoft". The default value is "google". g:clang_format#style_options *g:clang_format#style_options*