Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Highlighting for Python class names

  • Loading branch information...
commit d3551a3fa2315874ae522d5676882bfb7e568974 1 parent ae3eb31
@xolox authored
Showing with 9 additions and 3 deletions.
  1. +7 −1 autoload.vim
  2. +2 −2 easytags.vim
View
8 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
View
4 easytags.vim
@@ -1,10 +1,10 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: November 20, 2010
+" Last Change: December 4, 2010
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.1.8
+" Version: 2.1.9
" 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.