Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Version 1.2

Supported new file types: *.cc, *.hh, *.cxx and *.hxx.

Added an option to findusage.vim plugin:
g:FindUsage_EqualFilesFilter
  • Loading branch information...
commit d64ccb878bdf2fafbabe6d28fa5c24b08b682463 1 parent 3c12a29
Luinnar . authored committed
Showing with 8 additions and 6 deletions.
  1. +5 −3 plugin/findusage.vim
  2. +3 −3 utags
View
8 plugin/findusage.vim
@@ -1,5 +1,5 @@
-" Maintainer: Alexei Mozhaev
-" Last Change: 23-Oct-12
+" Maintainer: Alexei Mozhaev (lxmzhv@gmail.com)
+" Last Change: 16-Nov-12
let $utags = "utags"
@@ -53,7 +53,9 @@ func! FindTagFiles( tagname, filter, proj_only )
let cmd = AddCmdFilter( cmd, a:filter )
endif
- let cmd = AddEqualFilesFilter( cmd )
+ if exists("g:FindUsage_EqualFilesFilter") && g:FindUsage_EqualFilesFilter
+ let cmd = AddEqualFilesFilter( cmd )
+ endif
"echo "Performing command: ".cmd
return system( cmd )
View
6 utags
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
-# Maintainer: Alexei Mozhaev
-# Last Change: 05-Jul-11
+# Maintainer: Alexei Mozhaev (lxmzhv@gmail.com)
+# Last Change: 16-Nov-12
WORD_CHARS='_a-zA-Z0-9'
MAX_FILE_NUM=100
@@ -63,7 +63,7 @@ case "$1" in
-n|--numbers) num_tags=1; shift ;;
esac
- find $@ -type f -name "*.[ch]" -o -name "*.[ch]pp" -o -name "*.in*" -o -name "*.py" -o -name "*.p[lm]" -o -name "*.sfdl" -o \! -name "*.*" |
+ find $@ -type f -name "*.[ch]" -o -name "*.[ch]pp" -o -name "*.[ch]xx" -o -name "*.cc" -o -name "*.hh" -o -name "*.in*" -o -name "*.py" -o -name "*.p[lm]" -o -name "*.i" -o \! -name "*.*" |
grep_source_code_files |
sed 's@^\./@@' |
while read fname
Please sign in to comment.
Something went wrong with that request. Please try again.