From a982bad70a1b1acbe44f5933252ff9fc5eb2210f Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Tue, 5 Jun 2018 22:32:50 -0700 Subject: [PATCH] Enable clang-format for objc/objcpp files. --- autoload/codefmt/clangformat.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/codefmt/clangformat.vim b/autoload/codefmt/clangformat.vim index 0a3810b..c725c81 100644 --- a/autoload/codefmt/clangformat.vim +++ b/autoload/codefmt/clangformat.vim @@ -65,6 +65,7 @@ function! codefmt#clangformat#GetFormatter() abort function l:formatter.AppliesToBuffer() abort if &filetype is# 'c' || &filetype is# 'cpp' || \ &filetype is# 'proto' || &filetype is# 'javascript' || + \ &filetype is# 'objc' || &filetype is# 'objcpp' || \ &filetype is# 'typescript' return 1 endif