diff options
author | Peter Odding <peter@peterodding.com> | 2010-12-04 23:38:50 +0100 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2010-12-04 23:38:50 +0100 |
commit | d3551a3fa2315874ae522d5676882bfb7e568974 (patch) | |
tree | 1d2908953f8603501811d961886e7baea3d2b074 /autoload.vim | |
parent | ae3eb31b705401d21f9f643924dc358a12658b61 (diff) | |
download | vim-easytags-d3551a3fa2315874ae522d5676882bfb7e568974.tar.gz |
Highlighting for Python class names
Diffstat (limited to 'autoload.vim')
-rw-r--r-- | autoload.vim | 8 |
1 files changed, 7 insertions, 1 deletions
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 <peter@peterodding.com> -" Last Change: October 23, 2010 +" Last Change: December 4, 2010 " URL: http://peterodding.com/code/vim/easytags/ let s:script = expand('<sfile>: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 |