Skip to content

Commit 5201cf2

Browse files
committed
disable detecting style files because it detects style files out of repositories
1 parent 2abea81 commit 5201cf2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/clang_format_spec.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ endfunction
8989
describe 'clang_format#format()'
9090

9191
before
92+
let g:clang_format#detect_style_file = 0
9293
new
9394
execute 'silent' 'edit!' './'.s:root_dir.'t/test.cpp'
9495
end
@@ -134,6 +135,7 @@ end
134135
describe '<Plug>(operator-clang-format)'
135136

136137
before
138+
let g:clang_format#detect_style_file = 0
137139
new
138140
execute 'silent' 'edit!' './'.s:root_dir.'t/test.cpp'
139141
map x <Plug>(operator-clang-format)
@@ -174,6 +176,7 @@ end
174176
describe ':ClangFormat'
175177

176178
before
179+
let g:clang_format#detect_style_file = 0
177180
new
178181
execute 'silent' 'edit!' './'.s:root_dir.'t/test.cpp'
179182
end

0 commit comments

Comments
 (0)