From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/syntastic | 1 + .../syntastic/syntax_checkers/cpp/clang_check.vim | 22 --------- .../syntastic/syntax_checkers/cpp/clang_tidy.vim | 22 --------- .../syntastic/syntax_checkers/cpp/cppcheck.vim | 22 --------- .../syntastic/syntax_checkers/cpp/cpplint.vim | 52 -------------------- vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim | 56 ---------------------- .../syntastic/syntax_checkers/cpp/oclint.vim | 22 --------- .../syntastic/syntax_checkers/cpp/pc_lint.vim | 23 --------- .../syntastic/syntax_checkers/cpp/verapp.vim | 48 ------------------- 9 files changed, 1 insertion(+), 267 deletions(-) create mode 160000 vim/bundle/syntastic delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim delete mode 100644 vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim (limited to 'vim/bundle/syntastic/syntax_checkers/cpp') diff --git a/vim/bundle/syntastic b/vim/bundle/syntastic new file mode 160000 index 0000000..cee74e0 --- /dev/null +++ b/vim/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit cee74e0c1af934065fd1b3046e53cda76574f703 diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim b/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim deleted file mode 100644 index cf9ec0c..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/clang_check.vim +++ /dev/null @@ -1,22 +0,0 @@ -"============================================================================ -"File: clang_check.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Benjamin Bannier -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -if exists('g:loaded_syntastic_cpp_clang_check_checker') - finish -endif -let g:loaded_syntastic_cpp_clang_check_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'clang_check', - \ 'redirect': 'c/clang_check'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim b/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim deleted file mode 100644 index 770d1f6..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/clang_tidy.vim +++ /dev/null @@ -1,22 +0,0 @@ -"============================================================================ -"File: clang_tidy.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Benjamin Bannier -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -if exists('g:loaded_syntastic_cpp_clang_tidy_checker') - finish -endif -let g:loaded_syntastic_cpp_clang_tidy_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'clang_tidy', - \ 'redirect': 'c/clang_tidy'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim b/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim deleted file mode 100644 index 4e0eb86..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/cppcheck.vim +++ /dev/null @@ -1,22 +0,0 @@ -"============================================================================ -"File: cppcheck.vim -"Description: Syntax checking plugin for syntastic.vim using cppcheck.pl -"Maintainer: LCD 47 -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -if exists('g:loaded_syntastic_cpp_cppcheck_checker') - finish -endif -let g:loaded_syntastic_cpp_cppcheck_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'cppcheck', - \ 'redirect': 'c/cppcheck'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim deleted file mode 100644 index 54984bb..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/cpplint.vim +++ /dev/null @@ -1,52 +0,0 @@ -"============================================================================ -"File: cpplint.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: LCD 47 -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('g:loaded_syntastic_cpp_cpplint_checker') - finish -endif -let g:loaded_syntastic_cpp_cpplint_checker = 1 - -if !exists('g:syntastic_cpp_cpplint_thres') - let g:syntastic_cpp_cpplint_thres = 5 -endif - -let s:save_cpo = &cpo -set cpo&vim - -function! SyntaxCheckers_cpp_cpplint_GetLocList() dict - let makeprg = self.makeprgBuild({ 'args': '--verbose=3' }) - - let errorformat = '%A%f:%l: %m [%t],%-G%.%#' - - let loclist = SyntasticMake({ - \ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'subtype': 'Style', - \ 'returns': [0, 1] }) - - " change error types according to the prescribed threshold - for e in loclist - let e['type'] = e['type'] < g:syntastic_cpp_cpplint_thres ? 'W' : 'E' - endfor - - return loclist -endfunction - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'cpplint', - \ 'exec': 'cpplint.py'}) - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim b/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim deleted file mode 100644 index 1243980..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/gcc.vim +++ /dev/null @@ -1,56 +0,0 @@ -"============================================================================ -"File: cpp.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Gregor Uhlenheuer -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('g:loaded_syntastic_cpp_gcc_checker') - finish -endif -let g:loaded_syntastic_cpp_gcc_checker = 1 - -if !exists('g:syntastic_cpp_compiler_options') - let g:syntastic_cpp_compiler_options = '' -endif - -let s:save_cpo = &cpo -set cpo&vim - -function! SyntaxCheckers_cpp_gcc_IsAvailable() dict - if !exists('g:syntastic_cpp_compiler') - let g:syntastic_cpp_compiler = executable(self.getExec()) ? self.getExec() : 'clang++' - endif - call self.log('g:syntastic_cpp_compiler =', g:syntastic_cpp_compiler) - return executable(expand(g:syntastic_cpp_compiler, 1)) -endfunction - -function! SyntaxCheckers_cpp_gcc_GetLocList() dict - return syntastic#c#GetLocList('cpp', 'gcc', { - \ 'errorformat': - \ '%-G%f:%s:,' . - \ '%f:%l:%c: %trror: %m,' . - \ '%f:%l:%c: %tarning: %m,' . - \ '%f:%l:%c: %m,'. - \ '%f:%l: %trror: %m,'. - \ '%f:%l: %tarning: %m,'. - \ '%f:%l: %m', - \ 'main_flags': '-x c++ -fsyntax-only', - \ 'header_flags': '-x c++', - \ 'header_names': '\m\.\(h\|hpp\|hh\)$' }) -endfunction - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'gcc', - \ 'exec': 'g++' }) - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim deleted file mode 100644 index 8217769..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/oclint.vim +++ /dev/null @@ -1,22 +0,0 @@ -"============================================================================ -"File: oclint.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: "UnCO" Lin -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -"============================================================================ - -if exists('g:loaded_syntastic_cpp_oclint_checker') - finish -endif -let g:loaded_syntastic_cpp_oclint_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'oclint', - \ 'redirect': 'c/oclint'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim b/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim deleted file mode 100644 index a7c95e8..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/pc_lint.vim +++ /dev/null @@ -1,23 +0,0 @@ -"============================================================================ -"File: pc_lint.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Steve Bragg -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -"============================================================================ - -if exists('g:loaded_syntastic_cpp_pc_lint_checker') - finish -endif -let g:loaded_syntastic_cpp_pc_lint_checker = 1 - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'pc_lint', - \ 'redirect': 'c/pc_lint'}) - -" vim: set sw=4 sts=4 et fdm=marker: diff --git a/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim b/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim deleted file mode 100644 index af1fd8c..0000000 --- a/vim/bundle/syntastic/syntax_checkers/cpp/verapp.vim +++ /dev/null @@ -1,48 +0,0 @@ -"============================================================================ -"File: verapp.vim -"Description: Syntax checking plugin for syntastic.vim -"Maintainer: Lucas Verney -"License: This program is free software. It comes without any warranty, -" to the extent permitted by applicable law. You can redistribute -" it and/or modify it under the terms of the Do What The Fuck You -" Want To Public License, Version 2, as published by Sam Hocevar. -" See http://sam.zoy.org/wtfpl/COPYING for more details. -" -" Tested with Vera++ 1.3.0 -"============================================================================ - -if exists('g:loaded_syntastic_cpp_verapp_checker') - finish -endif -let g:loaded_syntastic_cpp_verapp_checker = 1 - -if !exists('g:syntastic_verapp_config_file') - let g:syntastic_verapp_config_file = '.syntastic_verapp_config' -endif - -let s:save_cpo = &cpo -set cpo&vim - -function! SyntaxCheckers_cpp_verapp_GetLocList() dict - let makeprg = self.makeprgBuild({ - \ 'args': syntastic#c#ReadConfig(g:syntastic_verapp_config_file), - \ 'args_after': '--show-rule --no-duplicate -S -c -' }) - - let errorformat = '%f:%t:%l:%c:%m' - - return SyntasticMake({ - \ 'makeprg': makeprg, - \ 'errorformat': errorformat, - \ 'preprocess': 'checkstyle', - \ 'subtype': 'Style' }) -endfunction - -call g:SyntasticRegistry.CreateAndRegisterChecker({ - \ 'filetype': 'cpp', - \ 'name': 'verapp', - \ 'exec': 'vera++'}) - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set sw=4 sts=4 et fdm=marker: -- cgit v1.2.3