X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/1653128026c18e3abce0d9b81a05330a4227eaa9..24e3ac6deff61a37dfcb46eb662c59fa5215a501:/vim/ftplugin/cmake.vim?ds=inline diff --git a/vim/ftplugin/cmake.vim b/vim/ftplugin/cmake.vim index 3055d97..6eb785b 100644 --- a/vim/ftplugin/cmake.vim +++ b/vim/ftplugin/cmake.vim @@ -2,3 +2,13 @@ setlocal expandtab setlocal tabstop=2 setlocal shiftwidth=2 setlocal softtabstop=2 + +let g:switch_custom_definitions = + \ [ + \ ['ON', 'OFF'] + \ ] + +setlocal errorformat= +setlocal errorformat+=%+ICall\ Stack%.%#:,%Z\ \ %f:%l\ (%o) +setlocal errorformat+=%ECMake\ %trror%.%#\ at\ %f:%l\ (%o):,%Z\ \ %m +setlocal errorformat+=%WCMake\ %tarning%.%#\ at\ %f:%l\ (%o):,%Z\ \ %m