diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-03-31 17:52:49 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-03-31 17:52:49 +0300 |
commit | 7217c7749e5403c9c7856c1d12c7986eb9c3b460 (patch) | |
tree | d60a112d9119a51af1cf5f590c5efad81751edf6 /dotfiles/.vim/autoload/neomake/makers/ft/objc.vim | |
parent | 9a3aa7b20a67c1b7991da1da9508ad5f78f76352 (diff) | |
download | vimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.tar.gz vimrice-7217c7749e5403c9c7856c1d12c7986eb9c3b460.zip |
Goodbye vim, been using neovim for ages now; home directory cleanup
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/objc.vim')
-rw-r--r-- | dotfiles/.vim/autoload/neomake/makers/ft/objc.vim | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/objc.vim b/dotfiles/.vim/autoload/neomake/makers/ft/objc.vim deleted file mode 100644 index 5b093f4..0000000 --- a/dotfiles/.vim/autoload/neomake/makers/ft/objc.vim +++ /dev/null @@ -1,55 +0,0 @@ -" vim: ts=4 sw=4 et - -function! neomake#makers#ft#objc#EnabledMakers() abort - let makers = ['clang', 'clangtidy', 'clangcheck'] - return makers -endfunction - -function! neomake#makers#ft#objc#clang() abort - " We will enable ARC and disable warnings about unused parameters because - " it is quite common in Cocoa not to use every method parameter. - return { - \ 'args': ['-fsyntax-only', '-fobjc-arc', '-Wall', '-Wextra', '-Wno-unused-parameter'], - \ 'errorformat': - \ '%-G%f:%s:,' . - \ '%f:%l:%c: %trror: %m,' . - \ '%f:%l:%c: %tarning: %m,' . - \ '%I%f:%l:%c: note: %m,' . - \ '%f:%l:%c: %m,'. - \ '%f:%l: %trror: %m,'. - \ '%f:%l: %tarning: %m,'. - \ '%I%f:%l: note: %m,'. - \ '%f:%l: %m' - \ } -endfunction - -" The -p option followed by the path to the build directory should be set in -" the maker's arguments. That directory should contain the compile command -" database (compile_commands.json). -function! neomake#makers#ft#objc#clangtidy() abort - return { - \ 'exe': 'clang-tidy', - \ 'errorformat': - \ '%E%f:%l:%c: fatal error: %m,' . - \ '%E%f:%l:%c: error: %m,' . - \ '%W%f:%l:%c: warning: %m,' . - \ '%-G%\m%\%%(LLVM ERROR:%\|No compilation database found%\)%\@!%.%#,' . - \ '%E%m', - \ } -endfunction - -function! neomake#makers#ft#objc#clangcheck() abort - return { - \ 'exe': 'clang-check', - \ 'errorformat': - \ '%-G%f:%s:,' . - \ '%f:%l:%c: %trror: %m,' . - \ '%f:%l:%c: %tarning: %m,' . - \ '%I%f:%l:%c: note: %m,' . - \ '%f:%l:%c: %m,'. - \ '%f:%l: %trror: %m,'. - \ '%f:%l: %tarning: %m,'. - \ '%I%f:%l: note: %m,'. - \ '%f:%l: %m', - \ } -endfunction |