Skip to content
Browse files

Fix header regexp.

  • Loading branch information...
1 parent e8d0f36 commit 54afc12fd1320447d1df6cdac37613929052731a @Rip-Rip committed Jan 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/clang_complete.vim
View
2 plugin/clang_complete.vim
@@ -137,7 +137,7 @@ function! s:ClangCompleteInit()
let b:clang_parameters .= '++'
endif
- if expand('%:e') =~ 'h*'
+ if expand('%:e') =~ 'h.*'
let b:clang_parameters .= '-header'
endif

0 comments on commit 54afc12

Please sign in to comment.
Something went wrong with that request. Please try again.