Update of /cvsroot/icomplete/icomplete
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30645
Modified Files:
ChangeLog configure cppcomplete.vim
Log Message:
added --tagfile option (patch by Yuxuan Wang)
Index: cppcomplete.vim
===================================================================
RCS file: /cvsroot/icomplete/icomplete/cppcomplete.vim,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cppcomplete.vim 19 Nov 2005 17:25:37 -0000 1.1.1.1
--- cppcomplete.vim 7 Apr 2006 00:15:08 -0000 1.2
***************
*** 42,51 ****
let res = []
" call icomplete and store the result in the array
" java and c# users must build their tags file manually
if &ft == "java" || &ft == "cs"
! let cmd = "icomplete --cache=0 -c " . s:cppcomplete_col . " -l " . s:cppcomplete_line . " " . s:cppcomplete_tmpfile
else
! let cmd = "icomplete --cache=1 -c " . s:cppcomplete_col . " -l " . s:cppcomplete_line . " " . s:cppcomplete_tmpfile
endif
--- 42,58 ----
let res = []
+ " check if set g:cppcomplete_tagfile
+ if exists('g:cppcomplete_tagfile')
+ let s:tagparam = " --tagfile=" . g:cppcomplete_tagfile
+ else
+ let s:tagparam = ""
+ endif
+
" call icomplete and store the result in the array
" java and c# users must build their tags file manually
if &ft == "java" || &ft == "cs"
! let cmd = "icomplete --cache=0 -c " . s:cppcomplete_col . " -l " . s:cppcomplete_line . s:tagparam . " " . s:cppcomplete_tmpfile
else
! let cmd = "icomplete --cache=1 -c " . s:cppcomplete_col . " -l " . s:cppcomplete_line . s:tagparam . " " . s:cppcomplete_tmpfile
endif
Index: configure
===================================================================
RCS file: /cvsroot/icomplete/icomplete/configure,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** configure 19 Nov 2005 17:25:37 -0000 1.1.1.1
--- configure 7 Apr 2006 00:15:08 -0000 1.2
***************
*** 5,9 ****
# these must be defined
PACKAGE="icomplete"
! VERSION="0.3"
PACKAGE_BUGREPORT="stu...@gm..."
PACKAGE_NAME="$PACKAGE - A C/C++ code completions system"
--- 5,9 ----
# these must be defined
PACKAGE="icomplete"
! VERSION="0.3.1"
PACKAGE_BUGREPORT="stu...@gm..."
PACKAGE_NAME="$PACKAGE - A C/C++ code completions system"
Index: ChangeLog
===================================================================
RCS file: /cvsroot/icomplete/icomplete/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChangeLog 19 Nov 2005 17:41:08 -0000 1.2
--- ChangeLog 7 Apr 2006 00:15:08 -0000 1.3
***************
*** 1,9 ****
! - version 0.3.1
! - completely new #include file parser, fixes problem of macos which does not understand \\s codes in regexps
! - improved java support
! - including a shell script to create a java tags file for system classes
! - placeholders work for more than two arguments now (forgot the 'g' in the
substitute command)
! - added sys/types.h in parse.h and tree.h which solves compiling under
MacOS X
--- 1,11 ----
! * version 0.3.1
! * -t option to specify different tags filename (patch by Yuxuan Wang)
! * completely new #include file parser, fixes problem of macos which does not understand \\s codes in regexps
! * fixes segfault (replaced mmap with fread)
! * improved java support
! * including a shell script to create a java tags file for system classes
! * placeholders work for more than two arguments now (forgot the 'g' in the
substitute command)
! * added sys/types.h in parse.h and tree.h which solves compiling under
MacOS X
|