diff options
author | Peter Odding <peter@peterodding.com> | 2013-07-16 20:50:22 +0200 |
---|---|---|
committer | Peter Odding <peter@peterodding.com> | 2013-07-16 20:50:22 +0200 |
commit | fddbe787be8a82b4e6258ab6776d445fafeeba18 (patch) | |
tree | b125af85970fb7e8b0390e1680782ce9d0a78aa4 | |
parent | aae2df969a3d233ccbcf9cbd56bce4abfcd9ffbe (diff) | |
parent | 57c43f31ce1904c877b10c8d4c09437d5ac43342 (diff) | |
download | vim-easytags-fddbe787be8a82b4e6258ab6776d445fafeeba18.tar.gz |
Merge pull request #59: Java interfaces support
See pull request #59 on GitHub:
https://github.com/xolox/vim-easytags/pull/59
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | autoload/xolox/easytags.vim | 10 | ||||
-rw-r--r-- | doc/easytags.txt | 2 |
3 files changed, 10 insertions, 4 deletions
@@ -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` diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index b98683e..7518867 100644 --- a/autoload/xolox/easytags.vim +++ b/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 diff --git a/doc/easytags.txt b/doc/easytags.txt index 3d762be..f8a499c 100644 --- a/doc/easytags.txt +++ b/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' |