Skip to content
This repository
Browse code

Don't highlight PHP functions not followed by `('

This improves accuracy because PHP doesn't have first class functions
  • Loading branch information...
commit d8a8c5ef9d2d9c48767b9f7f80ea37516fe4d755 1 parent 3b4db42
Peter Odding authored February 24, 2011
3  autoload.vim
@@ -522,7 +522,8 @@ endif
522 522
 call easytags#define_tagkind({
523 523
       \ 'filetype': 'php',
524 524
       \ 'hlgroup': 'phpFunctions',
525  
-      \ 'filter': 'get(v:val, "kind") ==# "f"'})
  525
+      \ 'filter': 'get(v:val, "kind") ==# "f"',
  526
+      \ 'pattern_suffix': '(\@='})
526 527
 
527 528
 call easytags#define_tagkind({
528 529
       \ 'filetype': 'php',
2  easytags.vim
@@ -4,7 +4,7 @@
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 " Requires: Exuberant Ctags (http://ctags.sf.net)
6 6
 " License: MIT
7  
-" Version: 2.1.10
  7
+" Version: 2.1.11
8 8
 
9 9
 " Support for automatic update using the GLVS plug-in.
10 10
 " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip

0 notes on commit d8a8c5e

Please sign in to comment.
Something went wrong with that request. Please try again.