Skip to content
This repository
Browse code

Highlighting for Python class names

  • Loading branch information...
commit d3551a3fa2315874ae522d5676882bfb7e568974 1 parent ae3eb31
Peter Odding authored December 04, 2010
8  autoload.vim
... ...
@@ -1,6 +1,6 @@
1 1
 " Vim script
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: October 23, 2010
  3
+" Last Change: December 4, 2010
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 
6 6
 let s:script = expand('<sfile>:p:~')
@@ -576,7 +576,13 @@ call easytags#define_tagkind({
576 576
       \ 'filter': 'get(v:val, "kind") ==# "m"',
577 577
       \ 'pattern_prefix': '\.\@<='})
578 578
 
  579
+call easytags#define_tagkind({
  580
+      \ 'filetype': 'python',
  581
+      \ 'hlgroup': 'pythonClass',
  582
+      \ 'filter': 'get(v:val, "kind") ==# "c"'})
  583
+
579 584
 highlight def link pythonMethodTag pythonFunction
  585
+highlight def link pythonClassTag pythonFunction
580 586
 
581 587
 " Java. {{{2
582 588
 
4  easytags.vim
... ...
@@ -1,10 +1,10 @@
1 1
 " Vim plug-in
2 2
 " Author: Peter Odding <peter@peterodding.com>
3  
-" Last Change: November 20, 2010
  3
+" Last Change: December 4, 2010
4 4
 " URL: http://peterodding.com/code/vim/easytags/
5 5
 " Requires: Exuberant Ctags (http://ctags.sf.net)
6 6
 " License: MIT
7  
-" Version: 2.1.8
  7
+" Version: 2.1.9
8 8
 
9 9
 " Support for automatic update using the GLVS plug-in.
10 10
 " GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip

0 notes on commit d3551a3

Please sign in to comment.
Something went wrong with that request. Please try again.