Skip to content

Commit f0345a8

Browse files
committed
Updated documentation of g:clang_format#auto_filetypes
1 parent 0c9ee5b commit f0345a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ option is not comptabile with Vim's `textwidth` feature. You must set
114114

115115
List of file types to which `g:clang_format#auto_format`, `g:clang_format#auto_format_on_insert_leave`,
116116
and `g:clang_format#auto_formatexpr` should be applied.
117-
The default value is `["c", "cpp", "objc", "java", "javascript", "proto", "arduino"]`.
117+
The default value is `["c", "cpp", "objc", "java", "javascript", "typescript", "proto", "arduino"]`.
118118

119119
- `g:clang_format#enable_fallback_style`
120120

doc/clang-format.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ g:clang_format#auto_filetypes *g:clang_format#auto_filetypes*
206206
|g:clang_format#auto_format_on_insert_leave|, and
207207
|g:clang_format#auto_formatexpr| should be applied.
208208
The default value is [ "c", "cpp", "objc", "java",
209-
\ "javascript", "proto", "arduino" ].
209+
\ "javascript", "typescript", "proto", "arduino" ].
210210

211211
g:clang_format#enable_fallback_style *g:clang_format#enable_fallback_style*
212212

0 commit comments

Comments
 (0)