From d3551a3fa2315874ae522d5676882bfb7e568974 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Sat, 4 Dec 2010 23:38:50 +0100 Subject: Highlighting for Python class names --- autoload.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'autoload.vim') diff --git a/autoload.vim b/autoload.vim index 746e894..35b969f 100644 --- a/autoload.vim +++ b/autoload.vim @@ -1,6 +1,6 @@ " Vim script " Author: Peter Odding -" Last Change: October 23, 2010 +" Last Change: December 4, 2010 " URL: http://peterodding.com/code/vim/easytags/ let s:script = expand(':p:~') @@ -576,7 +576,13 @@ call easytags#define_tagkind({ \ 'filter': 'get(v:val, "kind") ==# "m"', \ 'pattern_prefix': '\.\@<='}) +call easytags#define_tagkind({ + \ 'filetype': 'python', + \ 'hlgroup': 'pythonClass', + \ 'filter': 'get(v:val, "kind") ==# "c"'}) + highlight def link pythonMethodTag pythonFunction +highlight def link pythonClassTag pythonFunction " Java. {{{2 -- cgit v1.2.3