abudden avatar abudden committed 44ea930

Added support for Matlab.

Comments (0)

Files changed (4)

 TagHighlight is a plugin that highlights names of classes, variables, types etc in source code in Vim.  This makes it quicker and easier to spot errors in your code.  By using exuberant ctags and parsing the output, the typedefs, #defines, enumerated names etc are all clearly highlighted in different colours.  As standard, it supports the following languages (but it's very easy to add more):
 
-* C/C++ (most of the testing has been with these);
+* C/C++ (most of the testing has been with these)
 * C#
 * Java
+* Matlab (functions only; may require custom ctags version)
 * Perl
 * PHP
 * Python

doc/TagHighlight.txt

 		* C/C++
 		* C#
 		* Java
+		* Matlab (function names only; may require custom ctags)
 		* Perl
 		* PHP
 		* Python
 
 2.1.2:  xxxx xxxxxx 2011   : Allow overriding the file-language relationship
                              without having to edit the language definitions.
+                             Added support for Matlab (if your version of
+                             ctags supports it).
 
 2.1.1:  23rd August 2011   : Addition of LanguageDetectionMethods option to
                              allow loading of types when FileType or Syntax

plugin/TagHighlight/data/kinds.txt

 	f:CTagsFunction
 make:
 	m:CTagsFunction
+matlab:
+	f:CTagsFunction
 pascal:
 	f:CTagsFunction
 	p:CTagsFunction

plugin/TagHighlight/data/languages/matlab.txt

+FriendlyName:matlab
+CTagsName:matlab
+PythonExtensionMatcher:m
+VimExtensionMatcher:m
+Suffix:matlab
+VimSyntaxes:matlab
+VimFileTypes:matlab
+
+# vim: ff=unix:noet
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.