diff options
author | Peter Odding <peter@peterodding.com> | 2010-08-11 12:33:39 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2010-08-11 12:33:39 +0200 |
commit | 7b041bd0ae8c65e80c84d20727b1eafaf04327bd (patch) | |
tree | 8d81397843561b5f1095a56702f83eed724182af /autoload.vim | |
parent | 2f73c57c857fc0a4f3bed718a90f0296890778a3 (diff) | |
download | vim-easytags-7b041bd0ae8c65e80c84d20727b1eafaf04327bd.tar.gz |
Always scan C sources for prototypes
Dynamic highlighting supports C/C++ function prototypes to enable
highlighting of library functions based on just the headers, but until
now the easytags.vim plug-in didn't request ctags to include function
prototypes. Now it does so automatically.
Diffstat (limited to 'autoload.vim')
-rw-r--r-- | autoload.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.vim b/autoload.vim index 7f7d313..1cb04ee 100644 --- a/autoload.vim +++ b/autoload.vim @@ -91,7 +91,7 @@ function! s:check_cfile(silent, filter_tags, have_args) " {{{3 endfunction function! s:prep_cmdline(cfile, tagsfile, firstrun, arguments) " {{{3 - let cmdline = [g:easytags_cmd, '--fields=+l'] + let cmdline = [g:easytags_cmd, '--fields=+l', '--c-kinds=+p', '--c++-kinds=+p'] if a:firstrun call add(cmdline, shellescape('-f' . a:tagsfile)) call add(cmdline, '--sort=' . (&ic ? 'foldcase' : 'yes')) |