Skip to content

Commit

Permalink
re-enable syntastic for c, clang_complete branch
Browse files Browse the repository at this point in the history
Use @DarkDefender's clang_complete branch

See also: xavierd/clang_complete#464
  • Loading branch information
tony committed Jan 8, 2016
1 parent 80d0d31 commit 37da49f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 9 additions & 1 deletion bundles.d/lang.c-cxx.vim
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
NeoBundleLazy 'Rip-Rip/clang_complete', {
"NeoBundleLazy 'Rip-Rip/clang_complete', {
NeoBundleLazy 'DarkDefender/clang_complete', {
\ 'rev': 'deo_clang_py3',
\ 'autoload': {
\ 'filetypes':['c', 'cpp'],
\ 'external_commands' : ['clang'],
Expand All @@ -16,6 +18,12 @@ NeoBundleLazy 'jeaye/color_coded', {
\ 'disabled' : has('nvim')
\}

NeoBundle 'critiqjo/lldb.nvim', {
\ 'autoload': {
\ 'filetypes':['c', 'cpp'],
\ }
\ }

NeoBundleLazy 'rhysd/vim-clang-format',
\ { 'autoload' : { 'filetypes' : ['c', 'cpp', 'objc', 'objcpp'] } }

Expand Down
4 changes: 0 additions & 4 deletions settings/clang_complete.vim
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
if neobundle#tap('clang_complete')
function! neobundle#hooks.on_source(bundle)
let s:clang_library_path='/Library/Developer/CommandLineTools/usr/lib'
if isdirectory(s:clang_library_path)
let g:clang_library_path=s:clang_library_path
endif
endfunction

call neobundle#untap()
Expand Down
3 changes: 1 addition & 2 deletions settings/syntastic.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if neobundle#tap('syntastic')
" http://stackoverflow.com/a/23105873
let g:syntastic_html_checkers=['']
let g:syntastic_rst_checkers=['']
let g:syntastic_c_checkers=['']
let g:syntastic_ruby_checkers = ['mri', 'rubylint']

if executable('rubocop')
Expand All @@ -20,7 +19,7 @@ if neobundle#tap('syntastic')
" Disable syntastic for python (managed by python-mode)
let g:syntastic_mode_map = {
\ 'mode': 'active',
\ 'active_filetypes': ['ruby'],
\ 'active_filetypes': ['ruby', 'c'],
\ 'passive_filetypes': ['python', 'go', 'viml'] }

" Try to improve crippling performance
Expand Down

0 comments on commit 37da49f

Please sign in to comment.