lh-cpp mu-template ( ). /c/internals/c -file-header.template - :
VimL: let s:filename = s:path_from_root(expand('%:p'))
VimL: let s:prj_dox_group = lh
( : , foo.h foo.c(pp))
local_vimrc-like :
" File: /root/path/of/the/project/_vimrc_local.vim
:let b:my_prj_dox_group = "gMain" " you can override it in subfolders
:let b:sources_root = '/root/path/of/the/project' " for mu-template
:let b:includes = [b:sources_root . '/**'] " I can't remember which ftplugin uses b:includes
:let b:included_paths = [b:sources_root] " for ftplugin/c/c_AddInclude.vim
:let g:alternateSearchPath = 'sfr:.' " (or equivalent) for a.vim and for foo.cpp to include foo.h
BTW, lh-cpp :DOX, , doxygen ( @param [in/out/0], @return, @ingroup, @throw (noexcept ),... )
, :
bool jw_search ( int* list, int size, int key, int& rec )
NB: «»
PS: , , c.vim, .