Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #59: Java interfaces support

See pull request #59 on GitHub:
  #59
  • Loading branch information...
commit fddbe787be8a82b4e6258ab6776d445fafeeba18 2 parents aae2df9 + 57c43f3
@xolox authored
Showing with 10 additions and 4 deletions.
  1. +1 −1  README.md
  2. +8 −2 autoload/xolox/easytags.vim
  3. +1 −1  doc/easytags.txt
View
2  README.md
@@ -228,7 +228,7 @@ The easytags plug-in defines new highlighting groups for dynamically highlighted
* **AWK**: `awkFunctionTag`
* **C#:** `csClassOrStructTag`, `csMethodTag`
* **C, C++, Objective C:** `cTypeTag`, `cEnumTag`, `cPreProcTag`, `cFunctionTag`, `cMemberTag`
- * **Java:** `javaClassTag`, `javaMethodTag`
+ * **Java:** `javaClassTag`, `javaInterfaceTag`, `javaMethodTag`
* **Lua:** `luaFuncTag`
* **PHP:** `phpFunctionsTag`, `phpClassesTag`
* **Python:** `pythonFunctionTag`, `pythonMethodTag`, `pythonClassTag`
View
10 autoload/xolox/easytags.vim
@@ -1,9 +1,9 @@
" Vim script
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: June 22, 2013
+" Last Change: July 16, 2013
" URL: http://peterodding.com/code/vim/easytags/
-let g:xolox#easytags#version = '3.3.12'
+let g:xolox#easytags#version = '3.4'
" Plug-in initialization. {{{1
@@ -1052,11 +1052,17 @@ call xolox#easytags#define_tagkind({
call xolox#easytags#define_tagkind({
\ 'filetype': 'java',
+ \ 'hlgroup': 'javaInterface',
+ \ 'tagkinds': 'i'})
+
+call xolox#easytags#define_tagkind({
+ \ 'filetype': 'java',
\ 'hlgroup': 'javaMethod',
\ 'tagkinds': 'm'})
highlight def link javaClass Identifier
highlight def link javaMethod Function
+highlight def link javaInterface Identifier
" C#. {{{2
View
2  doc/easytags.txt
@@ -490,7 +490,7 @@ by the easytags plug-in:
- **C#:**'csClassOrStructTag', 'csMethodTag'
- **C, C++, Objective C:**'cTypeTag', 'cEnumTag', 'cPreProcTag',
'cFunctionTag', 'cMemberTag'
-- **Java:**'javaClassTag', 'javaMethodTag'
+- **Java:**'javaClassTag', 'javaInterfaceTag', 'javaMethodTag'
- **Lua:**'luaFuncTag'
- **PHP:**'phpFunctionsTag', 'phpClassesTag'
- **Python:**'pythonFunctionTag', 'pythonMethodTag', 'pythonClassTag'
Please sign in to comment.
Something went wrong with that request. Please try again.