aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload.vim20
-rw-r--r--easytags.vim2
2 files changed, 21 insertions, 1 deletions
diff --git a/autoload.vim b/autoload.vim
index 1607e45..5cd12c5 100644
--- a/autoload.vim
+++ b/autoload.vim
@@ -602,6 +602,26 @@ call easytags#define_tagkind({
highlight def link javaClass Identifier
highlight def link javaMethod Function
+" C#. {{{2
+
+" TODO C# name spaces?
+" TODO C# interface names
+" TODO C# enumeration member names
+" TODO C# structure names?
+
+call easytags#define_tagkind({
+ \ 'filetype': 'cs',
+ \ 'hlgroup': 'csClassOrStruct',
+ \ 'filter': 'get(v:val, "kind") ==# "c"'})
+
+call easytags#define_tagkind({
+ \ 'filetype': 'cs',
+ \ 'hlgroup': 'csMethod',
+ \ 'filter': 'get(v:val, "kind") =~# "[ms]"'})
+
+highlight def link csClass Identifier
+highlight def link csMethod Function
+
" }}}
" Restore "cpoptions".
diff --git a/easytags.vim b/easytags.vim
index 2ae26ac..ebde502 100644
--- a/easytags.vim
+++ b/easytags.vim
@@ -4,7 +4,7 @@
" URL: http://peterodding.com/code/vim/easytags/
" Requires: Exuberant Ctags (http://ctags.sf.net)
" License: MIT
-" Version: 2.1.11
+" Version: 2.2
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3114 1 :AutoInstall: easytags.zip