From d8a8c5ef9d2d9c48767b9f7f80ea37516fe4d755 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Thu, 24 Feb 2011 20:11:13 +0100 Subject: Don't highlight PHP functions not followed by `(' This improves accuracy because PHP doesn't have first class functions --- autoload.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'autoload.vim') 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', -- cgit v1.2.3