aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Odding <peter@peterodding.com>2011-02-24 20:11:13 +0100
committerPeter Odding <peter@peterodding.com>2011-02-24 20:11:13 +0100
commitd8a8c5ef9d2d9c48767b9f7f80ea37516fe4d755 (patch)
tree670d7b8f5f5736a2ee4148c5d8de981340c131c2
parent3b4db424731f952050b9e27917b842e1c2351641 (diff)
downloadvim-easytags-d8a8c5ef9d2d9c48767b9f7f80ea37516fe4d755.tar.gz
Don't highlight PHP functions not followed by `('
This improves accuracy because PHP doesn't have first class functions
-rw-r--r--autoload.vim3
-rw-r--r--easytags.vim2
2 files changed, 3 insertions, 2 deletions
diff --git a/autoload.vim b/autoload.vim
index 91b3a71..1607e45 100644
--- a/autoload.vim
+++ b/autoload.vim
@@ -522,7 +522,8 @@ endif
call easytags#define_tagkind({
\ 'filetype': 'php',
\ 'hlgroup': 'phpFunctions',
- \ 'filter': 'get(v:val, "kind") ==# "f"'})
+ \ 'filter': 'get(v:val, "kind") ==# "f"',
+ \ 'pattern_suffix': '(\@='})
call easytags#define_tagkind({
\ 'filetype': 'php',
diff --git a/easytags.vim b/easytags.vim
index 3c9c7df..2ae26ac 100644
--- a/easytags.vim
+++ b/easytags.vim
@@ -4,7 +4,7 @@
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.1.10
+" Version: 2.1.11
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip