Skip to content

Commit 78f6465

Browse files
authored
Merge pull request google#99 from rickyz/master
Enable clang-format for objc/objcpp files.
2 parents 874c686 + a982bad commit 78f6465

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: autoload/codefmt/clangformat.vim

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function! codefmt#clangformat#GetFormatter() abort
6565
function l:formatter.AppliesToBuffer() abort
6666
if &filetype is# 'c' || &filetype is# 'cpp' ||
6767
\ &filetype is# 'proto' || &filetype is# 'javascript' ||
68+
\ &filetype is# 'objc' || &filetype is# 'objcpp' ||
6869
\ &filetype is# 'typescript'
6970
return 1
7071
endif

0 commit comments

Comments
 (0)