Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@xolox authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  autoload.vim
  2. +1 −1  easytags.vim
View
3  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',
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.