remove bad plugins
authorBenjamin Doumenc <big.clop@gmail.com>
Wed, 10 Apr 2013 09:01:18 +0000 (11:01 +0200)
committerBenjamin Doumenc <big.clop@gmail.com>
Wed, 10 Apr 2013 09:01:18 +0000 (11:01 +0200)
58 files changed:
vim/vimfiles/bundle/ag.vim [deleted submodule]
vim/vimfiles/bundle/ctrlp [deleted submodule]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Debug.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Find.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Generation.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Libraries.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/LoadDataFile.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Option.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/ReadTypes.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/RunPythonScript.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/SpecialHandlers.vim [deleted file]
vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Version.vim [deleted file]
vim/vimfiles/bundle/tagHL/dist/make_taghighlight_release.py [deleted file]
vim/vimfiles/bundle/tagHL/doc/TagHighlight.txt [deleted file]
vim/vimfiles/bundle/tagHL/doc/tags [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight.vim [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.spec [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/kinds.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/language_defaults.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/c.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/csharp.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/java.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/matlab.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/perl.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/php.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/python.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/ruby.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/vhdl.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/options.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/release.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/version_info.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/instructions.txt [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/cmd.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.py [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.pyc [deleted file]
vim/vimfiles/bundle/tagHL/plugin/TagHighlight/version_check.py [deleted file]
vim/vimfiles/bundle/tagbar [deleted submodule]

diff --git a/vim/vimfiles/bundle/ag.vim b/vim/vimfiles/bundle/ag.vim
deleted file mode 160000 (submodule)
index 74f54c5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 74f54c5397a4d444e41867164915b35a6f25fb4f
diff --git a/vim/vimfiles/bundle/ctrlp b/vim/vimfiles/bundle/ctrlp
deleted file mode 160000 (submodule)
index 7251d9d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 7251d9dce85e45b41dab00d7d7032713847ed5ea
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Debug.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Debug.vim
deleted file mode 100644 (file)
index 9e72ca2..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLDebug') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLDebug = 1
-
-let TagHighlight#Debug#DebugLevels = [
-                       \ "None",
-                       \ "Critical",
-                       \ "Error",
-                       \ "Warning",
-                       \ "Status",
-                       \ "Information",
-                       \ ]
-
-function! TagHighlight#Debug#GetDebugLevel()
-       try
-               let debug_level = TagHighlight#Option#GetOption('DebugLevel')
-       catch /Unrecognised option/
-               " Probably loading the option file, so no debug level available
-               " yet, so assume 'Information'
-               let debug_level = 'Information'
-       endtry
-       let debug_num = index(g:TagHighlight#Debug#DebugLevels, debug_level)
-       if debug_num != -1
-               return debug_num
-       else
-               return index(g:TagHighlight#Debug#DebugLevels, 'Error')
-       endif
-endfunction
-
-function! TagHighlight#Debug#GetDebugLevelName()
-       let debug_level_num = TagHighlight#Debug#GetDebugLevel()
-       return g:TagHighlight#Debug#DebugLevels[debug_level_num]
-endfunction
-
-function! TagHighlight#Debug#DebugLevelIncludes(level)
-       let level_index = index(g:TagHighlight#Debug#DebugLevels, a:level)
-       if level_index == -1
-               let level_index = index(g:TagHighlight#Debug#DebugLevels, 'Critical')
-       endif
-       if level_index <= TagHighlight#Debug#GetDebugLevel()
-               return 1
-       else
-               return 0
-       endif
-endfunction
-
-function! TagHighlight#Debug#DebugUpdateTypesFile(filename)
-       " Update the types file with debugging turned on
-       if a:filename ==? 'None'
-               " Force case to be correct
-               let debug_file = 'None'
-       else
-               let debug_file = a:filename
-       endif
-
-       let debug_options = ["DebugFile","DebugLevel"]
-
-       " Store the old debug options
-       for dbg_option in debug_options
-               let stored_option_name = 'Stored'.dbg_option
-               if has_key(g:TagHighlightSettings, dbg_option)
-                       let g:TagHighlightSettings[stored_option_name] = g:TagHighlightSettings[dbg_option]
-               else
-                       let g:TagHighlightSettings[stored_option_name] = 'None'
-               endif
-       endfor
-
-       let g:TagHighlightSettings['DebugFile'] = debug_file
-       let g:TagHighlightSettings['DebugLevel'] = 'Information'
-
-       call TagHLDebug("========================================================", "Information")
-       call TagHighlight#Generation#UpdateAndRead(0)
-
-       " Get rid of the 'stored' versions of the debug options
-       for dbg_option in debug_options
-               let stored_option_name = 'Stored'.dbg_option
-               if g:TagHighlightSettings[stored_option_name] == 'None'
-                       unlet g:TagHighlightSettings[dbg_option]
-               else
-                       let g:TagHighlightSettings[dbg_option] = g:TagHighlightSettings[stored_option_name]
-               endif
-               unlet g:TagHighlightSettings[stored_option_name]
-       endfor
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Find.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Find.vim
deleted file mode 100644 (file)
index 514bffe..0000000
+++ /dev/null
@@ -1,218 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLFind') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLFind = 1
-
-" Tools for finding files.  When generating the tags and types file, we need
-" to decide where to place it.  If the user has configured the mode in which
-" everything is based on the current directory (which works well with the
-" project plugin), the current directory is what we use.  If the user wants to
-" search up for a tags file, we can look for an existing tags file and stop
-" when we find one, starting either from the current directory or source
-" directory.  If we don't, either use the current directory or the source file
-" directory (configuration).
-"
-" It should also be possible to place the tags file in a remote location and
-" use either the current directory, source directory or explicitly set
-" directory for the base of the scan.
-
-" Option structure:
-"
-" [gb]:TagHighlightSettings:
-"      DefaultDirModePriority:[Explicit,UpFromCurrent,UpFromFile,CurrentDirectory,FileDirectory]
-"      TagFileDirModePriority:["Default"] or as above
-"      TypesFileDirModePriority:As tag file
-"      ConfigFileDirModePriority:As tag file
-"      DefaultDirModeSearchWildcard:'' (look for tags file) or something specific (*.uvopt)?
-"      MaxDirSearchLevels: (integer)
-"
-" Explicit Locations:
-"
-"  [gb]:TagHighlightSettings:
-"    TagFileDirectory:str (NONE)
-"    TagFileName:str (tags)
-"    TypesFileDirectory:str (NONE)
-"    TypesPrefix:str (types)
-"    ProjectConfigFileName:str (taghl_config.txt)
-"    ProjectConfigFileDirectory:str (NONE)
-
-function! TagHighlight#Find#LocateFile(which, suffix)
-       call TagHLDebug("Locating file " . a:which . " with suffix " . a:suffix, 'Information')
-
-       " a:which is 'TAGS', 'TYPES', 'CONFIG'
-       let default_priority = TagHighlight#Option#GetOption('DefaultDirModePriority')
-       call TagHLDebug("Priority: " . string(default_priority), "Information")
-       let default_search_wildcards = TagHighlight#Option#GetOption('DefaultDirModeSearchWildcards')
-
-
-       let file = expand('<afile>')
-       if len(file) == 0
-               let file = expand('%')
-       endif
-
-       if a:which == 'TAGS'
-               " Suffix is ignored here
-               let filename = TagHighlight#Option#GetOption('TagFileName')
-               let search_priority = TagHighlight#Option#GetOption('TagFileDirModePriority')
-               let explicit_location = TagHighlight#Option#GetOption('TagFileDirectory')
-               let search_wildcards = TagHighlight#Option#GetOption('TagFileSearchWildcards')
-       elseif a:which == 'TYPES'
-               let filename = TagHighlight#Option#GetOption('TypesFilePrefix') . '_' .
-                                       \ a:suffix . "." .
-                                       \ TagHighlight#Option#GetOption('TypesFileExtension')
-               let search_priority = TagHighlight#Option#GetOption('TypesFileDirModePriority')
-               let explicit_location = TagHighlight#Option#GetOption('TypesFileDirectory')
-               let search_wildcards = TagHighlight#Option#GetOption('TypesFileSearchWildcards')
-       elseif a:which == 'CONFIG'
-               " Suffix is ignored here
-               let filename = TagHighlight#Option#GetOption('ProjectConfigFileName')
-               let search_priority = TagHighlight#Option#GetOption('ProjectConfigFileDirModePriority')
-               let explicit_location = TagHighlight#Option#GetOption('ProjectConfigFileDirectory')
-               let search_wildcards = TagHighlight#Option#GetOption('ProjectConfigFileSearchWildcards')
-       else
-               throw "Unrecognised file"
-       endif
-
-       if search_wildcards[0] == 'Default'
-               let search_wildcards = default_search_wildcards
-       endif
-
-       if search_priority[0] == 'Default'
-               let search_priority = default_priority
-       endif
-
-       " Ensure there's no trailing slash on 'explicit location'
-       if explicit_location[len(explicit_location)-1] == '/'
-               let explicit_location = explicit_location[:len(explicit_location)-2]
-       endif
-
-       " Result contains 'Found','FullPath','Directory','Filename','Exists']
-       let result = {}
-
-       for search_mode in search_priority
-               if search_mode == 'Explicit' && explicit_location != 'None'
-                       " Use explicit location, overriding everything else
-                       call TagHLDebug('Using explicit location', 'Information')
-                       let result['Directory'] = explicit_location
-                       let result['Filename'] = filename
-               elseif search_mode == 'UpFromCurrent'
-                       " Start in the current directory and search up
-                       let dir = fnamemodify('.',':p:h')
-                       let result = s:ScanUp(dir, search_wildcards)
-                       if has_key(result, 'Directory')
-                               call TagHLDebug('Found location with UpFromCurrent', 'Information')
-                               let result['Filename'] = filename
-                       endif
-               elseif search_mode == 'UpFromFile'
-                       " Start in the directory containing the current file and search up
-                       let dir = fnamemodify(file,':p:h')
-                       let result = s:ScanUp(dir, search_wildcards)
-                       if has_key(result, 'Directory')
-                               call TagHLDebug('Found location with UpFromFile', 'Information')
-                               let result['Filename'] = filename
-                       endif
-               elseif search_mode == 'CurrentDirectory'
-                       call TagHLDebug('Using current directory', 'Information')
-                       let result['Directory'] = fnamemodify('.',':p:h')
-                       let result['Filename'] = filename
-               elseif search_mode == 'FileDirectory'
-                       call TagHLDebug('Using file directory', 'Information')
-                       let result['Directory'] = fnamemodify(file,':p:h')
-                       let result['Filename'] = filename
-               endif
-               if has_key(result, 'Directory')
-                       let result['FullPath'] = result['Directory'] . '/' . result['Filename']
-                       let result['Found'] = 1
-                       call TagHLDebug('Found file location', 'Information')
-                       if filereadable(result['FullPath'])
-                               call TagHLDebug('File exists', 'Information')
-                               let result['Exists'] = 1
-                       else
-                               call TagHLDebug('File does not exist', 'Information')
-                               let result['Exists'] = 0
-                       endif
-                       break
-               endif
-       endfor
-
-       if ! has_key(result, 'Directory')
-               call TagHLDebug("Couldn't find path", 'Warning')
-               let result = {'Found': 0, 'Exists': 0}
-       endif
-
-       return result
-endfunction
-
-function! s:ScanUp(dir, wildcards)
-       let result = {}
-       let max_levels = TagHighlight#Option#GetOption('MaxDirSearchLevels')
-       let levels = 0
-       let new_dir = a:dir
-       let dir = ''
-       let found = 0
-
-       call TagHLDebug("Searching up from " . a:dir . " for " . string(a:wildcards), 'Information')
-
-       " new_dir != dir check looks for the root directory
-       while new_dir != dir
-               let dir = new_dir
-               let new_dir = fnamemodify(dir, ':h')
-               
-               call TagHLDebug("Trying " . dir, "Information")
-               for wildcard in a:wildcards
-                       let glob_pattern = dir
-                       if glob_pattern[len(glob_pattern)-1] != '/'
-                               let glob_pattern .= '/'
-                       endif
-                       let glob_pattern .= wildcard
-                       let glob_result = split(glob(glob_pattern), "\n")
-                       if len(glob_result) > 0
-                               for r in glob_result
-                                       if filereadable(r)
-                                               let found = 1
-                                       endif
-                               endfor
-                               if found
-                                       call TagHLDebug("Found match: " . dir . " (" . glob_pattern . ")", "Information")
-                                       let result['Directory'] = dir
-                                       let found = 1
-                                       break
-                               else
-                                       call TagHLDebug("Wildcard matches were not readable (directory?)", "Information")
-                               endif
-                       endif
-               endfor
-               if found
-                       break
-               endif
-
-               " Check for recursion limit
-               let levels += 1
-               if (max_levels > 0) && (levels >= max_levels)
-                       call TagHLDebug("Hit recursion limit", "Information")
-                       break
-               endif
-       endwhile
-       if new_dir == dir
-               " Must have reached root directory
-               call TagHLDebug("Reached root directory and stopped", "Information")
-       endif
-       return result
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Generation.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Generation.vim
deleted file mode 100644 (file)
index f8a6093..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLGeneration') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLGeneration = 1
-
-function! TagHighlight#Generation#UpdateTypesFile()
-       " Load the version information if we haven't already
-       call TagHighlight#Version#LoadVersionInfo()
-
-       " Debug information for configuration
-       if TagHighlight#Debug#DebugLevelIncludes('Information')
-               call TagHLDebug("Running UpdateTypesFile function at " . strftime("%Y%m%d-%H%M%S"), "Information")
-               call TagHLDebug("Current directory is " . getcwd(), "Information")
-               call TagHLDebug("Current file is " . expand('%:p'), "Information")
-               call TagHLDebug("Release Info:" . string(g:TagHighlightPrivate['PluginVersion']), "Information")
-               call TagHLDebug("Global options (g:TagHighlightSettings): " . string(g:TagHighlightSettings), "Information")
-               if exists('b:TagHighlightSettings')
-                       call TagHLDebug("Buffer options (b:TagHighlightSettings): " . string(b:TagHighlightSettings), "Information")
-               else
-                       call TagHLDebug("No buffer options set", "Information")
-               endif
-       endif
-
-       " Load the option file
-       let option_file_info = TagHighlight#Option#LoadOptionFileIfPresent()
-       " Debug information for configuration
-       if TagHighlight#Debug#DebugLevelIncludes('Information') && option_file_info['Exists']
-               call TagHLDebug("Project config file options: " . string(b:TagHighlightConfigFileOptions), "Information")
-       else
-               call TagHLDebug("Project config file does not exist", "Information")
-       endif
-       
-       " Call any PreUpdate hooks
-       let preupdate_hooks = TagHighlight#Option#GetOption('PreUpdateHooks')
-       for preupdate_hook in preupdate_hooks
-               call TagHLDebug("Calling pre-update hook " . preupdate_hook, "Information")
-               exe 'call' preupdate_hook . '()'
-       endfor
-       
-       " Most simple options are automatic.  The options below are
-       " handled manually.
-       
-       " Find the ctags path
-       let ctags_option = TagHighlight#Option#GetOption('CtagsExecutable')
-       if ctags_option == 'None'
-               " Option not set: search for 'ctags' in the path
-               call TagHLDebug("CtagsExecutable not set, searching for 'ctags' in path", "Information")
-               let b:TagHighlightSettings['CtagsExeFull'] = TagHighlight#RunPythonScript#FindExeInPath('ctags')
-       elseif ctags_option =~ '[\\/]'
-               " Option set and includes '/' or '\': must be explicit
-               " path to named executable: just pass to mktypes
-               call TagHLDebug("CtagsExecutable set with path delimiter, using as explicit path", "Information")
-               let b:TagHighlightSettings['CtagsExeFull'] = ctags_option
-       else
-               " Option set but doesn't include path separator: search
-               " in the path
-               call TagHLDebug("CtagsExecutable set without path delimiter, searching in path", "Information")
-               let b:TagHighlightSettings['CtagsExeFull'] = TagHighlight#RunPythonScript#FindExeInPath(ctags_option)
-       endif
-
-       let tag_file_info = TagHighlight#Find#LocateFile('TAGS', '')
-       if tag_file_info['Found'] == 1
-               let b:TagHighlightSettings['CtagsFileLocation'] = tag_file_info['Directory']
-       endif
-
-       let types_file_info = TagHighlight#Find#LocateFile('TYPES', '*')
-       if types_file_info['Found'] == 1
-               let b:TagHighlightSettings['TypesFileLocation'] = types_file_info['Directory']
-       endif
-
-       if TagHighlight#Option#GetOption('SourceDir') =~ 'None'
-               " The source directory has not been set.  If a project config file was
-               " found, use that directory.  If not, but a types file was found,
-               " use that directory.  If not, but a tag file was found, use that
-               " directory.  If not, use the current directory.
-               call TagHLDebug("No source dir set", "Information")
-               call TagHLDebug("Current directory is now " . getcwd(), "Information")
-               if ! TagHighlight#Option#GetOption('Recurse')
-                       call TagHLDebug("Non-recursive mode, using file directory", "Information")
-                       let file = expand('<afile>')
-                       if len(file) == 0
-                               let file = expand('%')
-                       endif
-                       call TagHLDebug("File is " . file . "(" . fnamemodify(file, ':p:h') . ")", "Information")
-                       let b:TagHighlightSettings['SourceDir'] = fnamemodify(file, ':p:h')
-               elseif option_file_info['Found'] == 1 && option_file_info['Exists'] == 1
-                       call TagHLDebug("Using project config file directory", "Information")
-                       let b:TagHighlightSettings['SourceDir'] = option_file_info['Directory']
-               elseif types_file_info['Found'] == 1 && types_file_info['Exists'] == 1
-                       call TagHLDebug("Using types file directory", "Information")
-                       let b:TagHighlightSettings['SourceDir'] = types_file_info['Directory']
-               elseif tag_file_info['Found'] == 1 && tag_file_info['Exists'] == 1
-                       call TagHLDebug("Using tags file directory", "Information")
-                       let b:TagHighlightSettings['SourceDir'] = tag_file_info['Directory']
-               else
-                       call TagHLDebug("Using current directory", "Information")
-                       let b:TagHighlightSettings['SourceDir'] = '.'
-               endif
-       else
-               call TagHLDebug("Source dir set explicitly to " . TagHighlight#Option#GetOption("SourceDir"), "Information")
-       endif
-       
-       call TagHLDebug("Running generator with options:", "Information")
-       for var in ["g:TagHighlightSettings","b:TagHighlightConfigFileOptions","b:TagHighlightSettings"]
-               if exists(var)
-                       call TagHLDebug(" - " . var . ": " . string(eval(var)), "Information")
-               else
-                       call TagHLDebug(" - " . var . ": UNSET", "Information")
-               endif
-       endfor
-       let RunOptions = TagHighlight#Option#CopyOptions()
-       call TagHighlight#RunPythonScript#RunGenerator(RunOptions)
-
-       let postupdate_hooks = TagHighlight#Option#GetOption('PostUpdateHooks')
-       for postupdate_hook in postupdate_hooks
-               call TagHLDebug("Calling post-update hook " . postupdate_hook, "Information")
-               exe 'call' postupdate_hook . '()'
-       endfor
-
-       call TagHLDebug("UpdateTypesFile() complete, current directory is now " . getcwd(), "Information")
-endfunction
-
-function! TagHighlight#Generation#UpdateAndRead(skiptags)
-       call TagHLDebug("UpdateAndRead() called with parameter " . a:skiptags, "Information")
-       let restore_options = 0
-       if exists('b:TagHighlightSettings')
-               let stored_options = deepcopy(b:TagHighlightSettings)
-               let restore_options = 1
-       else
-               let b:TagHighlightSettings = {}
-       endif
-
-       " Start with a copy of the settings so that we can tweak things
-       if a:skiptags
-               call TagHLDebug("Skipping tag generation", "Information")
-               let b:TagHighlightSettings['DoNotGenerateTags'] = 1
-       endif
-       
-       call TagHighlight#Generation#UpdateTypesFile()
-       let SavedTabNr = tabpagenr()
-       let SavedWinNr = winnr()
-       tabdo windo call TagHighlight#ReadTypes#ReadTypesByOption()
-       exe 'tabn' SavedTabNr
-       exe SavedWinNr . 'wincmd w'
-
-       unlet b:TagHighlightSettings
-       if restore_options
-               let b:TagHighlightSettings = deepcopy(stored_options)
-       endif
-       call TagHLDebug("UpdateAndRead() complete", "Information")
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Libraries.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Libraries.vim
deleted file mode 100644 (file)
index 821222e..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLLibraries') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLLibraries = 1
-
-function! TagHighlight#Libraries#LoadLibraries()
-       if has_key(g:TagHighlightPrivate,'Libraries')
-               " Already loaded
-               return
-       endif
-       call TagHLDebug("Loading standard library information", "Information")
-
-       let g:TagHighlightPrivate['LibraryPath'] = g:TagHighlightPrivate['PluginPath'] . '/standard_libraries'
-       let g:TagHighlightPrivate['Libraries'] = {}
-       let library_config_files = split(glob(g:TagHighlightPrivate['LibraryPath'] . '/*/library_types.txt'), '\n')
-
-       let required_keys = ["LibraryName","TypesFiles","CheckMode","TypesSuffixes"]
-       for library_config in library_config_files
-               call TagHLDebug("Loading information for " . library_config, "Information")
-               let skip = 0
-               let library_details = TagHighlight#LoadDataFile#LoadFile(library_config)
-               for key in required_keys
-                       if ! has_key(library_details, key)
-                               call TagHLDebug("Could not load library from " . library_config, "Warning")
-                               let skip = 1
-                               break
-                       endif
-               endfor
-               if skip
-                       continue
-               endif
-               " Config looks valid; check fields that should be lists are:
-               let list_keys = ["TypesFiles","TypesSuffixes","MatchREs"]
-               for key in list_keys
-                       if has_key(library_details,key) && type(library_details[key]) == type('')
-                               let value = library_details[key]
-                               unlet library_details[key]
-                               let library_details[key] = [value]
-                       endif
-               endfor
-               " Store the absolute path to the all types files
-               let library_details['TypesFileFullPaths'] = []
-               for types_file in library_details['TypesFiles']
-                       let library_details['TypesFileFullPaths'] += [fnamemodify(library_config, ':p:h') . '/' . types_file]
-               endfor
-
-               " Handle some defaults
-               if ! has_key(library_details,'MatchREs')
-                       " Default matcher will never match on any file
-                       let library_details['MatchREs'] = ['.\%^']
-               endif
-               if ! has_key(library_details, 'CustomFunction')
-                       " Default custom function will always return 'Skip'
-                       let library_details['CustomFunction'] = 'TagHighlight#Libraries#NeverMatch'
-               endif
-               if ! has_key(library_details, 'MatchLines')
-                       " Just use a suitable default value
-                       let library_details['MatchLines'] = 30
-               endif
-               
-               call TagHLDebug("Loaded library: " . string(library_details), "Information")
-               let g:TagHighlightPrivate['Libraries'][library_details['LibraryName']] = library_details
-       endfor
-endfunction
-
-function! TagHighlight#Libraries#FindUserLibraries()
-       " Open any explicitly configured libraries
-       call TagHLDebug("Searching for user libraries", "Information")
-       let user_library_dir = TagHighlight#Option#GetOption('UserLibraryDir')
-       let user_libraries = TagHighlight#Option#GetOption('UserLibraries')
-
-       call TagHLDebug("Library Dir: " . user_library_dir, "Information")
-       call TagHLDebug("Library List: " . string(user_libraries), "Information")
-
-       let libraries_to_load = []
-
-       for library in user_libraries
-               " If it looks like an absolute path, just load it
-               if (library[1] == ':' || library['0'] == '/') && filereadable(library)
-                       call TagHLDebug("User library is absolute path: " . library, "Information")
-                       let libraries_to_load +=
-                                               \ [{
-                                               \     'Name': 'User Library',
-                                               \     'Filename': fnamemodify(library, ':t'),
-                                               \     'Path': fnamemodify(library, '%:p'),
-                                               \ }]
-               " Otherwise, try appending to the library dir
-               elseif filereadable(user_library_dir . '/' . library)
-                       call TagHLDebug("User library is relative path: " . library, "Information")
-                       let library_path = user_library_dir . '/' . library
-                       let libraries_to_load +=
-                                               \ [{
-                                               \     'Name': 'User Library',
-                                               \     'Filename': fnamemodify(library_path, ':t'),
-                                               \     'Path': fnamemodify(library_path, '%:p'),
-                                               \ }]
-               else
-                       TagHLDebug("Cannot load user library " . library, "Error")
-               endif
-       endfor
-       return libraries_to_load
-endfunction
-
-function! TagHighlight#Libraries#FindLibraryFiles(suffix)
-       " Should only actually read the libraries once
-       call TagHLDebug("Finding library files for current file with suffix " . a:suffix, "Information")
-       call TagHighlight#Libraries#LoadLibraries()
-
-       let libraries_to_load = []
-       let forced_standard_libraries = TagHighlight#Option#GetOption('ForcedStandardLibraries')
-
-       if TagHighlight#Option#GetOption('DisableStandardLibraries')
-               call TagHLDebug("Standard library loading disabled", "Information")
-               return []
-       endif
-
-       for library in values(g:TagHighlightPrivate['Libraries'])
-               call TagHLDebug("Checking " . library['LibraryName'], "Information")
-               let load = 0
-               if index(library['TypesSuffixes'], a:suffix) != -1
-                       " Suffix is in the list of acceptable ones
-                       if index(forced_standard_libraries, library['LibraryName']) != -1
-                               call TagHLDebug("Library(".library['LibraryName']."): Forced", "Information")
-                               let load = 1
-                       elseif library['CheckMode'] == 'Always'
-                               call TagHLDebug("Library(".library['LibraryName']."): Always", "Information")
-                               let load = 1
-                       elseif library['CheckMode'] == 'MatchStart'
-                               call TagHLDebug("Library(".library['LibraryName']."): Checking MatchStart", "Information")
-                               for matcher in library['MatchREs']
-                                       call cursor(1,1)
-                                       if search(matcher, 'nc',library['MatchLines'])
-                                               call TagHLDebug("Library(".library['LibraryName']."): Match!", "Information")
-                                               let load = 1
-                                               break
-                                       endif
-                               endfor
-                       elseif library['CheckMode'] == 'MatchEnd'
-                               call TagHLDebug("Library(".library['LibraryName']."): Checking MatchEnd", "Information")
-                               for matcher in library['MatchREs']
-                                       call cursor(1000000,1000000)
-                                       if search(matcher, 'ncb', library['MatchLines'])
-                                               call TagHLDebug("Library(".library['LibraryName']."): Match!", "Information")
-                                               let load = 1
-                                               break
-                                       endif
-                               endfor
-                       elseif library['CheckMode'] == 'Custom'
-                               call TagHLDebug("Library(".library['LibraryName']."): Custom (".library['CustomFunction'].")", "Information")
-                               " The hope is that this won't really ever be used, but
-                               " call the function and check that it returns the right
-                               " kind of thing (takes suffix as parameter)
-                               exe 'let result = ' . library['CustomFunction'] . '(' . a:suffix . ')'
-                               if result == 'Load'
-                                       call TagHLDebug("Custom result: Load", "Information")
-                                       let load = 1
-                               elseif result == 'Skip'
-                                       call TagHLDebug("Custom result: Skip", "Information")
-                                       " Pass
-                               else
-                                       call TagHLDebug("Misconfigured library: custom function has invalid return value", "Critical")
-                               endif
-                       endif
-               endif
-               if load
-                       for full_path in library['TypesFileFullPaths']
-                               let libraries_to_load += 
-                                                       \ [{
-                                                       \     'Name': library['LibraryName'],
-                                                       \     'Filename': fnamemodify(full_path, ':t'),
-                                                       \     'Path': full_path,
-                                                       \ }]
-                       endfor
-               else
-                       call TagHLDebug("No match:" . library['LibraryName'], "Information")
-               endif
-       endfor
-
-       return libraries_to_load
-endfunction
-
-function! TagHighlight#Libraries#NeverMatch()
-       return 'Skip'
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/LoadDataFile.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/LoadDataFile.vim
deleted file mode 100644 (file)
index cbf2bc2..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLLoadDataFile') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLLoadDataFile = 1
-
-function! TagHighlight#LoadDataFile#LoadDataFile(filename)
-       let filename = g:TagHighlightPrivate['PluginPath'] . '/data/' . a:filename
-       return TagHighlight#LoadDataFile#LoadFile(filename)
-endfunction
-
-function! TagHighlight#LoadDataFile#LoadFile(filename)
-       let result = {}
-       let entries = readfile(a:filename)
-       
-       let top_key = ''
-       for entry in entries
-               if entry[0] == '#'
-               elseif entry[0] =~ '\k'
-                       " Keyword character, so not sub entry or comment
-                       if entry[len(entry)-1:] == ":"
-                               " Beginning of a field, but we don't know whether
-                               " it's a list of a dict yet
-                               let top_key = entry[:len(entry)-2]
-                       elseif stridx(entry, ':') != -1
-                               " This is key:value, so it's a simple dictionary entry
-                               let parts = split(entry, ':')
-                               " Rather coarse replacement of split(x,y,n)
-                               if len(parts) > 2
-                                       let parts[1] = join(parts[1:], ':')
-                               endif
-                               if stridx(parts[1], ',') != -1
-                                       " This entry is a list
-                                       let result[parts[0]] = split(parts[1], ',')
-                               else
-                                       let result[parts[0]] = parts[1]
-                               endif
-                               " Clear the top key as this isn't a multi-line entry
-                               let top_key = ''
-                       else
-                               call TagHLDebug("  Unhandled line: '" . entry . "'", "Error")
-                       endif
-               elseif entry[0] == "\t" && top_key != ''
-                       " This is a continuation of a top level key
-                       if stridx(entry, ':') != -1
-                               " The key is a dictionary, check for mismatch:
-                               if has_key(result, top_key)
-                                       if type(result[top_key]) != type({})
-                                               call TagHLDebug("Type mismatch on line '".entry."': expected key:value", "Error")
-                                       endif
-                               else
-                                       let result[top_key] = {}
-                               endif
-                               " Handle the entry (without the preceding tab)
-                               let parts = split(entry[1:], ':')
-                               " Rather coarse replacement of split(x,y,n)
-                               if len(parts) > 2
-                                       let parts[1] = join(parts[1:], ':')
-                               endif
-                               if stridx(parts[1], ',') != -1
-                                       " This entry is a list
-                                       let result[top_key][parts[0]] = split(parts[1], ',')
-                               else
-                                       let result[top_key][parts[0]] = parts[1]
-                               endif
-                       else
-                               " This is a list of strings, check for mismatch
-                               if has_key(result, top_key)
-                                       if type(result[top_key]) != type([])
-                                               call TagHLDebug("Type mismatch on line '".entry."': didn't expect key:value", "Error")
-                                       endif
-                               else
-                                       let result[top_key] = []
-                               endif
-                               " Add to the list (without the preceding tag)
-                               let result[top_key] += [entry[1:]]
-                       endif
-               else
-                       " Probably a comment or blank line
-               endif
-       endfor
-       return result
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Option.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Option.vim
deleted file mode 100644 (file)
index 5894340..0000000
+++ /dev/null
@@ -1,169 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLOption') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLOption = 1
-
-let s:log_defaults = 1
-let g:TagHighlightOptionDefaults = {}
-
-function! TagHighlight#Option#LoadOptionFileIfPresent()
-       let option_file = TagHighlight#Find#LocateFile('CONFIG', '')
-
-       " Check whether we've found the option file
-       if ! option_file['Exists']
-               return
-       endif
-
-       " Got an option file, load it in:
-       let b:TagHighlightConfigFileOptions = TagHighlight#LoadDataFile#LoadFile(option_file['FullPath'])
-
-       return option_file
-endfunction
-
-function! TagHighlight#Option#LoadOptions()
-       if has_key(g:TagHighlightPrivate, 'PluginOptions')
-               return
-       endif
-
-       let g:TagHighlightPrivate['PluginOptions'] = []
-       let options = TagHighlight#LoadDataFile#LoadDataFile('options.txt')
-
-       for option_dest in keys(options)
-               if has_key(options[option_dest], 'VimOptionMap')
-                       let option = deepcopy(options[option_dest])
-                       let option['Destination'] = option_dest
-                       let g:TagHighlightPrivate['PluginOptions'] += [option]
-               endif
-       endfor
-endfunction
-
-function! TagHighlight#Option#GetOption(name)
-       " Check we've loaded the options
-       call TagHighlight#Option#LoadOptions()
-
-       " Check this option exists
-       let found = 0
-       for option in g:TagHighlightPrivate['PluginOptions']
-               if option['VimOptionMap'] == a:name
-                       let found = 1
-                       break
-               endif
-       endfor
-       if ! found
-               throw "Unrecognised option:" .a:name
-       endif
-
-       " Option priority (highest first):
-       " * buffer dictionary,
-       " * config file dictionary
-       " * global dictionary,
-       for var in ["g:TagHighlightSettings","b:TagHighlightConfigFileOptions","b:TagHighlightSettings"]
-               if exists(var)
-                       exe 'let present = has_key(' . var . ', a:name)'
-                       if present
-                               exe 'let opt = ' . var . '[a:name]'
-                       endif
-               endif
-       endfor
-
-       if ! exists('opt')
-               " We haven't found it, return the default
-               " Special cases first
-               if a:name == "DefaultDirModePriority"
-                       if TagHighlight#Option#GetOption("Recurse")
-                               let opt = ["Explicit","UpFromFile","CurrentDirectory"]
-                       else
-                               let opt = ["FileDirectory"]
-                       endif
-               else
-                       " Normal case
-                       let opt = option['Default']
-               endif
-       else
-       endif
-
-       if option['Type'] =~ 'list'
-               let result = []
-               if type(opt) == type('')
-                       if opt == '[]' || opt == ''
-                               let parsed_opt = []
-                       else
-                               let parsed_opt = [opt]
-                       endif
-               else
-                       let parsed_opt = opt
-               endif
-               for part in parsed_opt
-                       if part =~ '^OPT(\k\+)$'
-                               let value_name = part[4:len(part)-2]
-                               let result += [TagHighlight#Option#GetOption(value_name)]
-                       else
-                               let result += [part]
-                       endif
-               endfor
-       elseif option['Type'] == 'bool'
-               if opt =~ 'True' || opt == 1
-                       let result = 1
-               elseif opt =~ 'False' || opt == 0
-                       let result = 0
-               else
-                       throw "Unrecognised bool value"
-               endif
-       elseif option['Type'] == 'string'
-               if opt =~ '^OPT(\k\+)$'
-                       let value_name = opt[4:len(opt)-2]
-                       let result = TagHighlight#Option#GetOption(value_name)
-               else
-                       let result = opt
-               endif
-       elseif option['Type'] == 'dict'
-               " This is a complex one: just assume it's valid Vim script
-               if type(opt) == type([])
-                       " Probably a multi-entry dict that has automatically been
-                       " split: rejoin
-                       let result = eval(join(opt, ', '))
-               elseif type(opt) == type("")
-                       let result = eval(opt)
-               else
-                       let result = opt
-               endif
-       elseif option['Type'] == 'int'
-               let result = str2nr(opt)
-       endif
-       return result
-endfunction
-
-function! TagHighlight#Option#CopyOptions()
-       let result = {}
-       for var in ["g:TagHighlightSettings","b:TagHighlightConfigFileOptions","b:TagHighlightSettings"]
-               if exists(var)
-                       for key in keys(eval(var))
-                               if type(eval(var)[key]) == type([])
-                                       let result[key] = eval(var)[key][:]
-                               elseif type(eval(var)[key]) == type({})
-                                       let result[key] = deepcopy(eval(var)[key])
-                               else
-                                       let result[key] = eval(var)[key]
-                               endif
-                       endfor
-               endif
-       endfor
-       return result
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/ReadTypes.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/ReadTypes.vim
deleted file mode 100644 (file)
index e3833d1..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLReadTypes') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLReadTypes = 1
-
-let s:all_ft_methods = ['Extension', 'Syntax', 'FileType']
-
-function! TagHighlight#ReadTypes#ReadTypesByOption()
-       let ft_methods = TagHighlight#Option#GetOption('LanguageDetectionMethods')
-       for method in ft_methods
-               if index(s:all_ft_methods, method) == -1
-                       echoerr "Invalid detection method: " . method . ": valid values are " .
-                                               \ string(s:all_ft_methods)
-               endif
-               if eval('TagHighlight#ReadTypes#ReadTypesBy'.method.'()') == 1
-                       call TagHLDebug("Success with method " . method, "Information")
-                       break
-               else
-                       call TagHLDebug("Could not find types with method " . method, "Information")
-               endif
-       endfor
-endfunction
-
-function! TagHighlight#ReadTypes#ReadTypesByExtension()
-       if ! s:MethodListed('Extension')
-               call TagHLDebug("Read Types by Extension not specified", "Information")
-               return 0
-       endif
-
-       let file = expand('<afile>')
-       if len(file) == 0
-               let file = expand('%')
-       endif
-       let extension = fnamemodify(file, ':e')
-
-       return s:ReadTypesImplementation('Extension', 'ExtensionLookup', extension, 's:ExtensionCheck')
-endfunction
-
-function! TagHighlight#ReadTypes#ReadTypesBySyntax()
-       if ! s:MethodListed('Syntax')
-               call TagHLDebug("Read Types by Syntax not specified", "Information")
-               return 0
-       endif
-
-       let result = 0
-       let syn = expand('<amatch>')
-       if len(syn) == 0
-               let syn = &syntax
-       endif
-
-       return s:ReadTypesImplementation('Syntax', 'SyntaxLookup', syn, 's:InListCheck')
-endfunction
-
-function! TagHighlight#ReadTypes#ReadTypesByFileType()
-       if ! s:MethodListed('FileType')
-               call TagHLDebug("Read Types by FileType not specified", "Information")
-               return 0
-       endif
-
-       let result = 0
-       let ft = expand('<amatch>')
-       if len(ft) == 0
-               let ft = &filetype
-       endif
-
-       return s:ReadTypesImplementation('FileType', 'FileTypeLookup', ft, 's:InListCheck')
-endfunction
-function! s:ExtensionCheck(this, expected)
-       let regex = '^'.a:expected.'$'
-       if a:this =~ regex
-               return 1
-       endif
-       return 0
-endfunction
-
-function! s:InListCheck(this, expected)
-       let split_list = split(a:expected, ",")
-       if index(split_list, a:this) != -1
-               return 1
-       endif
-       return 0
-endfunction
-
-function! s:MethodListed(method)
-       let ft_methods = TagHighlight#Option#GetOption('LanguageDetectionMethods')
-       if index(ft_methods, a:method) != -1
-               return 1
-       endif
-       return 0
-endfunction
-
-function! s:ReadTypesImplementation(type, lookup, reference, check_function)
-       let result = 0
-       if TagHighlight#Debug#DebugLevelIncludes('Information')
-               call TagHLDebug("Reading types with " . a:lookup . " at " . strftime("%Y%m%d-%H%M%S"), "Information")
-       endif
-       let user_overrides = TagHighlight#Option#GetOption(a:type . 'LanguageOverrides')
-       for dictionary in [user_overrides, g:TagHighlightPrivate[a:lookup]]
-               for key in keys(dictionary)
-                       if eval(a:check_function . '(a:reference, key)') == 1
-                               call s:ReadTypes(dictionary[key])
-                               let result = 1
-                               break
-                       endif
-               endfor
-               if result
-                       break
-               endif
-       endfor
-       return result
-endfunction
-
-function! s:ReadTypes(suffix)
-       let savedView = winsaveview()
-
-       call TagHighlight#Option#LoadOptionFileIfPresent()
-
-       if len(a:suffix) == 0
-               return
-       endif
-
-       let file = expand('<afile>')
-       if len(file) == 0
-               let file = expand('%')
-       endif
-
-       call TagHLDebug("Reading types of suffix " . a:suffix . " for file " . file, "Information")
-
-       if TagHighlight#Option#GetOption('DisableTypeParsing') == 1
-               call TagHLDebug("Type file parsing disabled", 'Status')
-               return
-       endif
-
-       let fullname = expand(file . ':p')
-
-       let skiplist = TagHighlight#Option#GetOption('ParsingSkipList')
-       if len(skiplist) > 0
-               let basename = expand(file . ':p:t')
-               if index(skiplist, basename) != -1
-                       call TagHLDebug("Skipping file due to basename match", 'Status')
-                       return
-               endif
-               if index(skiplist, fullname) != -1
-                       call TagHLDebug("Skipping file due to fullname match", 'Status')
-                       return
-               endif
-       endif
-       "
-       " Call Pre Read hooks (if any)
-       let preread_hooks = TagHighlight#Option#GetOption('PreReadHooks')
-       for preread_hook in preread_hooks
-               call TagHLDebug("Calling pre-read hook " . preread_hook, 'Information')
-               exe 'call' preread_hook . '(fullname, a:suffix)'
-       endfor
-
-       call TagHLDebug("Searching for types file", 'Status')
-
-       " Clear any existing syntax entries
-       for group in g:TagHighlightPrivate['AllTypes']
-               exe 'syn clear' group
-       endfor
-
-       let b:TagHighlightLoadedLibraries = []
-       
-       let type_files = TagHighlight#ReadTypes#FindTypeFiles(a:suffix)
-       for fname in type_files
-               call TagHLDebug("Loading type highlighter file " . fname, 'Information')
-               exe 'so' fname
-               let b:TagHighlightLoadedLibraries +=
-                                       \ [{
-                                       \     'Name': 'Local',
-                                       \     'Filename': fnamemodify(fname, ':t'),
-                                       \     'Path': fnamemodify(fname, ':p'),
-                                       \ }]
-       endfor
-
-       " Load user libraries
-       let user_library_files = TagHighlight#Libraries#FindUserLibraries()
-       for lib in user_library_files
-               call TagHLDebug("Loading user library type highlighter file " . lib['Path'], 'Information')
-               exe 'so' lib['Path']
-               let b:TagHighlightLoadedLibraries += [lib]
-       endfor
-
-       " Now load any libraries that are relevant
-       let library_files = TagHighlight#Libraries#FindLibraryFiles(a:suffix)
-       for lib in library_files
-               call TagHLDebug("Loading standard library type highlighter file " . lib['Path'], 'Information')
-               exe 'so' lib['Path']
-               let b:TagHighlightLoadedLibraries += [lib]
-       endfor
-
-       " Handle any special cases
-       if has_key(g:TagHighlightPrivate['SpecialSyntaxHandlers'], a:suffix)
-               for handler in g:TagHighlightPrivate['SpecialSyntaxHandlers'][a:suffix]
-                       call TagHLDebug("Calling special handler " . handler, 'Information')
-                       exe 'call' handler . '()'
-               endfor
-       endif
-
-       " Call Post Read Hooks (if any)
-       let postread_hooks = TagHighlight#Option#GetOption('PostReadHooks')
-       for postread_hook in postread_hooks
-               call TagHLDebug("Calling post-read hook " . postread_hook, 'Information')
-               exe 'call' postread_hook . '(fullname, a:suffix)'
-       endfor
-
-       " Restore the view
-       call winrestview(savedView)
-       call TagHLDebug("ReadTypes complete", "Information")
-endfunction
-
-function! TagHighlight#ReadTypes#FindTypeFiles(suffix)
-       let results = []
-       let search_result = TagHighlight#Find#LocateFile('TYPES', a:suffix)
-       if search_result['Found'] == 1 && search_result['Exists'] == 1
-               let results += [search_result['FullPath']]
-       endif
-       return results
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/RunPythonScript.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/RunPythonScript.vim
deleted file mode 100644 (file)
index dcc3bd9..0000000
+++ /dev/null
@@ -1,360 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLRunPythonScript') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLRunPythonScript = 1
-
-let s:python_variant = 'None'
-
-" A simply python script that will try to import the print function
-" and will fail gracefully if the python version is too old.  It's
-" unlikely that the sys.hexversion check will ever fail as if the version
-" is older than 2.6, the import_check will have failed.  I've left it in,
-" however, in case I ever need to depend on 2.7
-let s:version_and_future_check = 
-                       \ "try:\n" .
-                       \ "    import import_check\n" .
-                       \ "    import vim\n" .
-                       \ "    import sys\n" .
-                       \ "    vim.command('''let g:taghl_python_version = '%s' ''' % sys.version)\n" .
-                       \ "    if sys.hexversion < 0x02060000:\n" .
-                       \ "        raise ValueError('Incorrect python version')\n" .
-                       \ "    vim.command('let g:taghl_python_operational = 1')\n" .
-                       \ "except:\n" .
-                       \ "    pass\n"
-
-" This script is responsible for finding a means of running the python app.
-" If vim is compiled with python support (and we can run a simple test
-" command), use that method.  If not, but python is in the path, use it to
-" run the script.  If python is not in path, we'll have to rely on a compiled
-" executable version.
-
-function! s:GetPath()
-       if has("win32")
-               let path = substitute($PATH, '\\\?;', ',', 'g')
-       else
-               let path = substitute($PATH, ':', ',', 'g')
-       endif
-       return path
-endfunction
-
-function! s:RunShellCommand(args)
-       let syscmd = ""
-       for arg in a:args
-               if len(syscmd) > 0
-                       let syscmd .= " "
-               endif
-               if stridx(arg, " ") != -1
-                       let syscmd .= shellescape(arg)
-               else
-                       let syscmd .= arg
-               endif
-       endfor
-       call TagHLDebug(syscmd, "Information")
-       let result = system(syscmd)
-       echo result
-       return result
-endfunction
-
-function! TagHighlight#RunPythonScript#RunGenerator(options)
-       " Will only actually load the options once
-       call TagHighlight#Option#LoadOptions()
-
-       " This will only search for python the first time or if
-       " the variant priority or forced variant preferences have
-       " changed.
-       call TagHighlight#RunPythonScript#FindPython()
-
-       call TagHLDebug("Using variant: " .s:python_variant, "Information")
-
-       if index(["if_pyth","if_pyth3"], s:python_variant) != -1
-               let PY = s:python_cmd[0]
-               exe PY 'from module.utilities import TagHighlightOptionDict' 
-               exe PY 'from module.worker import RunWithOptions'
-               exe PY 'options = TagHighlightOptionDict()'
-               let handled_options = []
-               " We're using the custom interpreter: create an options object
-               " All options supported by both Vim and the Python script must
-               " have VimOptionMap and CommandLineSwitches keys
-               for option in g:TagHighlightPrivate['PluginOptions']
-                       if has_key(option, 'VimOptionMap') && 
-                                               \ has_key(option, 'CommandLineSwitches') &&
-                                               \ has_key(a:options, option['VimOptionMap'])
-                               " We can handle this one automatically
-                               let pyoption = 'options["'.option['Destination'].'"]'
-                               if option['Type'] == 'bool'
-                                       let handled_options += [option['VimOptionMap']]
-                                       let value = a:options[option['VimOptionMap']]
-                                       if (value == 1) || (value == 'True')
-                                               exe PY pyoption '= True'
-                                       else
-                                               exe PY pyoption '= False'
-                                       endif
-                               elseif option['Type'] == 'string'
-                                       let handled_options += [option['VimOptionMap']]
-                                       exe PY pyoption '= r"""'.a:options[option['VimOptionMap']].'"""'
-                               elseif option['Type'] == 'int'
-                                       let handled_options += [option['VimOptionMap']]
-                                       exe PY pyoption '= ' . a:options[option['VimOptionMap']]
-                               elseif option['Type'] == 'list'
-                                       let handled_options += [option['VimOptionMap']]
-                                       exe PY pyoption '= []'
-                                       for entry in a:options[option['VimOptionMap']]
-                                               exe PY pyoption '+= [r"""' . entry . '"""]'
-                                       endfor
-                               endif
-                       endif
-               endfor
-               for check_opt in keys(a:options)
-                       if index(handled_options, check_opt) == -1
-                               call TagHLDebug("Unhandled run option: " . check_opt, "Information")
-                       endif
-               endfor
-               exe PY 'RunWithOptions(options)'
-       elseif index(["python","compiled"], s:python_variant) != -1
-               let args = s:python_cmd[:]
-               " We're calling the script externally, build a list of arguments
-               for option in g:TagHighlightPrivate['PluginOptions']
-                       if has_key(option, 'VimOptionMap') && 
-                                               \ has_key(option, 'CommandLineSwitches') &&
-                                               \ has_key(a:options, option['VimOptionMap'])
-                               if type(option['CommandLineSwitches']) == type([])
-                                       let switch = option['CommandLineSwitches'][0]
-                               else
-                                       let switch = option['CommandLineSwitches']
-                               endif
-                               if switch[:1] == "--"
-                                       let as_one = 1
-                               elseif switch[:0] == "-"
-                                       let as_one = 0
-                               else
-                                       call TagHLDebug("Invalid configuration for option " . option['VimOptionMap'], "Error")
-                               endif
-                               " We can handle this one automatically
-                               if option['Type'] == 'bool'
-                                       if (a:options[option['VimOptionMap']] == 1) || (a:options[option['VimOptionMap']] == 'True')
-                                               let bvalue = 1
-                                       else
-                                               let bvalue = 0
-                                       endif
-                                       if (((bvalue == 1) && option['Default'] == 'False')
-                                                               \ || ((bvalue == 0) && option['Default'] == 'True'))
-                                               let args += [switch]
-                                       endif
-                               elseif option['Type'] == 'string'
-                                       if as_one == 1
-                                               let args += [switch . '=' . a:options[option['VimOptionMap']]]
-                                       else
-                                               let args += [switch, a:options[option['VimOptionMap']]]
-                                       endif
-                               elseif option['Type'] == 'int'
-                                       if as_one == 1
-                                               let args += [switch . '=' . a:options[option['VimOptionMap']]]
-                                       else
-                                               let args += [switch, a:options[option['VimOptionMap']]]
-                                       endif
-                               elseif option['Type'] == 'list'
-                                       for entry in a:options[option['VimOptionMap']]
-                                               if as_one == 1
-                                                       let args += [switch . '=' . entry]
-                                               else
-                                                       let args += [switch, entry]
-                                               endif
-                                       endfor
-                               endif
-                       endif
-               endfor
-               let sysoutput = s:RunShellCommand(args)
-       else
-               throw "Tag highlighter: invalid or not implemented python variant"
-       endif
-endfunction
-
-function! TagHighlight#RunPythonScript#FindExeInPath(file)
-       let full_file = a:file
-       if has("win32") || has("win32unix")
-               if a:file !~ '.exe$'
-                       let full_file = a:file . '.exe.'
-               endif
-       endif
-       let short_file = fnamemodify(full_file, ':p:t')
-       let file_exe_list = split(globpath(s:GetPath(), short_file), '\n')
-       
-       if len(file_exe_list) > 0 && executable(file_exe_list[0])
-               let file_exe = file_exe_list[0]
-       else
-               return 'None'
-       endif
-       "let file_exe = substitute(file_exe, '\\', '/', 'g')
-       return file_exe
-endfunction
-
-function! TagHighlight#RunPythonScript#FindPython()
-       let forced_variant = TagHighlight#Option#GetOption('ForcedPythonVariant')
-       " Supported variants
-       let supported_variants = ['if_pyth3', 'if_pyth', 'python', 'compiled']
-       " Priority of those variants (default is that specified above)
-       let variant_priority = TagHighlight#Option#GetOption('PythonVariantPriority')
-
-       " If we've run before and nothing has changed, just return
-       if s:python_variant != 'None'
-               if forced_variant == s:stored_forced_variant
-                                       \ && s:stored_variant_priority == variant_priority
-                                       \ && s:python_path == TagHighlight#Option#GetOption("PathToPython")
-                       return s:python_variant
-               endif
-       endif
-
-       let s:python_variant = 'None'
-       let s:python_version = 'Unknown'
-       let s:python_cmd = []
-       let s:python_path = ""
-
-       " Make sure that the user specified variant is supported
-       if index(supported_variants, forced_variant) == -1
-               let forced_variant = 'None'
-       endif
-
-       let s:stored_forced_variant = forced_variant
-       let s:stored_variant_priority = variant_priority
-
-       let add_to_py_path = substitute(g:TagHighlightPrivate['PluginPath'], '\\', '/','g')
-
-       " Make sure that all variants in the priority list are supported
-       call filter(variant_priority, 'index(supported_variants, v:val) != -1')
-
-       " Try each variant in the priority list until we find one that works
-       for variant in variant_priority
-               if forced_variant == variant || forced_variant == 'None'
-                       if variant == 'if_pyth3' && has('python3')
-                               " Check whether the python 3 interface works
-                               let g:taghl_findpython_testvar = 0
-                               try
-                                       py3 import sys
-                                       exe 'py3 sys.path = ["'.add_to_py_path.'"] + sys.path'
-                                       let g:taghl_python_operational = 0
-                                       exe 'py3' s:version_and_future_check
-                                       py3 import vim
-
-                                       if g:taghl_python_operational != 1
-                                               throw "Python doesn't seem to be working"
-                                       endif
-                                       let s:python_version = g:taghl_python_version
-                                       unlet g:taghl_python_operational
-                                       unlet g:taghl_python_version
-
-                                       " If we got this far, it should be working
-                                       let s:python_variant = 'if_pyth3'
-                                       let s:python_cmd = ['py3']
-                               catch
-                                       call TagHLDebug("Cannot use python3 interface", "Status")
-                               endtry
-                       elseif variant == 'if_pyth' && has('python')
-                               " Check whether the python 2 interface works
-                               let g:taghl_findpython_testvar = 0
-                               try
-                                       py import sys
-                                       exe 'py sys.path = ["'.add_to_py_path.'"] + sys.path'
-                                       let g:taghl_python_operational = 0
-                                       exe 'py' s:version_and_future_check
-                                       py import vim
-
-                                       if g:taghl_python_operational != 1
-                                               throw "Python doesn't seem to be working"
-                                       endif
-                                       let s:python_version = g:taghl_python_version
-                                       unlet g:taghl_python_operational
-                                       unlet g:taghl_python_version
-
-                                       " If we got this far, it should be working
-                                       let s:python_variant = 'if_pyth'
-                                       let s:python_cmd = ['py']
-                               catch
-                                       call TagHLDebug("Cannot use python2 interface", "Status")
-                               endtry
-                       elseif variant == 'python'
-                               " Try calling an external python
-                               
-                               " Has a specific path to python been set?
-                               let python_path = TagHighlight#Option#GetOption('PathToPython')
-                               if python_path != 'None' && executable(python_path)
-                                       " We've found python, it's probably usable
-                                       let s:python_variant = 'python'
-                                       let s:python_path = python_path
-                                       let s:python_cmd = [python_path, g:TagHighlightPrivate['PluginPath'] . '/TagHighlight.py']
-                               else
-                                       " See if it's in the path
-                                       let python_path = TagHighlight#RunPythonScript#FindExeInPath('python')
-                                       if python_path != 'None'
-                                               let s:python_variant = 'python'
-                                               let s:python_path = python_path
-                                               let s:python_cmd = [python_path, g:TagHighlightPrivate['PluginPath'] . '/TagHighlight.py']
-                                       endif
-                               endif
-
-                               " Now run some simple test code to make sure it works correctly and
-                               " is a reasonable version
-                               let result = s:RunShellCommand([s:python_path, g:TagHighlightPrivate['PluginPath'] . '/version_check.py'])
-                               let lines = split(result, '\n')
-                               let s:python_version = lines[1]
-                               if lines[0] != 'OK'
-                                       let s:python_variant = 'None'
-                                       let s:python_path = ''
-                                       let s:python_cmd = []
-                               endif
-                       elseif variant == 'compiled'
-                               " See if there's a compiled executable version of the
-                               " highlighter
-                               if has("win32")
-                                       let compiled_highlighter = split(globpath(&rtp, "plugin/TagHighlight/Compiled/Win32/TagHighlight.exe"), "\n")
-                                       if len(compiled_highlighter) > 0  && executable(compiled_highlighter[0])
-                                               let s:python_variant = 'compiled'
-                                               let s:python_version = 'Compiled Highlighter'
-                                               let s:python_cmd = [compiled_highlighter[0]]
-                                       endif
-                               elseif has("unix")
-                                       let compiled_highlighter = split(globpath(&rtp, "plugin/TagHighlight/Compiled/Linux/TagHighlight"), "\n")
-                                       if len(compiled_highlighter) > 0  && executable(compiled_highlighter[0])
-                                               let s:python_variant = 'compiled'
-                                               let s:python_version = 'Compiled Highlighter'
-                                               let s:python_cmd = [compiled_highlighter[0]]
-                                       endif
-                               endif
-                       endif
-               endif
-               
-               if s:python_variant != 'None'
-                       " Found one!
-                       break
-               endif
-       endfor
-
-       if s:python_variant != 'None'
-               call TagHLDebug("Python variant is " . s:python_variant, "Information")
-               call TagHLDebug("Python Command is " . join(s:python_cmd, " "), "Information")
-               call TagHLDebug("Python Path is " . s:python_path, "Information")
-               call TagHLDebug("Python version reported as: " . s:python_version,
-                                       \ 'Information')
-       else
-               throw "Tag highlighter: could not find python (2.6+) or the compiled version of the highlighter."
-       endif
-
-       return s:python_variant
-endfunction
-
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/SpecialHandlers.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/SpecialHandlers.vim
deleted file mode 100644 (file)
index e386f38..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLSpecialHandlers') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLSpecialHandlers = 1
-
-function! TagHighlight#SpecialHandlers#CRainbowHandler()
-       call TagHLDebug("Language handler for rainbow.vim compatibility", "Information")
-       if exists("b:hlrainbow") && ! exists("g:nohlrainbow")
-               " Use a dictionary as a set (a unique item list)
-               let hl_dict = {}
-               for key in ["c","c++"]
-                       if has_key(g:TagHighlightPrivate['Kinds'], key)
-                               for kind in values(g:TagHighlightPrivate['Kinds'][key])
-                                       let hl_dict[kind] = ""
-                               endfor
-                       endif
-               endfor
-               let all_kinds = keys(hl_dict)
-               for cluster in ["cBracketGroup","cCppBracketGroup","cCurlyGroup","cParenGroup","cCppParenGroup"]
-                       exe 'syn cluster' cluster 'add=' . join(all_kinds, ',')
-               endfor
-       endif
-endfunction
-
-function! TagHighlight#SpecialHandlers#JavaTopHandler()
-       call TagHLDebug("Language handler for javaTop compatibility", "Information")
-       if has_key(g:TagHighlightPrivate['Kinds'], 'java')
-               exe 'syn cluster javaTop add=' . join(values(g:TagHighlightPrivate['Kinds']['java']), ',')
-       endif
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Version.vim b/vim/vimfiles/bundle/tagHL/autoload/TagHighlight/Version.vim
deleted file mode 100644 (file)
index 8d92520..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHLVersion') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHLVersion = 1
-
-function! TagHighlight#Version#LoadVersionInfo()
-       if has_key(g:TagHighlightPrivate, 'PluginVersion')
-               return
-       endif
-
-       let g:TagHighlightPrivate['PluginVersion'] = {}
-       
-       let last_release_info = TagHighlight#LoadDataFile#LoadDataFile('release.txt')
-       let g:TagHighlightPrivate['PluginVersion']['LastRelease'] = last_release_info['release']
-
-       try
-               let release_version_info = TagHighlight#LoadDataFile#LoadDataFile('version_info.txt')
-               let g:TagHighlightPrivate['PluginVersion']['VersionInfo'] = release_version_info
-       catch /^Vim\%((\a\+)\)\=:E484/
-               " Not a release version
-               let g:TagHighlightPrivate['PluginVersion']['VersionInfo'] =
-                                       \ {
-                                       \    'release_clean': 'N/A',
-                                       \    'release_date': 'N/A',
-                                       \    'release_revid': 'N/A'
-                                       \ }
-       endtry
-endfunction
diff --git a/vim/vimfiles/bundle/tagHL/dist/make_taghighlight_release.py b/vim/vimfiles/bundle/tagHL/dist/make_taghighlight_release.py
deleted file mode 100644 (file)
index 91b0819..0000000
+++ /dev/null
@@ -1,197 +0,0 @@
-#!/usr/bin/python
-from __future__ import print_function
-
-import os
-import sys
-import zipfile
-import fnmatch
-import subprocess
-
-vimfiles_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),'..'))
-
-import socket
-hostname = socket.gethostname()
-
-GIT=["git"]
-
-# Recursive glob function, from
-# http://stackoverflow.com/questions/2186525/use-a-glob-to-find-files-recursively-in-python#2186565
-def Rglob(path, match):
-    matches = []
-    for root, dirnames, filenames in os.walk(path):
-        for filename in fnmatch.filter(filenames, match):
-            matches.append(os.path.join(root, filename))
-    return matches
-
-def UpdateReleaseVersion():
-    release_file = os.path.join(vimfiles_dir,'plugin/TagHighlight/data/release.txt')
-    fh = open(release_file,'r')
-    lines = [i for i in fh]
-    fh.close()
-    release = 'INVALID'
-    fh = open(release_file, 'wb')
-    for line in lines:
-        if line.startswith('release:'):
-            parts = line.strip().split(':')
-            numbers = [int(i) for i in parts[1].split('.')]
-            release = '{0}.{1}.{2}'.format(numbers[0],numbers[1],numbers[2]+1)
-            fh.write('release:'+release+'\n')
-        else:
-            fh.write(line.strip() + '\n')
-    fh.close()
-    return release
-
-version_info_initial = ['log','-1',"--format=format:release_revid:%H%nrelease_date:%ad","--date=iso"]
-clean_info = ['status', '--porcelain']
-
-def GenerateVersionInfo():
-    version_file = os.path.join(vimfiles_dir,'plugin/TagHighlight/data/version_info.txt')
-
-    args = GIT + clean_info
-    p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-    (stdout,stderr) = p.communicate()
-
-    status_lines = stdout
-    if len(status_lines) > 0:
-        clean = False
-        clean_line = "release_clean:0"
-    else:
-        clean = True
-        clean_line = "release_clean:1"
-
-    args = GIT + version_info_initial
-    p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-    (stdout,stderr) = p.communicate()
-
-    # Write as binary for consistent line endings
-    fh = open(version_file, 'wb')
-    fh.write(clean_line + "\n")
-
-    for line in stdout.split('\n'):
-        if line.startswith('release_'):
-            fh.write(line + '\n')
-    fh.close()
-
-    return version_file, clean
-
-def MakeMainRelease(r):
-    # List of paths to include (either explicit files or paths to search)
-    paths = {
-            '.py': ['plugin/TagHighlight',__file__],
-            '.vim': ['plugin/TagHighlight.vim','autoload/TagHighlight'],
-            '.txt': ['plugin/TagHighlight/data','plugin/TagHighlight/instructions.txt', 'doc/TagHighlight.txt'],
-            '.spec': ['plugin/TagHighlight/TagHighlight.spec'],
-            }
-    filename = 'taghighlight_r{0}.zip'.format(r)
-    MakeZipFile(filename, paths)
-
-def MakeZipFile(filename, paths):
-    # Create the zipfile
-    zipf = zipfile.ZipFile(os.path.join(vimfiles_dir, 'dist', filename), 'w')
-
-    # Collect the specified paths into a zip file
-    for ext, pathlist in paths.items():
-        for path in pathlist:
-            # Get the full path (specified relative to vimfiles directory)
-            full_path = os.path.join(vimfiles_dir, path)
-            if os.path.exists(full_path):
-                if os.path.isfile(full_path):
-                    files = [full_path]
-                elif os.path.isdir(full_path):
-                    files = Rglob(full_path, '*' + ext)
-                else:
-                    print("Unrecognised path: " + full_path)
-
-                if len(files) > 0:
-                    for f in files:
-                        dirname = os.path.dirname(os.path.relpath(f,vimfiles_dir))
-                        zipf.write(f,os.path.join(dirname, os.path.basename(f)), zipfile.ZIP_DEFLATED)
-                else:
-                    print("No files found for path: " + full_path)
-            else:
-                print("Path does not exist: " + full_path)
-    # Close the zipfile
-    zipf.close()
-
-def MakeLibraryPackage(r):
-    paths = {
-            '.txt': ['plugin/TagHighlight/standard_libraries'],
-            '.taghl': ['plugin/TagHighlight/standard_libraries'],
-            }
-    filename = 'taghighlight_standard_libraries_r{0}.zip'.format(r)
-    MakeZipFile(filename, paths)
-
-def MakeCompiled(pyexe, pyinstaller_path, zipfilename, platform_dir):
-    initial_dir = os.getcwd()
-    os.chdir(os.path.join(vimfiles_dir, 'plugin/TagHighlight'))
-    args = pyexe + [os.path.join(pyinstaller_path, 'Build.py'), '-y', 'TagHighlight.spec']
-    p = subprocess.Popen(args)#, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-    (stdout,stderr) = p.communicate()
-    zipf = zipfile.ZipFile(os.path.join(vimfiles_dir,'dist',zipfilename), 'w')
-    for f in Rglob(os.path.join(vimfiles_dir,'plugin/TagHighlight/Compiled/'+platform_dir),'*'):
-        dirname = os.path.dirname(os.path.relpath(f,vimfiles_dir))
-        zipf.write(f,os.path.join(dirname, os.path.basename(f)), zipfile.ZIP_DEFLATED)
-    zipf.close()
-    os.chdir(initial_dir)
-
-def MakeWin32Compiled(r):
-    if 'WINPYTHON' in os.environ:
-        # Doesn't work with spaces in the path
-        # (doing the split to allow for running python
-        # with wine).
-        pyexe = os.environ['WINPYTHON'].split(' ')
-    else:
-        pyexe = ['python.exe']
-    pyinstaller_path = os.environ['WINPYINSTALLERDIR']
-    MakeCompiled(pyexe, pyinstaller_path, 'taghighlight_r{0}_win32.zip'.format(r), 'Win32')
-
-def MakeLinuxCompiled(r):
-    if 'PYTHON' in os.environ:
-        # Doesn't work with spaces in the path
-        # (doing the split to allow for running python
-        # with wine).
-        pyexe = os.environ['PYTHON']
-    else:
-        pyexe = ['python']
-    pyinstaller_path = os.environ['PYINSTALLERDIR']
-    MakeCompiled(pyexe, pyinstaller_path, 'taghighlight_r{0}_linux.zip'.format(r), 'Linux')
-
-def CheckInChanges(r):
-    args = GIT+['add','plugin/TagHighlight/data/release.txt']
-    p = subprocess.Popen(args)
-    (stdout,stderr) = p.communicate()
-    args = GIT+['commit','-m','Release build {0}'.format(r)]
-    p = subprocess.Popen(args)
-    (stdout,stderr) = p.communicate()
-    args = GIT+['tag','taghighlight-release-{0}'.format(r)]
-    p = subprocess.Popen(args)
-    (stdout,stderr) = p.communicate()
-    args = GIT+['push','origin','master','--tags']
-    p = subprocess.Popen(args)
-    (stdout,stderr) = p.communicate()
-
-def PublishReleaseVersion():
-    # TODO
-    # This function will be used to push generated files to a remote location
-    # to make them available on the web
-    pass
-
-def main():
-    version_file, clean = GenerateVersionInfo()
-
-    if clean:
-        new_release = UpdateReleaseVersion()
-        MakeMainRelease(new_release)
-        os.remove(version_file)
-        MakeWin32Compiled(new_release)
-        MakeLinuxCompiled(new_release)
-        MakeLibraryPackage(new_release)
-        CheckInChanges(new_release)
-        PublishReleaseVersion()
-    else:
-        print("Distribution not clean: check into Git before making release.")
-        os.remove(version_file)
-
-
-if __name__ == "__main__":
-    main()
diff --git a/vim/vimfiles/bundle/tagHL/doc/TagHighlight.txt b/vim/vimfiles/bundle/tagHL/doc/TagHighlight.txt
deleted file mode 100644 (file)
index b7e6289..0000000
+++ /dev/null
@@ -1,1770 +0,0 @@
-*TagHighlight.txt*       Tag Highlighting
-
-Author:     A. S. Budden <abuddenNOSPAM@NOSPAMgmail.com>
-                       Remove NOSPAM.
-
-Copyright:  (c) 2009-2011 by A. S. Budden             *TagHighlight-copyright*
-            Permission is hereby granted to use and distribute this code,
-            with or without modifications, provided that this copyright
-            notice is copied with it. Like anything else that's free,
-            the TagHighlight plugin is provided *as is* and comes with no
-            warranty of any kind, either expressed or implied. By using
-            this plugin, you agree that in no event will the copyright
-            holder be liable for any damages resulting from the use
-            of this software.
-
-==============================================================================
-1. Contents                   *TagHighlight* *TagHighlight-contents*          {{{1
-
-       1.    Contents                           |TagHighlight-contents|
-
-       2.    TagHighlight Manual                |TagHighlight-manual|
-       2.1   Introduction                       |TagHighlight-intro|
-       2.2   Commands                           |TagHighlight-commands|
-       2.3   Colouring                          |TagHighlight-colours|
-       2.4   Configuration                      |TagHighlight-config|
-       2.4.1 How to Set Options                 |TagHighlight-how-options|
-       2.4.2 Example Configurations             |TagHighlight-example-configs||
-       2.4.3 Option Summary                     |TagHighlight-option-list|
-       2.4.4 Option Details                     |TagHighlight-option-details|
-       2.5   Installation                       |TagHighlight-install|
-       2.5.1 Requirements                       |TagHighlight-requirements|
-       2.5.2 Installation Guide                 |TagHighlight-install-guide|
-
-       3.    Standard Libraries                 |TagHighlight-standard-libraries|
-       3.1   Introduction                       |TagHighlight-stdlib-intro|
-       3.2   Adding More Standard Libraries     |TagHighlight-adding-libraries|
-
-       4.    TagHighlight Customisation         |TagHighlight-custom|
-       4.1   Adding More Languages              |TagHighlight-adding|
-       4.1.1 Example                            |TagHighlight-add-example|
-
-       5.    Troubleshooting                    |TagHighlight-troubleshooting|
-
-       6.    TagHighlight History               |TagHighlight-history|
-
-==============================================================================
-2. TagHighlight Manual           *TagHighlight-manual*                      {{{1
-
-2.1 Introduction                         *TagHighlight-intro*               {{{2
-
-       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 ctags and parsing the output, the typedefs,
-       #defines, enumerated names etc are all clearly highlighted in different
-       colours.
-
-       The idea was based on the comments in |tag-highlight|, but I wanted to
-       take it a little further.
-
-       This is achieved through a python script (also available as a compiled
-       executable if you don't have python: see |TagHighlight-requirements|) to
-       interact with ctags and to parse the result and a Vim script that makes
-       Vim read the resulting files.  Finally, a new command (|:UpdateTypesFile|)
-       is added (with optional ! for recursive operation) to keep the generated
-       files up to date.
-
-       At present, the highlighter supports the following languages:
-
-               * C/C++
-               * C#
-               * Java
-               * Matlab (function names only; may require custom ctags)
-               * Perl
-               * PHP
-               * Python
-               * Ruby (largely untested)
-               * VHDL (if your version of ctags supports it)
-
-       It should also work correctly with Charles Campbell's rainbow.vim bracket
-       highlighter.
-
-       The vast majority of the testing has been with C source code, so I'd be
-       very interested in any feedback on the use with C++ and the various other
-       languages.
-
-       Currently requires exuberant ctags or one of its derivatives.  Exuberant
-       ctags is available from:
->
-               http://ctags.sourceforge.net
-<
-       Adding more languages is extremely simple (as long as they're supported by
-       Exuberant ctags); see |TagHighlight-adding|.
-
-                                                            *TagHighlight-website*
-
-       Screenshots of the highlighter in operation are available at the website:
->
-               http://www.cgtk.co.uk/taghighlight
-<
-                                         *TagHighlight-source-code*
-
-       The plugin is distribute as source code (binaries of the python components
-       are also available for computers that do not have python installed) The
-       source code is managed using the Git version control system and is
-       available on github at:
->
-               https://github.com/abudden/taghighlight
-<
-
-------------------------------------------------------------------------------
-
-2.2 Commands                             *TagHighlight-commands*            {{{2
-
-       The following commands are provided by this plugin:
-
-       :UpdateTypesFile                 *:UpdateTypesFile*
-
-               This command creates the syntax highlighting file used to show the
-               extra colouring.  It then updates all of the open files automatically.
-               By default, it scans recursively into subdirectories of the top level
-               project source directory.  To find this, it looks for a file called
-               "tags" or a file called "taghl_config.txt" in the directory containing
-               the source code or any of its parents (all the way up to the root
-               directory).  If it finds one of these files, it assumes that the
-               directory containing the file also contains all of the source code.
-               If it can't find either of the files, it will use the current
-               directory.  This operation can be customised using the option
-               |TagHL-DefaultDirModePriority|.
-
-               NOTE: Recursion is now on by default.  To turn it off, set the option
-               |TagHL-Recurse| to be 'False' or 0.  This can either be done globally
-               in |g:TagHighlightSettings| or in a file named |taghl_config.txt| in
-               the directory containing the source file.
-
-       :UpdateTypesFileOnly             *:UpdateTypesFileOnly*
-
-               This command operates in the same manner as |UpdateTypesFile|, but
-               it uses the current tags file rather than generating a new one
-               (useful if you're generating tags files as part of your build
-               process.
-
-       :ReadTypes                       *:ReadTypes*
-
-               This comment can be used to manually read in any types files to
-               highlight keywords.  Generally not likely to be used as the
-               built-in autocmds should load the types files when a file is
-               loaded or the types files are updated.
-
-------------------------------------------------------------------------------
-
-2.3 Colouring                            *TagHighlight-colours*             {{{2
-
-       The tag highlighter uses a number of additional highlighting groups to
-       differentiate between different types of tag.  These are not supported as
-       standard by many colour schemes.  You can either download the "bandit"
-       colour scheme from:
->
-               http://www.cgtk.co.uk/bandit
-<
-       (screenshots of C source code on the |TagHighlight-website|) or you
-       can configure the extra highlighting groups yourself.  The following
-       highlight groups should be defined (others may be needed for different
-       languages):
-
-               Class           : Class
-               DefinedName     : Define
-               Enumerator      : Enumerator
-               Function        : Function or method
-               EnumerationName : Enumeration name
-               Member          : Member (of structure or class)
-               Structure       : Structure Name
-               Type            : Typedef
-               Union           : Union Name
-               GlobalConstant  : Global Constant
-               GlobalVariable  : Global Variable
-               LocalVariable   : Local Variable
-
-                                             *TagHighlight-language-colours*
-
-       To see the full list of supported groups for a given language, open up
-       plugin/TagHighlight/data/kinds.txt and find your language.  The bit after
-       CTags is the name of the highlight group.  For example, for C++, there is
-       the entry:
->
-               d:CTagsDefinedName
-<
-       so for this language, the highlight group 'DefinedName' can be used to
-       highlight defined names.
-
-       The easiest way to add these new groups to an existing colour scheme is to
-       download my |EasyColour| plugin from:
->
-               http://www.cgtk.co.uk/easycolour
-<
-       If you want to edit an existing colour scheme manually, an example of how
-       to highlight one of these would be to include the following line in your
-       colour scheme (see |:highlight|):
->
-               hi Enumerator guifg="c000c0"
-<
-       You can, of course, also link the groups to another highlighting group
-       using something like:
->
-               hi link Type Comment
-<
-       All groups are linked to the 'Keyword' type by default.  However, this
-       loses a lot of the advantages of having the tag highlighter in the first
-       place - being able to distinguish between different types!
-
-------------------------------------------------------------------------------
-
-2.4 Configuration                        *TagHighlight-config*              {{{2
-
-       There are a large number of configuration options that allow customisation
-       of the operation of the highlighter.  For simple use, none of these really
-       need to be set.  Options can be set globally, per project or per buffer;
-       see |TagHighlight-how-options| for more information.
-
-2.4.1 How to Set Options                 *TagHighlight-how-options*         {{{3
-
-       Options can be set globally, per project or per buffer.  Global options
-       are overridden by project options, which in turn are overridden by
-       buffer-specific options.
-
-       Global Options                   *g:TagHighlightSettings*
-
-               Global options are set in a global |Dictionary|.  The variable
-               name is |g:TagHighlightSettings|.  The keys in the dictionary are
-               the option names and the values are the option values.  The safest
-               way to set a value in this dictionary is to use something like
-               this:
->
-                       if ! exists('g:TagHighlightSettings')
-                               let g:TagHighlightSettings = {}
-                       endif
-                       let g:TagHighlightSettings['TagFileName'] = 'tagfile'
-                       let g:TagHighlightSettings['CtagsExecutable'] = 'etags.exe'
-<
-               If you want to override any existing options (or you want to be
-               lazy...) you can probably also do it this way:
->
-                       let g:TagHighlightSettings = {'TagFileName': 'tagfile', 'CtagsExecutable': 'etags.exe'}
-<
-       Project Options                  *taghl_config.txt*
-
-               Project options are set in a text file in the project directory.
-               The location of this file can be specified using the options
-               |TagHL-ProjectConfigDirModePriority| and (if an explicit location
-               is needed) |TagHL-ProjectConfigFileDirectory|.  By default. the
-               file name of the project config file is "taghl_config.txt".  If
-               for any reason you need to change this, it can be customised using
-               the option |TagHL-ProjectConfigFileName| (this probably needs to
-               be a Global option set in |g:TagHighlightSettings|.
-
-               The format of the project config file is a simple text file with
-               colons used to delimit keys and values.  A simple example would
-               look like this:
->
-                       SkipPatterns:Skip.*,AnotherPattern\d+
-                       IncludeLocals:1
-                       UserLibraryDir:c:/user_libraries
-                       PythonVariantPriority:
-                               if_pyth
-                               if_pyth3
-                               python
-                               compiled
-<
-               Most lines start with an option name (there is no leading
-               whitespace on these lines).  The option name is everything up to
-               the colon.  After the colon is the value.
-
-               For boolean options (such as Recurse and IncludeLocals in the
-               example above), any of True, 1, False or 0 are acceptable (note:
-               True and False are case sensitive).
-
-               For string entries (such as UserLibraryDir above), all of the text
-               after the first colon is treated as the value.
-
-               For list entries (such as SkipPatterns and PythonVariantPriority
-               above), you can either put all the entries on one line with commas
-               to separate them, or you can put one entry on each subsequeunt
-               line with a tab character at the start of the line.
-
-       Buffer Options                   *b:TagHighlightSettings*
-
-               Buffer specific options are set in a buffer-local |Dictionary| in
-               the same way as the global options in |g:TagHighlightSettings|.
-               The name of this |Dictionary| is |b:TagHighlightSettings|.  See
-               the description for |g:TagHighlightSettings| for usage
-               instructions.
-
-2.4.2 Example Configurations             *TagHighlight-example-configs*     {{{3
-
-       Introduction                                                          {{{4
-               
-               This section contains a few examples of configurations that may be
-               useful.  It is hoped that most users will be able to use TagHighlight
-               without setting any options at all, but these give some examples of
-               some more complex scenarios.
-       
-       Trivial Configuration                                                 {{{4
-
-               Use case: User has source code placed in multiple subdirectories and
-                         either has the current directory to be the project root or
-                         rarely deletes the tags file that is generated.
-
-               Implementation:
-
-                       First time round, use |:cd| to get to the project root and run:
->
-                               :UpdateTypesFile
-<
-                       After the first run, you can open any source file in the project,
-                       with the current directory set anywhere you like; the existing
-                       tags file will be found and the location of that will be used as
-                       the project root.
-
-       Low Complexity                                                        {{{4
-
-               Use case: User has source code all in one directory but has a lot of
-                         subdirectories that would take a long time to scan.  The
-                         user therefore wishes to disable recursive scanning.  User
-                                 project uses Qt4, so the user would like the classes etc
-                                 from Qt4 (e.g. QString) to be highlighted.
-
-               Implementation:
-                       
-                       Make sure that you have installed the standard libraries (see 
-                       |TagHighlight-install-stdlib|).  The Qt4 library will be loaded
-                       automatically.  Create a file called taghl_config.txt in the
-                       source directory.  In that file, add the following line (with no
-                       leading whitespace).
->
-                               Recurse:False
-<
-                       No other configuration should be necessary; just run:
->
-                               :UpdateTypesFile
-<
-       Medium Complexity                                                     {{{4
-
-               Use case: User has (C) source code in the current directory; project
-                                 uses an external library (stored elsewhere on the hard disk)
-                                 but user would like to highlight the keywords from the user
-                                 library as well as the keywords from the main project.  User
-                                 is running a version of Vim with dynamic support for BOTH
-                                 python2 and python3, but would like to use python 2 by
-                                 preference.  User would like to include local variables in
-                                 the highlighted keyword list.  Exuberant ctags is installed
-                                 in the system path with executable name 'etags'.
-
-               Implementation:
-
-                       First of all, we'll set TagHighlight up to use python 2 via the
-                       python interface and to recognise the non-standard ctags
-                       executable name.  In vimrc, add the following lines:
->
-                               if ! exists('g:TagHighlightSettings')
-                                       let g:TagHighlightSettings = {}
-                               endif
-                               let g:TagHighlightSettings['ForcedPythonVariant'] = 'if_pyth'
-                               let g:TagHighlightSettings['CtagsExecutable'] = 'etags'
-<
-                       Next, generate the types highlighter for the library.  Let's
-                       assume that the library is stored in /home/user/libraries/lib1.
-                       Open up a new Vim and type:
->
-                               :cd /home/user/libraries/lib1
-                               :UpdateTypesFile
-<
-                       That should create a file called types_c.taghl in the library
-                       directory.
-
-                       Now, create a project config file in the project directory.  The
-                       file should be called taghl_config.txt.  In that file, add the
-                       following lines (no leading whitespace):
->
-                               IncludeLocals:True
-                               UserLibraries:/home/user/libraries/lib1/types_c.taghl
-<
-                       Open any source file in the project and run:
->
-                               :UpdateTypesFile
-<
-
-2.4.3 Option Summary                     *TagHighlight-option-list*         {{{3
-
-       There are a lot of options for TagHighlight.  They are mentioned in this
-       section, grouped by their purpose.  You can find an alphabetical list with
-       more details in |TagHighlight-option-details|.  Along side each option
-       name is a link, starting with TagHL- and then the option name (to avoid
-       namespace clashes with other plugins).  Use CTRL-] on the TagHL- prefixed
-       option name to jump to detailed help on it.
-
-       What files to scan:
-
-               Languages                        Link:|TagHL-Languages|
-                       List of languages to scan when generating highlighter.
-
-               ParsingSkipList                  Link:|TagHL-ParsingSkipList|
-                  List of files for which types highlighter should not be loaded.
-
-               Recurse                          Link:|TagHL-Recurse|
-                  When generating tags, recurse into subdirectories.
-
-               SourceDir                        Link:|TagHL-SourceDir|
-                  Explicit location of the source code that you want to scan.
-
-       When to read the generated types file
-
-               LanguageDetectionMethods         Link:|TagHL-LanguageDetectionMethods|
-                       How to identify programming language and which |autocmd|s to run.
-
-               ExtensionLanguageOverrides       Link:|TagHL-ExtensionLanguageOverrides|
-                       Force a particular file extension to match a chosen language.
-                       
-               FileTypeLanguageOverrides        Link:|TagHL-FileTypeLanguageOverrides|
-                       Force a particular file type to match a chosen language.
-
-               SyntaxLanguageOverrides          Link:|TagHL-SyntaxLanguageOverrides|
-                       Force a particular Vim syntax to match a chosen language.
-
-       What to include in the generated types file
-
-               IncludeLocals                    Link:|TagHL-IncludeLocals|
-                  Include local variables (not context aware) in types highlighter.
-
-               IncludeSynMatches                Link:|TagHL-IncludeSynMatches|
-                  Include syntax matches in highlighter (see warning in details).
-
-               SkipPatterns                     Link:|TagHL-SkipPatterns|
-                  List of python REs for keywords that should be skipped.
-
-               SkipVimKeywords                  Link:|TagHL-SkipVimKeywords|
-                  Don't include vim keywords in highlighter.
-
-       Customisation:
-
-               PreReadHooks                     Link:|TagHL-PreReadHooks|
-                  List of functions to call before reading types.
-
-               PostReadHooks                    Link:|TagHL-PostReadHooks|
-                  List of functions to call after reading types.
-
-               PreUpdateHooks                   Link:|TagHL-PreUpdateHooks|
-                  List of functions to call before updating types.
-
-               PostUpdateHooks                  Link:|TagHL-PostUpdateHooks|
-                  List of functions to call after updating types.
-
-       Disabling built-in functionality:
-
-               DisableTypeParsing               Link:|TagHL-DisableTypeParsing|
-                  Don't read types highlighter (disable highlight functionality).
-
-               DoNotGenerateTags                Link:|TagHL-DoNotGenerateTags|
-                  Don't generate tags (use an existing tags file).
-
-       How to Run Python and Ctags:
-
-               ForcedPythonVariant              Link:|TagHL-ForcedPythonVariant|
-                  Specify specific python variant to use.
-
-               PathToPython                     Link:|TagHL-PathToPython|
-                  Specify path to python executable.
-
-               PythonVariantPriority            Link:|TagHL-PythonVariantPriority|
-                  Specify priority order of different python variants.
-
-               CtagsExecutable                  Link:|TagHL-CtagsExecutable|
-                  Specify the name of (or full path to) exuberant ctags.
-
-       Locations of Files (normal):
-
-               DefaultDirModeSearchWildcards    Link:|TagHL-DirModeSearchWildcards|
-                  What to search for when deciding which directory to use.
-
-               DefaultDirModePriority           Link:|TagHL-DefaultDirModePriority|
-                  Which directories to search by default.
-
-               MaxDirSearchLevels               Link:|TagHL-MaxDirSearchLevels|
-                  How far up the directory tree to search.
-
-       Location and name of Project Configuration File:
-
-               ProjectConfigFileDirModePriority Link:|TagHL-ProjectConfigFileDirModePriority|
-                  Which directories to search for project config file.
-
-               ProjectConfigFileDirectory       Link:|TagHL-ProjectConfigFileDirectory|
-                  Explicit location for project config file.
-
-               ProjectConfigFileName            Link:|TagHL-ProjectConfigFileName|
-                  File name for project config file.
-
-               ProjectConfigFileSearchWildcards Link:|TagHL-DirModeSearchWildcards|
-                  What to search for when deciding which directory to use.
-
-       Location and name of tag file:
-
-               TagFileDirModePriority           Link:|TagHL-TagFileDirModePriority|
-                  Which directories to search for tag file.
-
-               TagFileDirectory                 Link:|TagHL-TagFileDirectory|
-                  Explicit location for tag file.
-
-               TagFileName                      Link:|TagHL-TagFileName|
-                  File name for tag file.
-
-               TagFileSearchWildcards           Link:|TagHL-DirModeSearchWildcards|
-                  What to search for when deciding which directory to use.
-
-       Location and name of types file:
-
-               TypesFileDirModePriority         Link:|TagHL-TypesFileDirModePriority|
-                  Which directories to search for types highlighter file.
-
-               TypesFileDirectory               Link:|TagHL-TypesFileDirectory|
-                  Explicit location for types highlighter file.
-
-               TypesFileExtension               Link:|TagHL-TypesFileExtension|
-                  File extension for types highlighter file.
-
-               TypesFileNameForce               Link:|TagHL-TypesFileNameForce|
-                  Force an explicit file name for the types highlighter file.
-
-               TypesFilePrefix                  Link:|TagHL-TypesFilePrefix|
-                  Prefix for the types highlighter file.
-
-               TypesFileSearchWildcards         Link:|TagHL-DirModeSearchWildcards|
-                  What to search for when deciding which directory to use.
-
-       Libraries:
-
-               DisableStandardLibraries         Link:|TagHL-DisableStandardLibraries|
-                       Don't try loading standard libraries.
-
-               ForcedStandardLibraries          Link:|TagHL-ForcedStandardLibraries|
-                  Always load specified standard libraries.
-
-               UserLibraries                    Link:|TagHL-UserLibraries|
-                  List of user libraries that should be loaded.
-
-               UserLibraryDir                   Link:|TagHL-UserLibraryDir|
-                  Location of user libraries specified with relative path.
-
-       Debugging:
-
-               DebugLevel                       Link:|TagHL-DebugLevel|
-                       How much debugging information should be printed.
-
-               DebugFile                        Link:|TagHL-DebugFile|
-                       Write debug log to a file.
-
-               DebugPrintTime                   Link:|TagHL-DebugPrintTime|
-                       When writing to file, include timestamps.
-
-       Internal Use Only:
-
-               CtagsExeFull                     Link:|TagHL-CtagsExeFull|
-                       Internal use only.
-
-               CtagsFileLocation                Link:|TagHL-CtagsFileLocation|
-                  Internal use only.
-
-               TypesFileLocation                Link:|TagHL-TypesFileLocation|
-                  Internal use only.
-
-2.4.4 Option Details                     *TagHighlight-option-details*      {{{3
-
-       CtagsExeFull                         *TagHL-CtagsExeFull*
-               Used internally to tell the python part of the application where ctags
-               is.  Do not use this option as it will be automatically overwritten.
-               Instead, see |TagHL-CtagsExecutable|.
-
-       CtagsExecutable                      *TagHL-CtagsExecutable*
-               This option allows you to specify which exuberant ctags executable to
-               run.  You can either specify an absolute path (e.g. "/usr/bin/ctags")
-               or the name of an executable in the system path (e.g. "etags" if your
-               system names Exuberant ctags in that way).
-
-               Option Type: String
-               Default: "ctags"
-
-       CtagsFileLocation                    *TagHL-CtagsFileLocation*
-               Used internally to handle the location of the tag file.  Do not use
-               this option as it will be automatically overwritten.  Instead, see
-               |TagHL-DefaultDirModePriority|, |TagHL-TagFileDirModePriority| and
-               |TagHL-TagFileDirectory|.
-
-               See also |TagHL-TagFileName|.
-
-       DebugFile                            *TagHL-DebugFile*
-               If set to something other than "None" (the default), write debugging
-               messages to a file.
-
-               Option Type: String
-               Default: "None"
-
-       DebugLevel                           *TagHL-DebugLevel*
-               This is a string describing how much debugging information to print.
-               By default, this is set to 'Error': only errors or critical problems
-               are reported.  Possible values are: "None" (don't print anything),
-               "Critical" (only print critical errors, i.e. those where the plugin is
-               installed incorrectly or similar), "Error" (print errors and critical
-               problems), "Warning" (warn of potential issues), "Status" (report most
-               actions that are being carried out) or "Information" (report
-               everything that's happening).
-
-               Option Type: String
-               Default: "Error"
-
-       DebugPrintTime                       *TagHL-DebugPrintTime*
-               If True or 1, when writing debug information to a file (see the option
-               |TagHL-DebugFile|, prefix each entry with a timestamp.  Only supported
-               for messages generated in Vim, not by the python script.
-
-               Option Type: Boolean
-               Default: False
-
-       DefaultDirModePriority               *TagHL-DefaultDirModePriority*
-               There are several 'DirModePriority' options in addition to this one.
-               These are used to determine where to find or place the project
-               configuration file, the tags file and the types file.  The options
-               that configure each of these are |TagHL-ProjectConfigDirModePriority|,
-               |TagHL-TagFileDirModePriority| and |TagHL-TypesFileDirModePriority|.
-
-               By default, all three of these priority settings are set simply as
-               ["Default"].  Where "Default" is found in the list, the value of
-               |TagHL-DefaultDirModePriority| will be used.
-
-               When determining which directory to use, the plugin will try each of
-               the methods in order until it gets a match.  The available methods
-               of searching are:
-
-                       Explicit:
-                               If a directory has been explicitly set (using the option
-                               |TagHL-ProjectConfigFileDirectory| for project configuration
-                               files, the option |TagHL-TagFileDirectory| for tag files and
-                               the option |TagHL-TypesFileDirectory| for types highlighter
-                               files), this directory will be used if this dir mode is
-                               encountered.
-
-                       UpFromFile:
-                               The plugin will start in the directory containing the current
-                               file and look for any file matching the wildcards specified in
-                               the option |TagHL-DirModeSearchWildcards|.  If none of the
-                               wildcards match, it will try the parent directory and then
-                               keep trying one level higher until it either finds a match or
-                               reaches the top level directory (at which point the next
-                               dir mode will be tried if no match is found).  If you wish to
-                               stop it searching all the way to the top level directory, you
-                               can limit the number of levels with |TagHL-MaxDirSearchLevels|.
-
-                       UpFromCurrent:
-                               This works in the same way as UpFromFile, except that it
-                               starts in the current directory (see |:pwd| or |getcwd()|).
-
-                       CurrentDirectory:
-                               This will use the current working directory (see |:pwd| or
-                               |getcwd()|) explicitly (any dir modes following this one will
-                               never be used).
-
-                       FileDirectory:
-                               This will use the directory containing the currently open file
-                               (any dir modes following this one will never be used).
-
-               The default value is ["Explicit", "UpFromFile", "CurrentDirectory"].
-               Using the project config file as an example, when deciding where this
-               file should be, it will first check for the presence of the option
-               |TagHL-ProjectConfigFileDirectory|.  If this option is set, it will
-               use that directory.  If not, it will start in the directory containing
-               the currently open file and keep going up a level until it finds any
-               file matching one of the wildcards in |TagHL-DirModeSearchWildcards|.
-               If it reaches the top level directory without finding a file, it will
-               use Vim's current working directory.
-
-               Option Type: List
-               Default:
-                       If |TagHL-Recurse| is True (the default), the default is
-                       ["Explicit", "UpFromFile", "CurrentDirectory"].
-
-                       If |TagHL-Recurse| is False, the default is ["FileDirectory"].
-
-       DefaultDirModeSearchWildcards        *TagHL-DefaultDirModeSearchWildcards*
-               This option contains the wildcards that should be checked for when
-               trying to determine which directory to use (in either the UpFromFile
-               or UpFromCurrent dir mode).  The default is to match when either a
-               project configuration file is found or a tags file is found.
-
-               Note that the wildcard will only match against readable files, not
-               directories.
-
-               Option Type: List
-               Default: [value of TagFileName option, value of ProjectConfigFileName option]
-
-       DisableStandardLibraries             *TagHL-DisableStandardLibraries*
-               If installed, the standard libraries will automatically be loaded if
-               the conditions specified in their configuration file match.  Setting
-               this option to True or 1 will disable the checks and the standard
-               libraries will never be loaded.  For more information on standard
-               libraries, see |TagHighlight-standard-libraries|.
-
-               Option Type: Boolean
-               Default: False
-
-       DisableTypeParsing                   *TagHL-DisableTypeParsing*
-               This option disables loading of types highlighter files: no custom
-               types will be highlighted.
-
-               Option Type: Boolean
-               Default: False
-
-       DoNotGenerateTags                    *TagHL-DoNotGenerateTags*
-               If this option is set, calling |:UpdateTypesFile| will be functionally
-               equivalent to calling |:UpdateTypesFileOnly|: it will be assumed that
-               a tag file already exists and ctags will not be run.
-
-               Option Type: Boolean
-               Default: False (generate tags)
-
-       ExtensionLanguageOverrides           *TagHL-ExtensionLanguageOverrides*
-               If there are any entries in this dictionary, they will be used to
-               force a particular file extension to be treated as representing a
-               particular programming language.  The dictionary key is a Vim regular
-               expression that matches the file extension and the dictionary value is
-               the "suffix" defined for that language (the bit in between "types_"
-               and ".taghl" in the generated type highlighter file).
-
-               For example, to make all .svn files be treated as C files by the
-               highlighter (so that function names mentioned in your commit log are
-               highlighted), you could use something like this:
->
-                       let g:TagHighlightSettings['ExtensionLanguageOverrides'] =
-                                       \ {'svn': 'c'}
-<
-               To disable an extension from matching against a language, set the
-               dictionary value to an empty string ("").
-
-               This override will only work if 'Extension' is in the list of
-               |TagHL-LanguageDetectionMethods|.
-
-       FileTypeLanguageOverrides            *TagHL-FileTypeLanguageOverrides*
-               If there are any entries in this dictionary, they will be used to
-               force a particular file type to be treated as representing a
-               particular programming language.  The dictionary key is a Vim file
-               type (as reported by ":set ft?") and the dictionary value is the
-               "suffix" defined for that language (the bit in between "types_"
-               and ".taghl" in the generated type highlighter file).
-
-               To disable a file type from matching against a language, set the
-               dictionary value to an empty string ("").
-
-               This override will only work if 'FileType' is in the list of
-               |TagHL-LanguageDetectionMethods|.
-
-       ForcedPythonVariant                  *TagHL-ForcedPythonVariant*
-               There are a number of different python variants that are supported for
-               running the python part of the plugin.  If this option is set to one
-               of the strings that are supported by |TagHL-PythonVariantPriority|,
-               that variant will always be used (and the plugin will fail if that
-               variant is not available).
-
-               Option Type: String
-               Default: None (unset)
-
-       ForcedStandardLibraries              *TagHL-ForcedStandardLibraries*
-               Any standard library names that are listed in this option will be
-               loaded unconditionally.  For example, if this option is set to
-               ["Android SDK", "JDK"], the Android SDK highlight definitions and the
-               Java Development Kit highlight definitions will be loaded (as long as
-               the highlight libraries have been installed).  For more information,
-               see |TagHighlight-standard-libraries|.
-
-               Option Type: List
-               Default: [] (empty list)
-
-       IncludeLocals                        *TagHL-IncludeLocals*
-               If set to True or 1, local variables will be included in the types
-               highlighter file.  Note that ctags provides no context for these
-               local variables and (if support for Dr Chip's rainbow plugin is to be
-               provided) it would be impossible to make the highlighting context
-               sensitive anyway, so the names will be highlighted whereever they may
-               appear in the file.  As far as I am aware, there is no way round this,
-               but I'd be interested to hear from anyone who has a good suggestion.
-
-               Option Type: Boolean
-               Default: False
-
-       IncludeSynMatches                    *TagHL-IncludeSynMatches*
-               If set to True or 1, tags that cannot be highlighted with the Vim
-               command "syn keyword" will be highlighted using the Vim command
-               "syn match".  While this allows highlighting of a lot more tags,
-               it uses a regular expression matching engine and as the number of
-               tags increases, Vim gets slower and slower.  Therefore, use with
-               caution.
-
-               Option Type: Boolean
-               Default: False
-
-       LanguageDetectionMethods             *TagHL-LanguageDetectionMethods*
-               This option can be used to configure which methods are used for
-               detecting the language of a file in order to read the appropriate
-               highlight definition file.  There are three methods that are
-               available:
-
-                       Extension: Look at the extension of the current file and check
-                                          for matches with the VimExtensionMatcher in the
-                                          language definition files.
-
-                       FileType: Look at the file type that has been selected by Vim and
-                                 check for matches with the VimFileTypes list in the
-                                 language definition files.
-
-                       Syntax: Look at syntax that has been selected by Vim and check for
-                               matches with the VimSyntaxes list in the language
-                               definition files.  In most cases, you probably want to use
-                               FileType rather than Syntax.
-
-               When calling the either of the core commands (|:ReadTypes| and
-               |:UpdateTypesFile|), they are checked in the order specified in the
-               option.  In addition, there are |autocommand|s defined that will load
-               the definitions when reading or creating a new file (Extension match),
-               setting the |'syntax'| (Syntax match) or setting the |'filetype'|
-               (FileType match).  In each case, the |autocommand|s do nothing unless
-               the match type is listed in this option.
-
-               Option Type: List
-               Default: ['Extension']
-
-       Languages                            *TagHL-Languages*
-               By default, when |:UpdateTypesFile| is run, any files that ctags
-               recognises will be scanned for tags and types highlighters will be
-               generated for each language in the resulting tags file that is
-               supported by |TagHighlight|.  This option can be used to restrict both
-               the types and tags files to a limited set of languages.  For example,
-               if you have a directory with C code, Python code, Perl code and Ruby
-               code, but you only want to generated tags and types for C and Python,
-               set this option to ["c","python"].
-
-               Option Type: List
-               Default: [] (check all supported languages)
-
-       MaxDirSearchLevels                   *TagHL-MaxDirSearchLevels*
-               When searching for a directory in which to store or from which to read
-               the project config, tags or types highlighter files, there are two
-               modes (UpFromFile and UpFromCurrent) that can be used to start in a
-               particular directory and try every directory above that one until the
-               file is found.  If there is a need to limit the number of directories
-               that will be tried (mainly likely if there is a deeply nested
-               directory structure and Vim seems a little slow), this option can be
-               used.  If set to 0 (the default), it will keep going until it reaches
-               the root directory.  If the option is set to 1, it will only check the
-               current directory; if 2 it will check the current directory and the
-               parent directory etc.
-
-               For more information, see |TagHL-DefaultDirModePriority|.
-
-               Option Type: Integer
-               Default: 0
-
-       ParsingSkipList                      *TagHL-ParsingSkipList*
-               If you're editing a lot of files and for most you want tag highlight
-               to run but one or two you don't, put the filenames of the ones for
-               which you don't want highlighting in this list and the types
-               highlighter will not be loaded for those files.
-
-               Option Type: List
-               Default: [] (load types highlighter for all files)
-
-       PathToPython                         *TagHL-PathToPython*
-               When using the python variant "python" but with python not in the
-               path, this option allows you to specify the path to the python
-               executable.  See |TagHL-PythonVariantPriority| for more information.
-
-               Option Type: String
-               Default: None (look in path if required)
-
-       PreReadHooks                         *TagHL-PreReadHooks*
-               Any function names that are listed in this option will be called
-               immediately prior to reading the types highlighter file.  This can be
-               used to allow complex customisation of |TagHighlight| and is for
-               advanced users only.  If you find a use for this, or any of the other
-               hooks, please let me know as I'd be interested to hear your use case!
-               The function must accept two arguments: the first is the full path and
-               filename of the current source code file and the second is the
-               relevant language suffix specified in the corresponding language
-               definition file (see |TagHighlight-add-example|.
-
-               Option Type: List
-               Default: [] (no hooks)
-
-       PostReadHooks                        *TagHL-PostReadHooks*
-               Any function names that are listed in this option will be called
-               immediately after reading the types highlighter file.  This can be
-               used to allow complex customisation of |TagHighlight| and is for
-               advanced users only.  If you find a use for this, or any of the other
-               hooks, please let me know as I'd be interested to hear your use case!
-               The function must accept two arguments: the first is the full path and
-               filename of the current source code file and the second is the
-               relevant language suffix specified in the corresponding language
-               definition file (see |TagHighlight-add-example|.
-
-               Option Type: List
-               Default: [] (no hooks)
-
-       PreUpdateHooks                       *TagHL-PreUpdateHooks*
-               Any function names that are listed in this option will be called
-               immediately prior to generating a new types highlighter file.  This
-               can be used to allow complex customisation of |TagHighlight| and is
-               for advanced users only.  If you find a use for this, or any of the
-               other hooks, please let me know as I'd be interested to hear your use
-               case!  The function takes no arguments.
-
-               Option Type: List
-               Default: [] (no hooks)
-
-       PostUpdateHooks                      *TagHL-PostUpdateHooks*
-               Any function names that are listed in this option will be called
-               immediately after generating a new types highlighter file.  This can
-               be used to allow complex customisation of |TagHighlight| and is for
-               advanced users only.  If you find a use for this, or any of the other
-               hooks, please let me know as I'd be interested to hear your use case!
-               The function takes no arguments.
-
-               Option Type: List
-               Default: [] (no hooks)
-
-       ProjectConfigFileDirModePriority     *TagHL-ProjectConfigFileDirModePriority*
-               This option is used to determine which directories to look in for a
-               project configuration file.  See |TagHL-DefaultDirModePriority| for
-               details.
-
-               Option Type: List
-               Default: ["Default"] (use DefaultDirModePriority value)
-
-       ProjectConfigFileDirectory           *TagHL-ProjectConfigFileDirectory*
-               If the dir mode priority for project config files (see the option
-               |TagHL-ProjectConfigFileDirModePriority|) contains the mode
-               "Explicit", the directory specified in this option will be used
-               unconditionally if the option has been set.
-
-               Option Type: String
-               Default: None (no explicit directory)
-
-       ProjectConfigFileName                *TagHL-ProjectConfigFileName*
-               This option allows customisation of the file name for project
-               configuration files.  The default file name is taghl_config.txt.
-
-               Option Type: String
-               Default: "taghl_config.txt"
-
-       PythonVariantPriority                *TagHL-PythonVariantPriority*
-               The python part of |TagHighlight| can be run in a number of ways,
-               depending on your system configuration.  For most users, this should
-               be handled completely automatically, but if you want to customise
-               things, this option is the best way to start.  There are currently
-               four supported python variants:
-
-                       if_pyth3: When using this variant, the python code will be run
-                                 using the Python 3.x interface built into Vim.  If using
-                                 a Vim that is compiled with +python/dyn and
-                                 +python3/dyn, be aware that this may cause problems if
-                                 you want to use the python 2.x interface.  See the
-                                 details on case 4 under |:py3file|.
-
-                       if_pyth:  When using this variant, the python code will be run
-                                 using the Python 2.x (at least version 2.6 required)
-                                 interface built into Vim.  See the comments above
-                                 regarding potential conflicts between the two python
-                                 versions.
-
-                       python:   When using this variant. the python code will be run
-                                 using the version of python that is in the path or
-                                 specified with the option |TagHL-PathToPython|.
-
-                       compiled: When using this variant, the compiled executable version
-                                 of the python part of the plugin will be used (so no
-                                 system version of python is required).  Note that this
-                                 requires the compiled version to be installed as it is
-                                 not part of the main distribution.  See the installation
-                                         guide for more information: |TagHighlight-install|.
-
-               Option Type: List
-               Default: ["if_pyth3", "if_pyth", "python", "compiled"]
-
-       Recurse                              *TagHL-Recurse*
-               If this option is set to True or 1, any call to |:UpdateTypesFile|
-               will scan recursively: tag files (and therefore the types highlighter
-               file based on that tag file) will contain tags from source code in the
-               source directory and all subdirectories of that directory.  If this
-               option is not set, or set to False or 0, only source code in the
-               source directory will be scanned.
-
-               Option Type: Boolean
-               Default: True (recurse)
-
-       SkipPatterns                         *TagHL-SkipPatterns*
-               Any (python) regular expressions listed in this option will be matched
-               against any keyword names found in the tags file.  If they match, the
-               keyword names will be omitted from the types highlighter file.  For
-               example, set this option to ['MyVar.*', 'Number[0-9]+'] to exclude the
-               variables MyVarOne, MyVar, MyVariable, Number0, Number10 etc.
-
-               Option Type: List
-               Default: [] (no patterns)
-
-       SkipVimKeywords                      *TagHL-SkipVimKeywords*
-               As well as being unable to use "syn keyword" for tag names that
-               contain non-keyword characters, Vim also cannot use "syn keyword" to
-               match certain vim keywords (such as "contains").  There are very few
-               of these keywords, so if any exist in the tag file, they are matched
-               with a "syn match" command.  If you'd rather just omit them ("syn match"
-               highlighting is much slower than "syn keyword" highlighting), set this
-               option to True or 1.  See also |TagHL-IncludeSynMatches|.
-
-               Option Type: Boolean
-               Default: False (include Vim keywords)
-
-       SourceDir                            *TagHL-SourceDir*
-               If this option is set to an explicit directory, that directory will be
-               scanned for source files when generating tags.  By default, if a
-               project config file is found, the directory containing that will be
-               used.  If it wasn't, but a tag file was found, the directory
-               containing that will be used.  If it wasn't, but a types highlighter
-               file was found, the directory containing that will be used.  Finally,
-               if all of the other checks fail, the current working directory will be
-               used.
-
-               Option Type: String
-               Default: None (use normal scanning method)
-
-       SyntaxLanguageOverrides              *TagHL-SyntaxLanguageOverrides*
-               If there are any entries in this dictionary, they will be used to
-               force a particular file that is being highlighted with a specified
-               syntax to be treated as representing a particular programming
-               language.  The dictionary key is a Vim syntax name (as reported by
-               ":set syntax?") and the dictionary value is the "suffix" defined for
-               that language (the bit in between "types_" and ".taghl" in the
-               generated type highlighter file).  In most cases, you probably want to
-               use |TagHL-FileTypeLanguageOverrides|.
-
-               To disable a syntax type from matching against a language, set the
-               dictionary value to an empty string ("").
-
-               This override will only work if 'Syntax' is in the list of
-               |TagHL-LanguageDetectionMethods|.
-
-       TagFileDirModePriority               *TagHL-TagFileDirModePriority*
-               This option is used to determine which directories to look in for a
-               tag file or in which directory to place a tag file when generating new
-               tags.  See |TagHL-DefaultDirModePriority| for details.
-
-               Option Type: List
-               Default: ["Default"] (use DefaultDirModePriority value)
-
-       TagFileDirectory                     *TagHL-TagFileDirectory*
-               If the dir mode priority for tag files (see the option
-               |TagHL-TagFileDirModePriority|) contains the mode "Explicit", the
-               directory specified in this option will be used unconditionally if the
-               option has been set.
-
-               Option Type: String
-               Default: None (no explicit directory)
-
-       TagFileName                          *TagHL-TagFileName*
-               By default, the file generated by ctags containing the tags
-               definitions are stored in a file named "tags".  If you wish to change
-               this, adjust this option appropriately.
-
-               Option Type: String
-               Default: "tags"
-
-       TypesFileDirModePriority             *TagHL-TypesFileDirModePriority*
-               This option is used to determine which directories to look in for a
-               types highlighter file or in which directory to place a types
-               highlighter file when generating a new types highlighter.  See
-               |TagHL-DefaultDirModePriority| for details.
-
-               Option Type: List
-               Default: ["Default"] (use DefaultDirModePriority value)
-
-       TypesFileDirectory                   *TagHL-TypesFileDirectory*
-               If the dir mode priority for types highlighter files (see the option
-               |TagHL-TypesFileDirModePriority|) contains the mode "Explicit", the
-               directory specified in this option will be used unconditionally if the
-               option has been set.
-
-               Option Type: String
-               Default: None (no explicit directory)
-
-       TypesFileExtension                   *TagHL-TypesFileExtension*
-               By default, types highlighter files have taghl as an extension.  With
-               all the default options, the types highlighter file for C source code
-               will be called types_c.taghl.  This is constructed out of several
-               parts:
-
-                       "types" - This part is set with |TagHL-TypesFilePrefix|.
-                       "_" - This is hard coded (although see |TagHL-TypesFileNameForce|).
-                       "c" - This is the suffix for the current language.
-                       "."     - This is hard coded.
-                       "taghl" - This part is set with |TagHL-TypesFileExtension|.
-
-               If really necessary, |TagHL-TypesFileNameForce| can be used to specify
-               an explicit filename, but I would discourage this.
-
-               Option Type: String
-               Default: "taghl"
-
-       TypesFileLocation                    *TagHL-TypesFileLocation*
-               Used internally to tell the python part of the application where the
-               types file should be stored.  Do not use this option as it will be
-               automatically overwritten.  Instead, see |TagHL-TypesFileDirectory|
-               and |TagHL-TypesFileDirModePriority|.
-
-       TypesFileNameForce                   *TagHL-TypesFileNameForce*
-               Use this if you REALLY need to force a specific file name for the
-               types highlighter file.  It is generally better to configure
-               |TagHL-TypesFilePrefix| and |TagHL-TypesFileExtension|.
-
-               Option Type: String
-               Default: None (use normal rules for generating file name)
-
-       TypesFilePrefix                      *TagHL-TypesFilePrefix*
-               Use this to configure the prefix of the generated (and read) types
-               highlighter files.  See |TagHL-TypesFileExtension| for more
-               information.
-
-               Option Type: String
-               Default: "types"
-
-       UserLibraries                        *TagHL-UserLibraries*
-               If you have some libraries that are used by your code, but which are
-               not kept with your code, it is possible to highlight keywords used in
-               those libraries when working on the main code.  To do this, generate a
-               types highlighter file for the library code and then add the path to
-               the library types highlighter file to this option.  The path can be an
-               absolute path to the file (e.g. ["c:/libraries/mylibrary.taghl"]) or it
-               can be relative to the directory specified in the configuration option
-               |TagHL-UserLibraryDir| (e.g. for the same file as specified above, if
-               the option |TagHL-UserLibraryDir| is set to "c:/libraries", you could
-               set this option to ["mylibrary.taghl"].
-
-               Option Type: List
-               Default: [] (no user libraries)
-
-       UserLibraryDir                       *TagHL-UserLibraryDir*
-               Location of libraries specified with relative paths in the option
-               |TagHL-UserLibraries|.  See the help for |TagHL-UserLibraries| for
-               more information.
-
-               Option Type: String
-               Default: "." (use current directory)
-
-------------------------------------------------------------------------------
-
-2.5 Installation                         *TagHighlight-install*             {{{2
-
-2.5.1 Requirements                       *TagHighlight-requirements*        {{{3
-
-       |TagHighlight| consists of some Vim scripts and some Python scripts.  The
-       Vim scripts require a relatively recent Vim (at least version 7).  To use
-       the python 3 interface, version 7.3 is required.
-
-       As described in |TagHL-PythonVariantPriority|, there are a number of
-       different ways you can run the Python part of the application.  If your
-       Vim has the python interface compiled in, with python version 2.6 or
-       greater and it works, you can use that to run the python code (you'll need
-       python installed on your system).  If you have the python3 interface, you
-       can also use that.  Alternatively, if you have python 2.6 or above
-       (including python 3), you can use that.  Finally, there is a (separately
-       distributed) compiled version if you don't have python on your system.
-
-2.5.2 Installation Guide                 *TagHighlight-install-guide*       {{{3
-
-       Uninstalling ctags_highlighter:      *TagHighlight-remove-old*          {{{4
-
-               This plugin replaces the previous version, which was called
-               ctags_highlighter.  Please delete ctags_highlighter before using this
-               plugin.  The files you need to delete (if present) in your ~/.vim or
-               vimfiles directory are:
-
-               * mktypes.py
-               * extra_source/mktypes (delete the entire folder)
-               * doc/ctags_highlighting.txt
-               * plugin/ctags_highlighting.vim
-               * types_qt4.vim (if you installed the GUI types addon)
-               * types_wx.vim (if you installed the GUI types addon)
-               * types_wxpy.vim (if you installed the GUI types addon)
-               * types_android.vim (if you installed the GUI types addon)
-               * types_jdk.vim (if you installed the GUI types addon)
-       
-       Installing the main plugin:          *TagHighlight-install-main*        {{{4
-
-               The TagHighlight plugin is distributed as a zip file.  If you are
-               using the pathogen plugin, create a directory called TagHighlight in
-               ~/.vim/bundle or vimfiles/bundle.  Unzip the zip file directly into
-               the new directory.  If you are not using the pathogen plugin, simply
-               unzip the zip file directly into your ~/.vim or vimfiles directory.
-
-               For details of the pathogen plugin, see:
->
-                       https://github.com/tpope/vim-pathogen
-<
-       Updating the help tags:              *TagHighlight-update-helptags*     {{{4
-
-               If you use pathogen, run:
->
-                       :call pathogen#helptags()
-<
-               Otherwise, use:
->
-                       :helptags ~/.vim/doc
-<
-               or:
->
-                       :helptags path/to/vimfiles/doc
-<
-               as appropriate.
-       
-       Installing the compiled version:     *TagHighlight-install-compiled*    {{{4
-
-               If you want to use the compiled version of the plugin (if you do not
-               have python on your system), download the zip file for your chosen
-               platform (or both Windows and Linux if you use the same vim
-               configuration directory on both platforms) and unzip in the same
-               location as the main plugin (~/.vim or ~/.vim/bundle/TagHighlight
-               depending on whether you use pathogen).
-
-       Installing the standard libraries:   *TagHighlight-install-stdlib*      {{{4
-
-               If you want support for highlighting of standard libraries (see
-               |TagHighlight-standard-libraries|), unzip that zip file in the same
-               place as the main plugin (~/.vim or ~/.vim/bundle/TagHighlight
-               depending on whether you use pathogen).
-
-       Uninstalling:                        *TagHighlight-uninstall*           {{{4
-
-               If you use pathogen and have followed the pathogen install
-               instructions above, you should be able to simply delete
-               ~/.vim/bundle/TagHighlight.
-
-               If you don't use pathogen, the files/directories to delete (all
-               relative to ~/.vim or vimfiles) are:
-
-               * plugin/TagHighlight.vim
-               * plugin/TagHighlight (entire directory)
-               * autoload/TagHighlight (entire directory)
-               * doc/TagHighlight.txt
-
-==============================================================================
-3. Standard Libraries                    *TagHighlight-standard-libraries*  {{{1
-
-3.1 Introduction                         *TagHighlight-stdlib-intro*        {{{2
-
-       |TagHighlight| supports two different methods for loading in tag definitions
-       for highlighting of tags that are defined outside of the main source code.
-
-       For libraries that are specific to your project and not likely to be used
-       widely, User Libraries can be defined.  For these, types highlighter files
-       are generated for the library and then the project configuration links
-       directly to those library files.  For more information on user libraries,
-       see |TagHL-UserLibraries|.
-
-       For libraries that are common across a lot of projects (and probably a lot
-       of people), standard libraries can be defined.  A number of these standard
-       libraries are available on the |TagHighlight-website|.  For installation
-       instructions, see |TagHighlight-install-stdlib|.  At the time of writing,
-       the available standard libraries are:
-
-       * "Android SDK": Android Software Development Kit (Java)
-       * "JDK": Java Development Kit (Java)
-       * "PySide": PySide framework (Python; limited support)
-       * "Qt4": Qt4 (C++)
-       * "wxpython": wxPython (Python; limited support)
-       * "wxWidgets": wxWidgets (C++)
-       
-       If a source file is opened that looks like it might be part of one of
-       these libraries, the standard library highlighter is automatically loaded.
-       Forcing loading of a particular library can be achieved using the option
-       |TagHL-ForcedStandardLibraries| (the library names are the bits in double
-       quotes in the list above).  Disabling standard library parsing can be
-       achieved either by deleting the standard libraries (or not installing them
-       in the first place), or by setting |TagHL-DisableStandardLibraries| to
-       True or 1.
-
-------------------------------------------------------------------------------
-
-3.2 Adding More Standard Libraries       *TagHighlight-adding-libraries*    {{{2
-
-       Standard libraries are stored in the standard_libraries subdirectory of
-       the main plugin area (plugin/TagHighlight).  Each standard library is held
-       in its own subdirectory (the name is not important).  In that directory
-       there should be a types highlighter file generated from the standard
-       library: again the name is not important, but it shouldn't end with .vim
-       as otherwise it will be automatically sourced by Vim on startup!).  As an
-       example, the Android SDK highlighter file is called android_sdk.taghl.  In
-       addition, there should be a file called library_types.txt giving the
-       details of that library.
-
-       The format of library_types.txt is similar to that of the project
-       configuration file (see |taghl_config.txt|) and all txt files used by
-       TagHighlight.  The required fields are as follows:
-
-               LibraryName - The "friendly" name of the library, e.g. Android SDK
-
-               TypesFiles - A comma-separated list of types highlighter files to load
-                            (usually only one).
-
-               TypesSuffixes - Language suffixes to which this highlighter applies.
-
-               CheckMode - One of the following methods for determining if a source
-                           file should load this standard library:
-
-                       * Always - This standard library will be loaded for all files of
-                                  the correct language (where TypesSuffixes matches).
-
-                       * MatchStart - Search for any one of a set of regular expressions
-                                      (set with MatchREs) in the first MatchLines lines
-                                      (default 30) in the file.
-
-                       * MatchEnd - Like MatchStart, but look in the last MatchLines lines
-                                      in the file.
-
-                       * Custom - Call a custom function (name provided in
-                                  CustomFunction) with the suffix as a parameter.  If it
-                                  returns 'Load', load the library; if it returns 'Skip',
-                                  do not load the library.  Any other return value is an
-                                  error.
-       
-       Other options that may be required depending on the CheckMode:
-
-               MatchREs - list of Vim regular expressions to compare against the
-                          first (if using MatchStart) or last (if using MatchEnd)
-                          MatchLines lines in the file.  Required for MatchStart or
-                          MatchEnd.
-
-               MatchLines - If using MatchStart or MatchEnd, the number of lines to
-                            scan when trying to match the regular expressions.  If
-                            not provided, defaults to 30.
-
-               CustomFunction - The name of the function used in the Custom
-                                CheckMode.  Required if using Custom.
-
-       See the existing standard libraries for examples.
-
-==============================================================================
-4. TagHighlight Customisation            *TagHighlight-custom*              {{{1
-
-4.1 Adding More Languages                *TagHighlight-adding*              {{{2
-
-       1. Run ctags --list-languages and check that the required language is
-          present.
-          
-       2. If you're using a custom version of ctags highlighter with extra
-          languages, you may need to add the details to the kind list in
-          plugin/TagHighlight/data/kinds.txt (for most standard languages, this
-          won't be necessary).  To do this, run:
->
-                       ctags --list-kinds=all
-<
-          and examine the entries for your language.
-
-       3. Create a new file in plugin/TagHighlight/data/languages/ with a .txt
-          extension (the file name can be anything you want).  Set the fileformat
-          to be 'unix' for consistency and don't expand tabs in case you need to
-          add any multi-line lists:
->
-                       set ff=unix noet
-<
-       4. In that file, add the following fields in Key:Value format (one per
-          line):
-
-               FriendlyName - Whatever you prefer to call the language.
-
-               CTagsName - Whatever ctags refers to the language as.
-
-               PythonExtensionMatcher - A python regular expression that matches
-                                                    the extensions of files that are written
-                                                    in this language.
-
-               VimExtensionMatcher - The Vim regular expression version of
-                                             PythonExtensionMatcher.
-
-               VimFileTypes - A list of Vim file types (the output of the Vim command
-                              ":set ft?") that are relevant for this language.
-
-               VimSyntaxes - A list of Vim syntax names (the output of the Vim
-                             command ":set syntax?") that are relevant for this
-                             language.
-
-               Suffix - Whatever you would like the generated files to be named,
-                            e.g. for C code, the suffix is c and the generated files
-                            are by default called types_c.taghl.
-
-       5. Optionally, add other fields as required:
-
-               SkipList - Any specific ctags "kinds" (single characters referring
-                              to types of tags) that you want to omit from the types
-                              file.  For example, for C code, function prototypes are
-                              omitted (function definitions are included) by setting
-                              SkipList to p.  To include multiple items, separate
-                              each item with a comma.  To see a list of kinds for a
-                              language, use:
->
-                                               ctags --list-kinds
-<
-               SpecialSyntaxHandlers - This is for unusual cases where particular
-                                                   syntax commands are required for a given
-                                                   language.  Add any functions you want to
-                                                   call here.  As an example, for Java code,
-                                                   all syntax items must be added to the
-                                                   javaTop cluster; this is done in a special
-                                                   syntax handler.  For most languages this
-                                                   is unnecessary.
-
-               Priority - Where a tag name is used for multiple different types (e.g.
-                          as a defined name and as a typedef), it can only be
-                          highlighted as one or the other (Vim is not aware of the
-                          context of the keyword).  The priority defines whether it
-                          should (in this case) be highlighted as a defined name or
-                          as a typedef.  The default priority order is shown in
-                          plugin/TagHighlight/data/language_defaults.txt.  Entries
-                          not included in the priority list are treated in
-                          alphabetical order after the ones that are in the priority
-                                  list.  If the default priority is not appropriate for the
-                                  new language, it can be overridden in the language
-                                  definition.
-
-               IsKeyword - Most source files have Vim's |'iskeyword'| option set to
-                           @,48-57,_,192-255.  If that is incorrect for the language
-                                       that you are defining, it can be changed in the new
-                                       language definition.  Generally not really required.
-
-       6. Add a modeline for consistency:
->
-               # vim: ff=unix:noet
-<
-       7. Test your new language!
-
-       8. Send me a copy for inclusion in the main distribution.
-
-4.1.1 Example                            *TagHighlight-add-example*         {{{3
-
-       It is worth looking at the existing language files for examples.  The C#
-       language file is called csharp.txt and looks like this:
->
-               FriendlyName:c#
-               CTagsName:c#
-               PythonExtensionMatcher:cs
-               VimExtensionMatcher:cs
-               Suffix:cs
-
-               # vim: ff=unix:noet
-<
-       The friendly name and CTagsName are both 'c#' (it is quite normal for
-       these to be the same).  Only one file extension is supported (cs), so the
-       extension matchers are trivial.  The selected suffix is cs (this is the
-       bit that goes in the filename).
-
-       It really is that easy!
-
-==============================================================================
-5. Troubleshooting                       *TagHighlight-troubleshooting*     {{{1
-
-       A debugging log can be generated by running the command:
->
-               :UpdateTypesFileDebug /path/to/debug_log.txt
-<
-       This will generate tags (recursively), create a types highlighter file and
-       try to read the relevant types highlighter files for all open files.  All
-       debugging information will be written to /path/to/debug_log.txt.
-
-       If you're having difficulties getting TagHighlight to work, please try
-       running the above command and send a brief description of the symptoms
-       along with a copy of the debug log to me at abudden _AT_ gmail _DOT_ com.
-       I'll do my best to help you get it working as quickly as I can.
-
-       If you're having problems that are specific to the |:UpdateTypesFileOnly|
-       command, please use the following commands, which work in much the same
-       way as the commands above:
->
-               :let g:TagHighlightSettings['DebugLevel'] = 'Information'
-               :let g:TagHighlightSettings['DebugFile'] = '/path/to/typesonly.log'
-               :UpdateTypesFileOnly
-<
-
-==============================================================================
-6. TagHighlight History                *TagHighlight-history*               {{{1
-
-2.1.2:  30th August 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).  Added support for .hh
-                             extension for C/C++ headers.  Fixed bug with
-                             highlight priority for non-specified types.
-
-2.1.1:  23rd August 2011   : Addition of LanguageDetectionMethods option to
-                             allow loading of types when FileType or Syntax
-                             are set (thanks to Hong Xu for the suggestion).
-                             This also involved addition of syntax and
-                                                        filetype definitions to all languages.  Prevent
-                                                        Vim from repeatedly loading autocmds in plugin
-                                                        development mode.  Don't overwrite Cursor colour
-                                                        definitions with SQL cursor colouring (thanks
-                                                        again to Hong Xu for reporting this bug).
-
-2.1.0:  22nd August 2011   : First public release of TagHighlight.  Many
-                             thanks to Aleksey Baibarin, Marcus Martin,
-                                                        Mishail, Prasun Ratn and Yongwei Wu for the help
-                                                        with testing the various pre-release versions of
-                                                        this plugin.
-
-2.0.24: 12th August 2011   : Release script improvements to include packaging
-                             of standard libraries.
-
-2.0.23: 12th August 2011   : Improvements to variable passing when options
-                             have been set to 'True' rather than 1.
-
-2.0.22: 11th August 2011   : Website link update.  Comments on troubleshooting
-                             issues with UpdateTypesFileOnly.  Fix for check
-                             for existence of tag file (not looking in the
-                             correct directory).
-
-2.0.21: 10th August 2011   : Additional debug.
-
-2.0.20: 9th August 2011    : Further improvements to build script.
-
-2.0.19: 9th August 2011    : Minor tweaks to build script.
-
-2.0.18: 9th August 2011    : Preparation for publishing code on github.
-
-2.0.17: 9th August 2011    : (Internal change).  Separated TagHighlight
-                             version control from vimfiles bzr repository into
-                             separate git repository.  Revision number no
-                             longer meaningful.
-
-2.0.16: 8th August 2011    : Wildcard matches are for files only, not
-                             directories (work-around for issue with tags file
-                             having same name as svn tags directory).  Extra
-                             debug regarding working directory etc.
-                             Simplified commands by moving functionality into
-                             a new function.  REMOVED non-recursive command!
-
-2.0.15: 5th August 2011    : Debug output improvements.
-
-2.0.14: 5th August 2011    : Bug fix for selection of source directory.  If
-                             one of the explicit locations was set to 'None',
-                             it was using 'None' as the source dir location.
-                             Added version information printing to debug
-                             output.
-
-2.0.13: 4th August 2011    : Improvements to directory searching (mainly for
-                             Cygwin).  Addition of option to include timestamp
-                             in debug log (Vim debug output only at present).
-
-2.0.12: 3rd August 2011    : Added option to limit number of directories to
-                                                        search up through when looking for configuration
-                                                        or existing tags file.
-
-2.0.11: 2nd August 2011    : Added some example configurations to the
-                             documentation.
-
-2.0.10: 2nd August 2011    : Added extensive debug stuff.
-
-2.0.9: 30th July 2011      : Attempt to work around python bug 3905 (issue
-                             with subprocess when called from GUI
-                             application).
-
-2.0.8: 30th July 2011      : Fixed erroneous function call.
-
-2.0.7: 30th July 2011      : Bug fix for exception handling.
-
-2.0.6: 29th July 2011      : Included description of defaults in
-                             documentation.  Improved python version checking:
-                             don't use python if version is < 2.6 or cannot
-                             import print_function.
-
-2.0.5: 28th July 2011      : Bug fix in Java special handler.  Added
-                             description of how to add languages not supported
-                             by standard ctags.
-
-2.0.4: 27th July 2011      : Fixed bug in python interface (old variable
-                             name); renamed ctags interface python code to
-                             avoid potential issues with other plugins
-                             thinking that ctags.py is actually ctags.
-                             Further improvements to handling paths with
-                             spaces.
-
-2.0.3: 26th July 2011      : Added missing documentation to zip file!
-
-2.0.2: 26th July 2011      : Improved Linux compiled version support.
-
-2.0.1: 25th July 2011      : Added provisional support for a Linux compiled
-                             version.
-
-2.0.0: 25th July 2011      : Significant refactor of all the code.  Reworked
-                                                        the way options are set (can now be set globally,
-                                                        per buffer or in a project configuration file).
-                                                        All options now moved into dictionaries to
-                                                        minimise the number of variables created by the
-                                                        plugin.  Moved most of the functionality into
-                                                        autoload to simplify operation.  Added support
-                                                        for using the python interface (either 2.6+ or
-                                                        3.0+), or using a system python (either 2.6+ or
-                                                        3.0+) or using a compiled version on either
-                                                        Windows.  Improved library implementation to
-                                                        improve loading method and ease generation of
-                                                        standard libraries.  Added support for user
-                                                        libraries.  Improved language handlers (now
-                                                        configured from a single text file).  Renamed
-                                                        project from ctags_highlighter to TagHighlight.
-                                                        New revision numbering scheme.  Changed default
-                                                        types file extension.  Allow complete
-                                                        customisation of location and name of types and
-                                                        tags files.  Allow specific keywords to be
-                                                        skipped when generating types files.  Added
-                                                        support for pre-read, post-read, pre-update and
-                                                        post-update hooks to allow further customisation.
-
-r461 : 6th May 2011        : Allow explicit setting of ctags executable
-                                                        name.  Added troubleshooting section to the
-                                                        manual.
-
-r458 : 7th March 2011      : Inclusion of vim keywords (display, contained
-                                                        etc) controlled by separate option.
-
-r456 : 6th March 2011      : Fixed accidental file-type change.
-
-r452 : 6th March 2011      : Better handling of unknown ctags tag kinds.
-
-r443 : 19th February 2011  : Allow customisation of the filenames used
-                                                        for tags and types files (thanks to Sung Pae).
-
-r442 : 16th February 2011  : Improved prioritisation of object-oriented
-                                                        language types (thanks to Aleksey Baibarin).
-
-r440 : 16th February 2011  : More explicit choice of C/C++ file extensions to
-                                                        avoid conflicts with C# (thanks to Aleksey
-                                                        Baibarin).
-
-r439 : 10th February 2011  : Kill any cscope connections prior to running 
-                                                        script in order to prevent cscope from locking
-                                                        the cscope.out file.
-
-r435 : 11th January 2011   : Changed default to not include syntax matches
-                                                        unless either g:TypesFileIncludeSynMatches or
-                                                        b:TypesFileIncludeSynMatches is set to 1 (this
-                                                        makes the highlighting much faster for large
-                                                        projects).
-
-r431 : 2nd December 2010   : Add support for local variables in non-C
-                                                        languages.
-
-r429 : 2nd December 2010   : Improvements to cope with spaces in paths.
-
-r425 : 16th November 2010  : Added support for Java and Android SDKs.
-
-r410 : 9th September 2010  : Improved option configuration implementation.
-
-r409 : 9th September 2010  : Allow cscope configuration options to be local
-                                                        rather than buffer specific.
-
-r398 : 29th March 2010     : Added support for python import in the listing.
-
-r396 : 29th March 2010     : Factored out old ctags_[a-z] types to improve
-                                                        language support.
-
-r394 : 26th March 2010     : Fix for python use.
-
-r391 : 2nd March 2010      : Fix for ctags names.
-
-r390 : 2nd March 2010      : Attempted improvements to code including support
-                                                        for C# (thanks to Aleksey Baibarin).
-
-r387 : 20th February 2010  : Fixed VIMFILESDIR typo.
-
-r384 : 19th February 2010  : Improvements to VIMFILESDIR identification.
-                                                        Re-architecture of type definitions to make
-                                                        them more sensitive to different ctags "kinds"
-                                                        for different languages.  Note that Enumerator
-                                                        has been renamed to EnumerationValue: the latest
-                                                        Bandit Colour Scheme supports this.
-
-r382 : 13th February 2010  : Fixed escaping of paths and operation of
-                                                        ReadTypes when not in an autocommand.
-
-r340 : 2nd November 2009   : Added missing winrestview().
-
-r330 : 16th September 2009 : Minor Documentation update.
-
-r329 : 16th September 2009 : Added revision output to mktypes.
-
-r328 : 16th September 2009 : Fix for bug with path finding on Windows where
-                                                        directories in the path end in a backslash.
-
-r326 : 15th September 2009 : Added revision number to debug output.
-
-r324 : 14th September 2009 : Fixed Linux bugs with new implementation.
-
-r321 : 14th September 2009 : Fixed bug with returning to the correct window
-                                                        after use, added debugging statements and moved
-                                                        executable search to a separate function.  Also
-                                                        added preliminary work towards more explicit
-                                                        type names.
-
-r309 : 17th August 2009    : Added documentation.
-
-r302 : 10th August 2009    : Added experimental PHP support.
-
-r301 : 7th August 2009     : Made GUI tags and types files optional and added
-                                                        shellescape to protect paths (thanks to Mikhail
-                                                        Stepura again). The gui_tags_and_types.vba file
-                                                        contains the tags and highlighting definitions
-                                                        for Qt, wxWidgets and wxPython (used to be
-                                                        included in the main distribution).
-
-r292 : 3rd August 2009     : Fixed bug with cscope option.
-
-r285 : 27th July 2009      : Added support for ctags being stored in a path
-                                                        with spaces and other odd characters (thanks to
-                                                        Mikhail Stepura).
-
-r261 : 23rd May 2009       : Changed some of the defaults to the python script
-                                                        (so fewer options need to be passed by
-                                                        UpdateTypesFile).  It should now be possible to
-                                                        generate the types file simply by running
-                                                        "mktypes.py" or "mktypes.py -r" in the project
-                                                        directory.  Of course, UpdateTypesFile works too.
-                                                        Added UpdateTypesFileOnly command for projects in
-                                                        which the tags file is updated externally (e.g.
-                                                        the Linux kernel source).  Removed regular
-                                                        expression matches by default: this is much
-                                                        quicker for large projects.
-
-r252 : 21st May 2009       : Added (optional) support for highlighting of
-                                                        local variables (not scope-specific: just
-                                                        recognises names).  Tidied up tag generation.
-
-r173 : 17th November 2008  : Added automatic reloading of types file whenever
-                                                        :UpdateTypesFile is run.  Also runs cscope (in
-                                                        the background) if cscope.files is present in the
-                                                        current working directory.
-
-r132 : 17th September 2008 : Updated to support limiting the languages checked
-                                                        for (intended to be used with the project plugin
-                                                        and it's in= option) in order to speed it up a
-                                                        bit. Also added project option for recursion (so
-                                                        you don't have to bother with the exclamation
-                                                        mark) and parsing of local enumerations.
-                                                        Finally, added sorting of tags file such that
-                                                        function implementations come before function
-                                                        declarations, regardless of the alphabetic order
-                                                        of the file names in which they are stored.
-                                                        Finally, added zipfile version in case of
-                                                        problems with vba.
-
-r129 : 9th September 2008  : Updated to only add to the various rainbow.vim
-                                                        related groups if b:hlrainbow is set.
-
-r126 : 5th September 2008  : This has now been updated to run considerably
-                                                        quicker (with only one pass by ctags and
-                                                        excluding directories named "docs" to avoid
-                                                        spending a long time searching through all the
-                                                        files that doxygen creates).  On the project I
-                                                        used to benchmark it, the running time reduced
-                                                        from about two minutes to about seven seconds!
-
-==============================================================================
-Modelines: {{{1
- vim:tw=78:ts=4:ft=help:fdm=marker:
diff --git a/vim/vimfiles/bundle/tagHL/doc/tags b/vim/vimfiles/bundle/tagHL/doc/tags
deleted file mode 100644 (file)
index 1383a85..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-:ReadTypes     TagHighlight.txt        /*:ReadTypes*
-:UpdateTypesFile       TagHighlight.txt        /*:UpdateTypesFile*
-:UpdateTypesFileOnly   TagHighlight.txt        /*:UpdateTypesFileOnly*
-TagHL-CtagsExeFull     TagHighlight.txt        /*TagHL-CtagsExeFull*
-TagHL-CtagsExecutable  TagHighlight.txt        /*TagHL-CtagsExecutable*
-TagHL-CtagsFileLocation        TagHighlight.txt        /*TagHL-CtagsFileLocation*
-TagHL-DebugFile        TagHighlight.txt        /*TagHL-DebugFile*
-TagHL-DebugLevel       TagHighlight.txt        /*TagHL-DebugLevel*
-TagHL-DebugPrintTime   TagHighlight.txt        /*TagHL-DebugPrintTime*
-TagHL-DefaultDirModePriority   TagHighlight.txt        /*TagHL-DefaultDirModePriority*
-TagHL-DefaultDirModeSearchWildcards    TagHighlight.txt        /*TagHL-DefaultDirModeSearchWildcards*
-TagHL-DisableStandardLibraries TagHighlight.txt        /*TagHL-DisableStandardLibraries*
-TagHL-DisableTypeParsing       TagHighlight.txt        /*TagHL-DisableTypeParsing*
-TagHL-DoNotGenerateTags        TagHighlight.txt        /*TagHL-DoNotGenerateTags*
-TagHL-ExtensionLanguageOverrides       TagHighlight.txt        /*TagHL-ExtensionLanguageOverrides*
-TagHL-FileTypeLanguageOverrides        TagHighlight.txt        /*TagHL-FileTypeLanguageOverrides*
-TagHL-ForcedPythonVariant      TagHighlight.txt        /*TagHL-ForcedPythonVariant*
-TagHL-ForcedStandardLibraries  TagHighlight.txt        /*TagHL-ForcedStandardLibraries*
-TagHL-IncludeLocals    TagHighlight.txt        /*TagHL-IncludeLocals*
-TagHL-IncludeSynMatches        TagHighlight.txt        /*TagHL-IncludeSynMatches*
-TagHL-LanguageDetectionMethods TagHighlight.txt        /*TagHL-LanguageDetectionMethods*
-TagHL-Languages        TagHighlight.txt        /*TagHL-Languages*
-TagHL-MaxDirSearchLevels       TagHighlight.txt        /*TagHL-MaxDirSearchLevels*
-TagHL-ParsingSkipList  TagHighlight.txt        /*TagHL-ParsingSkipList*
-TagHL-PathToPython     TagHighlight.txt        /*TagHL-PathToPython*
-TagHL-PostReadHooks    TagHighlight.txt        /*TagHL-PostReadHooks*
-TagHL-PostUpdateHooks  TagHighlight.txt        /*TagHL-PostUpdateHooks*
-TagHL-PreReadHooks     TagHighlight.txt        /*TagHL-PreReadHooks*
-TagHL-PreUpdateHooks   TagHighlight.txt        /*TagHL-PreUpdateHooks*
-TagHL-ProjectConfigFileDirModePriority TagHighlight.txt        /*TagHL-ProjectConfigFileDirModePriority*
-TagHL-ProjectConfigFileDirectory       TagHighlight.txt        /*TagHL-ProjectConfigFileDirectory*
-TagHL-ProjectConfigFileName    TagHighlight.txt        /*TagHL-ProjectConfigFileName*
-TagHL-PythonVariantPriority    TagHighlight.txt        /*TagHL-PythonVariantPriority*
-TagHL-Recurse  TagHighlight.txt        /*TagHL-Recurse*
-TagHL-SkipPatterns     TagHighlight.txt        /*TagHL-SkipPatterns*
-TagHL-SkipVimKeywords  TagHighlight.txt        /*TagHL-SkipVimKeywords*
-TagHL-SourceDir        TagHighlight.txt        /*TagHL-SourceDir*
-TagHL-SyntaxLanguageOverrides  TagHighlight.txt        /*TagHL-SyntaxLanguageOverrides*
-TagHL-TagFileDirModePriority   TagHighlight.txt        /*TagHL-TagFileDirModePriority*
-TagHL-TagFileDirectory TagHighlight.txt        /*TagHL-TagFileDirectory*
-TagHL-TagFileName      TagHighlight.txt        /*TagHL-TagFileName*
-TagHL-TypesFileDirModePriority TagHighlight.txt        /*TagHL-TypesFileDirModePriority*
-TagHL-TypesFileDirectory       TagHighlight.txt        /*TagHL-TypesFileDirectory*
-TagHL-TypesFileExtension       TagHighlight.txt        /*TagHL-TypesFileExtension*
-TagHL-TypesFileLocation        TagHighlight.txt        /*TagHL-TypesFileLocation*
-TagHL-TypesFileNameForce       TagHighlight.txt        /*TagHL-TypesFileNameForce*
-TagHL-TypesFilePrefix  TagHighlight.txt        /*TagHL-TypesFilePrefix*
-TagHL-UserLibraries    TagHighlight.txt        /*TagHL-UserLibraries*
-TagHL-UserLibraryDir   TagHighlight.txt        /*TagHL-UserLibraryDir*
-TagHighlight   TagHighlight.txt        /*TagHighlight*
-TagHighlight-add-example       TagHighlight.txt        /*TagHighlight-add-example*
-TagHighlight-adding    TagHighlight.txt        /*TagHighlight-adding*
-TagHighlight-adding-libraries  TagHighlight.txt        /*TagHighlight-adding-libraries*
-TagHighlight-colours   TagHighlight.txt        /*TagHighlight-colours*
-TagHighlight-commands  TagHighlight.txt        /*TagHighlight-commands*
-TagHighlight-config    TagHighlight.txt        /*TagHighlight-config*
-TagHighlight-contents  TagHighlight.txt        /*TagHighlight-contents*
-TagHighlight-copyright TagHighlight.txt        /*TagHighlight-copyright*
-TagHighlight-custom    TagHighlight.txt        /*TagHighlight-custom*
-TagHighlight-example-configs   TagHighlight.txt        /*TagHighlight-example-configs*
-TagHighlight-history   TagHighlight.txt        /*TagHighlight-history*
-TagHighlight-how-options       TagHighlight.txt        /*TagHighlight-how-options*
-TagHighlight-install   TagHighlight.txt        /*TagHighlight-install*
-TagHighlight-install-compiled  TagHighlight.txt        /*TagHighlight-install-compiled*
-TagHighlight-install-guide     TagHighlight.txt        /*TagHighlight-install-guide*
-TagHighlight-install-main      TagHighlight.txt        /*TagHighlight-install-main*
-TagHighlight-install-stdlib    TagHighlight.txt        /*TagHighlight-install-stdlib*
-TagHighlight-intro     TagHighlight.txt        /*TagHighlight-intro*
-TagHighlight-language-colours  TagHighlight.txt        /*TagHighlight-language-colours*
-TagHighlight-manual    TagHighlight.txt        /*TagHighlight-manual*
-TagHighlight-option-details    TagHighlight.txt        /*TagHighlight-option-details*
-TagHighlight-option-list       TagHighlight.txt        /*TagHighlight-option-list*
-TagHighlight-remove-old        TagHighlight.txt        /*TagHighlight-remove-old*
-TagHighlight-requirements      TagHighlight.txt        /*TagHighlight-requirements*
-TagHighlight-source-code       TagHighlight.txt        /*TagHighlight-source-code*
-TagHighlight-standard-libraries        TagHighlight.txt        /*TagHighlight-standard-libraries*
-TagHighlight-stdlib-intro      TagHighlight.txt        /*TagHighlight-stdlib-intro*
-TagHighlight-troubleshooting   TagHighlight.txt        /*TagHighlight-troubleshooting*
-TagHighlight-uninstall TagHighlight.txt        /*TagHighlight-uninstall*
-TagHighlight-update-helptags   TagHighlight.txt        /*TagHighlight-update-helptags*
-TagHighlight-website   TagHighlight.txt        /*TagHighlight-website*
-TagHighlight.txt       TagHighlight.txt        /*TagHighlight.txt*
-b:TagHighlightSettings TagHighlight.txt        /*b:TagHighlightSettings*
-g:TagHighlightSettings TagHighlight.txt        /*g:TagHighlightSettings*
-taghl_config.txt       TagHighlight.txt        /*taghl_config.txt*
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight.vim b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight.vim
deleted file mode 100644 (file)
index ba33517..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-" Tag Highlighter:
-"   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-" Copyright: Copyright (C) 2009-2011 A. S. Budden
-"            Permission is hereby granted to use and distribute this code,
-"            with or without modifications, provided that this copyright
-"            notice is copied with it. Like anything else that's free,
-"            the TagHighlight plugin is provided *as is* and comes with no
-"            warranty of any kind, either expressed or implied. By using
-"            this plugin, you agree that in no event will the copyright
-"            holder be liable for any damages resulting from the use
-"            of this software.
-
-" ---------------------------------------------------------------------
-try
-       if &cp || (exists('g:loaded_TagHighlight') && (g:plugin_development_mode != 1))
-               throw "Already loaded"
-       endif
-catch
-       finish
-endtry
-let g:loaded_TagHighlight = 1
-
-let old_versions = globpath(&rtp, 'plugin/ctags_highlighting.vim')
-if len(old_versions) > 0
-       echoerr "Legacy ctags highlighter found.  This highlighter is"
-                               \ "intended to replace ctags_highlighter.  See the"
-                               \ "user documentation in doc/TagHighlight.txt for"
-                               \ "more information."
-       finish
-endif
-
-if ! exists('g:TagHighlightSettings')
-       let g:TagHighlightSettings = {}
-endif
-
-let g:TagHighlightPrivate = {}
-
-let s:plugin_paths = split(globpath(&rtp, 'plugin/TagHighlight/TagHighlight.py'), '\n')
-if len(s:plugin_paths) == 1
-       let g:TagHighlightPrivate['PluginPath'] = fnamemodify(s:plugin_paths[0], ':p:h')
-elseif len(s:plugin_paths) == 0
-       echoerr "Cannot find TagHighlight.py"
-else
-       echoerr "Multiple plugin installs found: something has gone wrong!"
-endif
-
-" Update types & tags
-command! -bar UpdateTypesFile 
-                       \ silent call TagHighlight#Generation#UpdateAndRead(0)
-
-command! -bar UpdateTypesFileOnly 
-                       \ silent call TagHighlight#Generation#UpdateAndRead(1)
-
-command! -nargs=1 UpdateTypesFileDebug 
-                       \ call TagHighlight#Debug#DebugUpdateTypesFile(<f-args>)
-
-function! s:LoadLanguages()
-       " This loads the language data files.
-       let language_files = split(glob(g:TagHighlightPrivate['PluginPath'] . '/data/languages/*.txt'), '\n')
-       let g:TagHighlightPrivate['ExtensionLookup'] = {}
-       let g:TagHighlightPrivate['FileTypeLookup'] = {}
-       let g:TagHighlightPrivate['SyntaxLookup'] = {}
-       let g:TagHighlightPrivate['SpecialSyntaxHandlers'] = {}
-       for language_file in language_files
-               let entries = TagHighlight#LoadDataFile#LoadFile(language_file)
-               if has_key(entries, 'Suffix') && has_key(entries, 'VimExtensionMatcher') 
-                                       \ && has_key(entries, 'VimFileTypes') && has_key(entries, 'VimSyntaxes')
-                       let g:TagHighlightPrivate['ExtensionLookup'][entries['VimExtensionMatcher']] = entries['Suffix']
-
-                       if type(entries['VimFileTypes']) == type([])
-                               let ftkey = join(entries['VimFileTypes'], ",")
-                       else
-                               let ftkey = entries['VimFileTypes']
-                       endif
-                       let g:TagHighlightPrivate['FileTypeLookup'][ftkey] = entries['Suffix']
-
-                       if type(entries['VimSyntaxes']) == type([])
-                               let stkey = join(entries['VimSyntaxes'], ",")
-                       else
-                               let stkey = entries['VimSyntaxes']
-                       endif
-                       let g:TagHighlightPrivate['SyntaxLookup'][stkey] = entries['Suffix']
-               else
-                       echoerr "Could not load language from file " . language_file
-               endif
-               if has_key(entries, 'SpecialSyntaxHandlers')
-                       if type(entries['SpecialSyntaxHandlers']) == type([])
-                               let handlers = entries['SpecialSyntaxHandlers']
-                       else
-                               let handlers = [entries['SpecialSyntaxHandlers']]
-                       endif
-                       let g:TagHighlightPrivate['SpecialSyntaxHandlers'][entries['Suffix']] = handlers
-               endif
-       endfor
-endfunction
-
-function! s:LoadKinds()
-       " Load the list of kinds (ignoring ctags information) into
-       " Vim.  This is used to make the default links
-       let g:TagHighlightPrivate['Kinds'] = TagHighlight#LoadDataFile#LoadDataFile('kinds.txt')
-       " Use a dictionary to get all unique entries
-       let tag_names_dict = {}
-       for entry in keys(g:TagHighlightPrivate['Kinds'])
-               for key in keys(g:TagHighlightPrivate['Kinds'][entry])
-                       let tag_names_dict[g:TagHighlightPrivate['Kinds'][entry][key]] = ""
-               endfor
-       endfor
-       let g:TagHighlightPrivate['AllTypes'] = sort(keys(tag_names_dict))
-endfunction
-
-function! TagHLDebug(str, level)
-       if TagHighlight#Debug#DebugLevelIncludes(a:level)
-               try
-                       let debug_file = TagHighlight#Option#GetOption('DebugFile')
-                       let print_time = TagHighlight#Option#GetOption('DebugPrintTime')
-               catch /Unrecognised option/
-                       " Probably haven't loaded the option definitions
-                       " yet, so assume no debug log file
-                       let debug_file = 'None'
-               endtry
-               if debug_file == 'None'
-                       echomsg a:str
-               else
-                       exe 'redir >>' debug_file
-                       if print_time && exists("*strftime")
-                               silent echo strftime("%H.%M.%S") . ": " . a:str
-                       else
-                               silent echo a:str
-                       endif
-                       redir END
-               endif
-       endif
-endfunction
-
-call s:LoadLanguages()
-call s:LoadKinds()
-
-for tagname in g:TagHighlightPrivate['AllTypes']
-       let simplename = substitute(tagname, '^CTags', '', '')
-       exe 'hi default link' tagname simplename
-       " Highlight everything as a keyword by default
-       exe 'hi default link' simplename 'Keyword'
-endfor
-
-if ! has_key(g:TagHighlightPrivate, 'AutoCommandsLoaded')
-       let g:TagHighlightPrivate['AutoCommandsLoaded'] = 1
-       autocmd BufRead,BufNewFile * call TagHighlight#ReadTypes#ReadTypesByExtension()
-       autocmd Syntax * call TagHighlight#ReadTypes#ReadTypesBySyntax()
-       autocmd FileType * call TagHighlight#ReadTypes#ReadTypesByFileType()
-endif
-command! ReadTypes call TagHighlight#ReadTypes#ReadTypesByOption()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.py
deleted file mode 100644 (file)
index d9014bd..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-
-from __future__ import print_function
-import sys
-
-def main():
-    from module.cmd import ProcessCommandLine
-    from module.worker import RunWithOptions
-    options = ProcessCommandLine()
-    RunWithOptions(options)
-
-if __name__ == "__main__":
-    main()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.spec b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/TagHighlight.spec
deleted file mode 100644 (file)
index e57956e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-# -*- mode: python -*-
-# Work out what language files are needed
-a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'TagHighlight.py'],
-        pathex=['.'])
-version_data = []#[('version_info.txt','data/version_info.txt','DATA')]
-pyz = PYZ(a.pure)
-import sys
-if sys.platform.startswith('win'):
-    exe_name = 'TagHighlight.exe'
-    compile_dir = 'Compiled/Win32'
-elif sys.platform.startswith('linux'):
-    exe_name = 'TagHighlight'
-    compile_dir = 'Compiled/Linux'
-
-exe = EXE(pyz,
-        a.scripts,
-        exclude_binaries=1,
-        name=os.path.join('build/', exe_name),
-        debug=False,
-        strip=False,
-        upx=True,
-        console=True )
-coll = COLLECT( exe,
-        a.binaries,
-        a.zipfiles,
-        a.datas,
-        version_data,
-        strip=False,
-        upx=True,
-        name=compile_dir)
-
-# vim: ft=python
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/kinds.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/kinds.txt
deleted file mode 100644 (file)
index 1f9ab1c..0000000
+++ /dev/null
@@ -1,245 +0,0 @@
-asm:
-       d:CTagsDefinedName
-       l:CTagsLabel
-       m:CTagsMacro
-       t:CTagsType
-asp:
-       c:CTagsConstant
-       f:CTagsFunction
-       s:CTagsSubroutine
-       v:CTagsVariable
-awk:
-       f:CTagsFunction
-basic:
-       c:CTagsConstant
-       f:CTagsFunction
-       l:CTagsLabel
-       t:CTagsType
-       v:CTagsVariable
-       g:CTagsEnumeration
-beta:
-       f:CTagsFragment
-       p:CTagsPattern
-       s:CTagsSlot
-       v:CTagsVirtualPattern
-c:
-       c:CTagsClass
-       d:CTagsDefinedName
-       e:CTagsEnumerationValue
-       f:CTagsFunction
-       g:CTagsEnumeratorName
-       k:CTagsConstant
-       l:CTagsLocalVariable
-       m:CTagsMember
-       n:CTagsNamespace
-       p:CTagsFunction
-       s:CTagsStructure
-       t:CTagsType
-       u:CTagsUnion
-       v:CTagsGlobalVariable
-       x:CTagsExtern
-       F:CTagsFile
-c++:
-       c:CTagsClass
-       d:CTagsDefinedName
-       e:CTagsEnumerationValue
-       f:CTagsFunction
-       g:CTagsEnumerationName
-       k:CTagsConstant
-       l:CTagsLocalVariable
-       m:CTagsMember
-       n:CTagsNamespace
-       p:CTagsFunction
-       s:CTagsStructure
-       t:CTagsType
-       u:CTagsUnion
-       v:CTagsGlobalVariable
-       x:CTagsExtern
-       F:CTagsFile
-c#:
-       c:CTagsClass
-       d:CTagsDefinedName
-       e:CTagsEnumerationValue
-       E:CTagsEvent
-       f:CTagsField
-       g:CTagsEnumerationName
-       i:CTagsInterface
-       l:CTagsLocalVariable
-       m:CTagsMethod
-       n:CTagsNamespace
-       p:CTagsProperty
-       s:CTagsStructure
-       t:CTagsType
-cobol:
-       d:CTagsData
-       f:CTagsFileDescription
-       g:CTagsGroupItem
-       p:CTagsParagraph
-       P:CTagsProgram
-       s:CTagsSection
-eiffel:
-       c:CTagsClass
-       f:CTagsFeature
-       l:CTagsEntity
-erlang:
-       d:CTagsDefinedName
-       f:CTagsFunction
-       m:CTagsModule
-       r:CTagsRecord
-fortran:
-       b:CTagsBlockData
-       c:CTagsCommonBlocks
-       e:CTagsEntryPoint
-       f:CTagsFunction
-       i:CTagsInterfaceComponent
-       k:CTagsTypeComponent
-       l:CTagsLabel
-       L:CTagsLocalVariable
-       m:CTagsModule
-       n:CTagsNamelist
-       p:CTagsProgram
-       s:CTagsSubroutine
-       t:CTagsType
-       v:CTagsGlobalVariable
-html:
-       a:CTagsAnchor
-       f:CTagsFunction
-java:
-       c:CTagsClass
-       e:CTagsEnumerationValue
-       f:CTagsField
-       g:CTagsEnumeratorName
-       i:CTagsInterface
-       l:CTagsLocalVariable
-       m:CTagsMethod
-       p:CTagsPackage
-javascript:
-       f:CTagsFunction
-       c:CTagsClass
-       m:CTagsMethod
-       p:CTagsProperty
-       v:CTagsGlobalVariable
-lisp:
-       f:CTagsFunction
-lua:
-       f:CTagsFunction
-make:
-       m:CTagsFunction
-matlab:
-       f:CTagsFunction
-pascal:
-       f:CTagsFunction
-       p:CTagsFunction
-perl:
-       c:CTagsGlobalConstant
-       f:CTagsFormat
-       l:CTagsLabel
-       p:CTagsPackage
-       s:CTagsFunction
-       d:CTagsFunction
-php:
-       c:CTagsClass
-       i:CTagsInterface
-       d:CTagsGlobalConstant
-       f:CTagsFunction
-       v:CTagsGlobalVariable
-       j:CTagsFunction
-python:
-       c:CTagsClass
-       f:CTagsFunction
-       i:CTagsImport
-       m:CTagsMember
-       v:CTagsGlobalVariable
-rexx:
-       s:CTagsFunction
-ruby:
-       c:CTagsClass
-       f:CTagsMethod
-       m:CTagsModule
-       F:CTagsSingleton
-scheme:
-       f:CTagsFunction
-       s:CTagsSet
-sh:
-       f:CTagsFunction
-       F:CTagsFile
-slang:
-       f:CTagsFunction
-       n:CTagsNamespace
-sml:
-       e:CTagsException
-       f:CTagsFunction
-       c:CTagsFunctionObject
-       s:CTagsSignature
-       r:CTagsStructure
-       t:CTagsType
-       v:CTagsGlobalVariable
-sql:
-       c:CTagsSqlCursor
-       d:CTagsFunction
-       f:CTagsFunction
-       F:CTagsField
-       l:CTagsLocalVariable
-       L:CTagsLabel
-       P:CTagsPackage
-       p:CTagsFunction
-       r:CTagsRecord
-       s:CTagsType
-       t:CTagsTable
-       T:CTagsTrigger
-       v:CTagsGlobalVariable
-       i:CTagsIndex
-       e:CTagsEvent
-       U:CTagsPublication
-       R:CTagsService
-       D:CTagsDomain
-       V:CTagsView
-       n:CTagsSynonym
-tcl:
-       c:CTagsClass
-       m:CTagsMethod
-       p:CTagsFunction
-vera:
-       c:CTagsClass
-       d:CTagsDefinedName
-       e:CTagsEnumerationValue
-       f:CTagsFunction
-       g:CTagsEnumeratorName
-       l:CTagsLocalVariable
-       m:CTagsMember
-       p:CTagsProgram
-       P:CTagsFunction
-       t:CTagsTask
-       T:CTagsType
-       v:CTagsGlobalVariable
-       x:CTagsExtern
-verilog:
-       c:CTagsGlobalConstant
-       e:CTagsEvent
-       f:CTagsFunction
-       m:CTagsModule
-       n:CTagsNetType
-       p:CTagsPort
-       r:CTagsRegisterType
-       t:CTagsTask
-vhdl:
-       c:CTagsGlobalConstant
-       t:CTagsType
-       T:CTagsTypeComponent
-       r:CTagsRecord
-       e:CTagsEntity
-       C:CTagsComponent
-       d:CTagsPrototype
-       f:CTagsFunction
-       p:CTagsFunction
-       P:CTagsPackage
-       l:CTagsLocalVariable
-vim:
-       a:CTagsAutoCommand
-       c:CTagsCommand
-       f:CTagsFunction
-       m:CTagsMap
-       v:CTagsGlobalVariable
-yacc:
-       l:CTagsLabel
-# vim: ff=unix
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/language_defaults.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/language_defaults.txt
deleted file mode 100644 (file)
index 44513ad..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# Defaults for languages.  Entries in this and the language specific files are
-# either in the format:
-# 
-# Name:Value
-# 
-# where value is a string read literally, or in the format:
-#
-# Name:
-#      Value1
-#      Value2
-#      Value3
-#
-# where ValueN are a list of values read into a list and the character
-# preceding the values is a hard tab character
-
-# Priority order: highest first
-Priority:
-       CTagsNamespace
-       CTagsClass
-       CTagsDefinedName
-       CTagsType
-       CTagsMethod
-       CTagsFunction
-       CTagsEnumerationValue
-       CTagsEnumeratorName
-       CTagsConstant
-       CTagsGlobalVariable
-       CTagsUnion
-       CTagsProperty
-       CTagsMember
-       CTagsStructure
-SkipList:
-IsKeyword:@,48-57,_,192-255
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/c.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/c.txt
deleted file mode 100644 (file)
index 128af0e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-FriendlyName:c
-CTagsName:c
-PythonExtensionMatcher:(c|cc|cpp|h|hpp|cxx|hxx|hh)
-VimExtensionMatcher:\(c\|cc\|cpp\|h\|hpp\|cxx\|hxx\|hh\)
-VimSyntaxes:c,cpp
-VimFileTypes:c,cpp
-Suffix:c
-SkipList:p
-SpecialSyntaxHandlers:TagHighlight#SpecialHandlers#CRainbowHandler
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/csharp.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/csharp.txt
deleted file mode 100644 (file)
index 5a99b5d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:c#
-CTagsName:c#
-PythonExtensionMatcher:cs
-VimExtensionMatcher:cs
-Suffix:cs
-VimSyntaxes:cs
-VimFileTypes:cs
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/java.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/java.txt
deleted file mode 100644 (file)
index 4704a0f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-FriendlyName:java
-CTagsName:java
-PythonExtensionMatcher:java
-VimExtensionMatcher:java
-Suffix:java
-SpecialSyntaxHandlers:TagHighlight#SpecialHandlers#JavaTopHandler
-VimSyntaxes:java
-VimFileTypes:java
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/matlab.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/matlab.txt
deleted file mode 100644 (file)
index d577e1f..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:matlab
-CTagsName:matlab
-PythonExtensionMatcher:m
-VimExtensionMatcher:m
-Suffix:matlab
-VimSyntaxes:matlab
-VimFileTypes:matlab
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/perl.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/perl.txt
deleted file mode 100644 (file)
index 19b65cb..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:perl
-CTagsName:perl
-PythonExtensionMatcher:p[lm]
-VimExtensionMatcher:p[lm]
-Suffix:pl
-VimFileTypes:perl
-VimSyntaxes:perl
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/php.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/php.txt
deleted file mode 100644 (file)
index 161b49b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:php
-CTagsName:php
-PythonExtensionMatcher:php
-VimExtensionMatcher:php
-Suffix:php
-VimFileTypes:php
-VimSyntaxes:php
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/python.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/python.txt
deleted file mode 100644 (file)
index e9c59c0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:python
-CTagsName:python
-PythonExtensionMatcher:pyw?
-VimExtensionMatcher:pyw\?
-Suffix:py
-VimSyntaxes:python
-VimFileTypes:python
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/ruby.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/ruby.txt
deleted file mode 100644 (file)
index f34ab97..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:ruby
-CTagsName:ruby
-PythonExtensionMatcher:rb
-VimExtensionMatcher:rb
-Suffix:ruby
-VimSyntaxes:ruby
-VimFileTypes:ruby
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/vhdl.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/languages/vhdl.txt
deleted file mode 100644 (file)
index e573a18..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-FriendlyName:vhdl
-CTagsName:vhdl
-PythonExtensionMatcher:vhdl?
-VimExtensionMatcher:vhdl\?
-Suffix:vhdl
-VimFileTypes:vhdl
-VimSyntaxes:vhdl
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/options.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/options.txt
deleted file mode 100644 (file)
index 186466e..0000000
+++ /dev/null
@@ -1,358 +0,0 @@
-#####################
-# Vim-only options: #
-#####################
-
-language_detection_method:
-       VimOptionMap:LanguageDetectionMethods
-       Type:list
-       Default:Extension
-       Help:Specify methods to use for determining language for the file when reading highlight definitions.
-
-filetype_language_overrides:
-       VimOptionMap:FileTypeLanguageOverrides
-       Type:dict
-       Default:{}
-       Help:Match file types to languages manually (if FileType language detection method is enabled).
-
-extension_language_overrides:
-       VimOptionMap:ExtensionLanguageOverrides
-       Type:dict
-       Default:{}
-       Help:Match extensions to languages manually (if Extension language detection method is enabled).
-
-syntax_language_overrides:
-       VimOptionMap:SyntaxLanguageOverrides
-       Type:dict
-       Default:{}
-       Help:Match syntaxes to languages manually (if Syntax language detection method is enabled).
-
-disable_type_parsing:
-       VimOptionMap:DisableTypeParsing
-       Type:bool
-       Default:False
-       Help:Do not read types when opening a file
-
-parsing_skip_list:
-       VimOptionMap:ParsingSkipList
-       Type:list
-       Default:[]
-       Help:List of files for which the type reading should be disabled
-
-def_dir_mode_priority:
-       VimOptionMap:DefaultDirModePriority
-       Type:list
-       Default:[]
-       Help:List of methods (in order) to use when searching for tags/types etc
-       Note:Default is overridden in TagHighlight#Option#GetOption()
-
-max_dir_search_levels:
-       VimOptionMap:MaxDirSearchLevels
-       Type:int
-       Default:0
-       Help:How far up to search in UpFromFile or UpFromCurrent mode
-
-config_file_name:
-       VimOptionMap:ProjectConfigFileName
-       Type:string
-       Default:taghl_config.txt
-       Help:File name for project specific configuration items
-
-tag_dir_mode_priority:
-       VimOptionMap:TagFileDirModePriority
-       Type:list
-       Default:Default
-       Help:Optional override for dir mode priority for tag files specifically
-
-types_dir_mode_priority:
-       VimOptionMap:TypesFileDirModePriority
-       Type:list
-       Default:Default
-       Help:Optional override for dir mode priority for types files specifically
-
-config_dir_mode_priority:
-       VimOptionMap:ProjectConfigFileDirModePriority
-       Type:list
-       Default:Default
-       Help:Optional override for dir mode priority for project config files specifically
-
-tag_file_directory:
-       VimOptionMap:TagFileDirectory
-       Type:string
-       Default:None
-       Help:Explicitly specified location for tag file (corresponding to Explicit search mode)
-
-types_file_directory:
-       VimOptionMap:TypesFileDirectory
-       Type:string
-       Default:None
-       Help:Explicitly specified location for types file (corresponding to Explicit search mode)
-
-config_file_directory:
-       VimOptionMap:ProjectConfigFileDirectory
-       Type:string
-       Default:None
-       Help:Explicitly specified location for project config file (corresponding to Explicit search mode)
-
-default_dir_mode_search_wildcards:
-       VimOptionMap:DefaultDirModeSearchWildcards
-       Type:list
-       Default:OPT(TagFileName),OPT(ProjectConfigFileName)
-       Help:When searching directories, wildcards to match against (if any matches, we'll use this directory)
-
-config_dir_mode_search_wildcards:
-       VimOptionMap:ProjectConfigFileSearchWildcards
-       Type:list
-       Default:Default
-       Help:When searching directories for project config files, wildcards to match against (if any matches, we'll use this directory)
-
-tag_dir_mode_search_wildcards:
-       VimOptionMap:TagFileSearchWildcards
-       Type:list
-       Default:Default
-       Help:When searching directories for tag files, wildcards to match against (if any matches, we'll use this directory)
-
-types_dir_mode_search_wildcards:
-       VimOptionMap:TypesFileSearchWildcards
-       Type:list
-       Default:Default
-       Help:When searching directories for types files, wildcards to match against (if any matches, we'll use this directory)
-
-ctags_executable:
-       VimOptionMap:CtagsExecutable
-       Type:string
-       Default:None
-       Help:Name of the ctags executable, or full path to it
-
-forced_python_variant:
-       VimOptionMap:ForcedPythonVariant
-       Type:string
-       Default:None
-       Help:Force the use of a specific variant (see help for PythonVariantPriority)
-
-python_variant_priority:
-       VimOptionMap:PythonVariantPriority
-       Type:list
-       Default:if_pyth3,if_pyth,python,compiled
-       Help:Search order for deciding which variant to use
-
-path_to_python:
-       VimOptionMap:PathToPython
-       Type:string
-       Default:None
-       Help:Location of the python executable or None to search the path
-
-pre_read_hooks:
-       VimOptionMap:PreReadHooks
-       Type:list
-       Default:[]
-       Help:List of function names to run before reading types.
-
-post_read_hooks:
-       VimOptionMap:PostReadHooks
-       Type:list
-       Default:[]
-       Help:List of function names to run after reading types.
-
-pre_update_hooks:
-       VimOptionMap:PreUpdateHooks
-       Type:list
-       Default:[]
-       Help:List of function names to run before updating types.
-
-post_update_hooks:
-       VimOptionMap:PostUpdateHooks
-       Type:list
-       Default:[]
-       Help:List of function names to run after updating types.
-
-hooks:
-       VimOptionMap:Hooks
-       Type:dict
-       Default:{'PreUpdate': [], 'PostUpdate': [], 'PreRead': [], 'PostRead': []}
-       Help:Hooks dictionary (each entry is a list of strings containing functions to call; read functions take current file name and types suffix as parameters).
-
-forced_standard_libraries:
-       VimOptionMap:ForcedStandardLibraries
-       Type:list
-       Default:[]
-       Help:List of standard libraries which we should load regardless of whether the matchers match (as long as suffix is correct).
-
-disable_standard_libraries:
-       VimOptionMap:DisableStandardLibraries
-       Type:bool
-       Default:False
-       Help:Don't try to load standard libraries.
-
-user_libraries:
-       VimOptionMap:UserLibraries
-       Type:list
-       Default:[]
-       Help:List of user libraries to load (either relative to UserLibraryDir or absolute).
-
-user_library_dir:
-       VimOptionMap:UserLibraryDir
-       Type:string
-       Default:.
-       Help:Location of user libraries that are specified with relative paths.
-
-##########################
-# Python script options: #
-##########################
-
-debug_level:
-       CommandLineSwitches:--debug
-       VimOptionMap:DebugLevel
-       Type:string
-       Default:Error
-       Help:Debug level for printing (how much debug output to produce)
-
-debug_file:
-       CommandLineSwitches:--debug-file
-       VimOptionMap:DebugFile
-       Type:string
-       Default:None
-       Help:Debug log file into which messages should be stored
-
-debug_print_time:
-       CommandLineSwitches:--print-time-with-debug
-       VimOptionMap:DebugPrintTime
-       Type:bool
-       Default:False
-       Help:Print the time with each debug message in the log
-
-source_root:
-       CommandLineSwitches:-d,--source-root
-       VimOptionMap:SourceDir
-       Type:string
-       Default:None
-       Help:Location of source files to scan
-
-recurse:
-       CommandLineSwitches:--no-recurse
-       VimOptionMap:Recurse
-       Type:bool
-       Default:True
-       Help:Recurse into subdirectories
-ctags_file:
-       CommandLineSwitches:--ctags-file
-       VimOptionMap:TagFileName
-       Type:string
-       Default:tags
-       Help:CTAGS output filename
-
-ctags_file_dir:
-       CommandLineSwitches:--ctags-file-dir
-       VimOptionMap:CtagsFileLocation
-       Type:string
-       Default:.
-       Help:Location in which to store or find CTAGS output file
-
-types_file_name_override:
-       CommandLineSwitches:--types-file-name-override
-       VimOptionMap:TypesFileNameForce
-       Type:string
-       Default:None
-       Help:Force types filename to be a specific string (as opposed to prefix + _ + suffix + . + extension).
-
-types_file_prefix:
-       CommandLineSwitches:--types-file-prefix
-       VimOptionMap:TypesFilePrefix
-       Type:string
-       Default:types
-       Help:Vim Types file prefix
-
-types_file_extension:
-       CommandLineSwitches:--types-file-extension
-       VimOptionMap:TypesFileExtension
-       Type:string
-       Default:taghl
-       Help:Extension for types file (by default 'taghl', which with default prefix gives types_c.taghl for C files).
-
-skip_patterns:
-       CommandLineSwitches:--add-skip-pattern
-       VimOptionMap:SkipPatterns
-       Type:list
-       Default:[]
-       Help:List of (Python) regular expressions to match against keywords which should be excluded from the types file.
-ctags_exe_full:
-       CommandLineSwitches:--ctags-exe-full-path
-       VimOptionMap:CtagsExeFull
-       Type:string
-       Default:ctags
-       Help:CTAGS Executable Directory
-include_docs:
-       CommandLineSwitches:--include-docs
-       Type:bool
-       Default:False
-       Help:Include docs or Documentation directory (stripped by default for speed)
-check_keywords:
-       CommandLineSwitches:--do-not-check-keywords
-       Type:bool
-       Default:True
-       Help:Do not check validity of keywords (for speed)
-include_matches:
-       CommandLineSwitches:--include-invalid-keywords-as-matches
-       VimOptionMap:IncludeSynMatches
-       Type:bool
-       Default:False
-       Help:Include invalid keywords as regular expression matches (may slow it loading)
-skip_vimkeywords:
-       CommandLineSwitches:--exclude-vim-keywords
-       VimOptionMap:SkipVimKeywords
-       Type:bool
-       Default:False
-       Help:Don't include Vim keywords (they have to be matched with regular expression matches, which is slower)
-parse_constants:
-       CommandLineSwitches:--do-not-analyse-constants
-       Type:bool
-       Default:True
-       Help:Do not treat constants as separate entries
-languages:
-       CommandLineSwitches:--include-language
-       VimOptionMap:Languages
-       Type:list
-       Default:[]
-       Help:Only include specified languages
-types_file_location:
-       CommandLineSwitches:--types-file-location
-       VimOptionMap:TypesFileLocation
-       Type:string
-       Default:.
-       Help:Specify the location for the generated types files
-include_locals:
-       CommandLineSwitches:--include-locals
-       VimOptionMap:IncludeLocals
-       Type:bool
-       Default:False
-       Help:Include local variables in the database
-use_existing_tagfile:
-       CommandLineSwitches:--use-existing-tagfile
-       VimOptionMap:DoNotGenerateTags
-       Type:bool
-       Default:False
-       Help:Do not generate tags if a tag file already exists
-print_py_version:
-       CommandLineSwitches:--pyversion
-       Type:bool
-       Default:False
-       Help:Just print the version of python
-
-print_config:
-       CommandLineSwitches:--print-config
-       Type:bool
-       Default:False
-       Help:Parse the various options and then print the configuration and exit (for debugging)
-
-# vim: ff=unix:noet
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/release.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/release.txt
deleted file mode 100644 (file)
index 8e77d09..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# Release is major.minor.revision
-# Revision is incremented automatically, when incrementing
-# others, set revision back to -1: first release will be 0.
-release:2.1.2
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/version_info.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/data/version_info.txt
deleted file mode 100644 (file)
index dac623a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-release_clean:1
-release_revid:5c34f11a58a868670a16f1d96e740685b62b2e7f
-release_date:2011-08-30 13:57:44 +0100
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.py
deleted file mode 100644 (file)
index 9b5c604..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Make sure we can import the print_function (and therefore that we're\r
-# running a recent python)\r
-from __future__ import print_function\r
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.pyc
deleted file mode 100644 (file)
index 56ec7ba..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/import_check.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/instructions.txt b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/instructions.txt
deleted file mode 100644 (file)
index b37a247..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-To make the Windows executable, set up pyinstaller (1.5 rc1 or later) and
-run:
-
-    python /path/to/pyinstaller/Build.py TagHighlight.spec
-
-from this directory.
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.py
deleted file mode 100644 (file)
index 7497329..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.pyc
deleted file mode 100644 (file)
index e760d16..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/__init__.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/cmd.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/cmd.py
deleted file mode 100644 (file)
index 4f4162c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-
-import os
-import optparse
-
-from .config import SetInitialOptions, LoadLanguages
-from .options import AllOptions
-
-def ProcessCommandLine():
-    parser = optparse.OptionParser()
-
-    for dest in AllOptions.keys():
-        if 'CommandLineSwitches' not in AllOptions[dest]:
-            # Vim-only option
-            continue
-        if AllOptions[dest]['Type'] == 'bool':
-            if AllOptions[dest]['Default'] == True:
-                action = 'store_false'
-            else:
-                action = 'store_true'
-            parser.add_option(*AllOptions[dest]['CommandLineSwitches'],
-                    action=action,
-                    default=AllOptions[dest]['Default'],
-                    dest=dest,
-                    help=AllOptions[dest]['Help'])
-        else:
-            optparse_type='string'
-            if AllOptions[dest]['Type'] in ['string', 'int']:
-                action='store'
-            elif AllOptions[dest]['Type'] == 'list':
-                action='append'
-            else:
-                raise Exception('Unrecognised option type: ' + AllOptions[dest]['Type'])
-            parser.add_option(*AllOptions[dest]['CommandLineSwitches'],
-                    action=action,
-                    default=AllOptions[dest]['Default'],
-                    type=optparse_type,
-                    dest=dest,
-                    help=AllOptions[dest]['Help'])
-
-    options, remainder = parser.parse_args()
-
-    return vars(options)
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.py
deleted file mode 100644 (file)
index 536b622..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-import sys
-import os
-
-from optparse import Values
-from .utilities import TagHighlightOptionDict
-from .loaddata import LoadFile, LoadDataFile, SetLoadDataDirectory
-from .debug import SetDebugLogFile, SetDebugLogLevel, Debug
-
-config = TagHighlightOptionDict()
-
-def SetDataDirectories():
-    global config
-    if hasattr(sys, 'frozen'):
-        # Compiled variant, executable should be in
-        # plugin/TagHighlight/Compiled/Win32, so data
-        # is in ../../data relative to executable
-        config['data_directory'] = os.path.abspath(
-                os.path.join(os.path.dirname(sys.executable),
-                '../../data'))
-        config['version_info_dir'] = os.path.abspath(os.path.dirname(sys.executable))
-    else:
-        # Script variant: this file in
-        # plugin/TagHighlight/module, so data is in
-        # ../data relative to this file
-        config['data_directory'] = os.path.abspath(
-                os.path.join(os.path.dirname(__file__),
-                '../data'))
-        config['version_info_dir'] = config['data_directory']
-
-    SetLoadDataDirectory(config['data_directory'])
-
-    if not os.path.exists(config['data_directory']):
-        raise IOError("Data directory doesn't exist, have you installed the main distribution?")
-
-def LoadVersionInfo():
-    global config
-    data = LoadDataFile('release.txt')
-    config['release'] = data['release']
-
-    try:
-        config['version'] = LoadFile(os.path.join(config['version_info_dir'],'version_info.txt'))
-    except IOError:
-        config['version'] = {
-                'clean': 'Unreleased',
-                'date': 'Unreleased',
-                'revision_id': 'Unreleased',
-                }
-
-def SetInitialOptions(new_options):
-    global config
-    for key in new_options:
-        config[key] = new_options[key]
-    if 'debug_level' in config:
-        SetDebugLogLevel(config['debug_level'])
-    if 'debug_file' in config:
-        SetDebugLogFile(config['debug_file'])
-
-def LoadLanguages():
-    global config
-    if 'language_handler' in config:
-        return
-    from .languages import Languages
-    config['language_handler'] = Languages(config)
-
-    full_language_list = config['language_handler'].GetAllLanguages()
-    if len(config['languages']) == 0:
-        # Include all languages
-        config['language_list'] = full_language_list
-    else:
-        config['language_list'] = [i for i in full_language_list if i in config['languages']]
-    Debug("Languages:\n\t{0!r}\n\t{1!r}".format(full_language_list, config['language_list']), "Information")
-
-SetDataDirectories()
-LoadVersionInfo()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.pyc
deleted file mode 100644 (file)
index faa3742..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/config.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.py
deleted file mode 100644 (file)
index 5ad9048..0000000
+++ /dev/null
@@ -1,174 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-import subprocess
-import os
-import re
-import glob
-from .utilities import DictDict
-from .languages import Languages
-from .debug import Debug
-
-field_processor = re.compile(
-r'''
-    ^                 # Start of the line
-    (?P<keyword>.*?)  # Capture the first field: everything up to the first tab
-    \t                # Field separator: a tab character
-    .*?               # Second field (uncaptured): everything up to the next tab
-    \t                # Field separator: a tab character
-    (?P<search>.*?)   # Any character at all, but as few as necessary (i.e. catch everything up to the ;")
-    ;"                # The end of the search specifier (see http://ctags.sourceforge.net/FORMAT)
-    (?=\t)            # There MUST be a tab character after the ;", but we want to match it with zero width
-    .*\t              # There can be other fields before "kind", so catch them here.
-                      # Also catch the tab character from the previous line as there MUST be a tab before the field
-    (kind:)?          # This is the "kind" field; "kind:" is optional
-    (?P<kind>\w)      # The kind is a single character: catch it
-    (\t|$)            # It must be followed either by a tab or by the end of the line
-    .*                # If it is followed by a tab, soak up the rest of the line; replace with the syntax keyword line
-''', re.VERBOSE)
-field_const = re.compile(r'\bconst\b')
-
-def GenerateTags(options):
-    Debug("Generating Tags", "Information")
-
-    args = GetCommandArgs(options)
-
-    os.chdir(options['source_root'])
-
-    ctags_cmd = [options['ctags_exe_full']] + args
-
-    #subprocess.call(" ".join(ctags_cmd), shell = (os.name != 'nt'))
-    # shell=True stops the command window popping up
-    # We don't use stdin, but have to define it in order
-    # to get round python bug 3905
-    # http://bugs.python.org/issue3905
-    process = subprocess.Popen(ctags_cmd,
-            stdin=subprocess.PIPE,
-            stderr=subprocess.PIPE,
-            stdout=subprocess.PIPE
-            )#, shell=True)
-    (sout, serr) = process.communicate()
-
-    tagFile = open(os.path.join(options['ctags_file_dir'], options['ctags_file']), 'r')
-    tagLines = [line.strip() for line in tagFile]
-    tagFile.close()
-
-    # Also sort the file a bit better (tag, then kind, then filename)
-    tagLines.sort(key=ctags_key)
-
-    tagFile = open(os.path.join(options['ctags_file_dir'],options['ctags_file']), 'w')
-    for line in tagLines:
-        tagFile.write(line + "\n")
-    tagFile.close()
-
-def ParseTags(options):
-    """Function to parse the tags file and generate a dictionary containing language keys.
-
-    Each entry is a list of tags with all the required details.
-    """
-    languages = options['language_handler']
-    kind_list = languages.GetKindList()
-
-    # Language: {Type: set([keyword, keyword, keyword])}
-    ctags_entries = DictDict()
-
-    lineMatchers = {}
-    for key in languages.GetAllLanguages():
-        lineMatchers[key] = re.compile(
-                r'^.*?\t[^\t]*\.(?P<extension>' +
-                languages.GetLanguageHandler(key)['PythonExtensionMatcher'] +
-                ')\t')
-
-    p = open(os.path.join(options['ctags_file_dir'],options['ctags_file']), 'r')
-    while 1:
-        try:
-            line = p.readline()
-        except UnicodeDecodeError:
-            continue
-        if not line:
-            break
-
-        for key, lineMatcher in list(lineMatchers.items()):
-            if lineMatcher.match(line):
-                # We have a match
-                m = field_processor.match(line.strip())
-                if m is not None:
-                    try:
-                        short_kind = 'ctags_' + m.group('kind')
-                        kind = kind_list[key][short_kind]
-                        keyword = m.group('keyword')
-                        if options['parse_constants'] and \
-                                (key == 'c') and \
-                                (kind == 'CTagsGlobalVariable'):
-                            if field_const.search(m.group('search')) is not None:
-                                kind = 'CTagsConstant'
-                        if short_kind not in languages.GetLanguageHandler(key)['SkipList']:
-                            ctags_entries[key][kind].add(keyword)
-                    except KeyError:
-                        Debug("Unrecognised kind '{kind}' for language {language}".format(kind=m.group('kind'), language=key), "Error")
-    p.close()
-
-    return ctags_entries
-
-def GetCommandArgs(options):
-    args = []
-
-    ctags_languages = [l['CTagsName'] for l in options['language_handler'].GetAllLanguageHandlers()]
-    if 'c' in ctags_languages:
-        ctags_languages.append('c++')
-    args += ["--languages=" + ",".join(ctags_languages)]
-
-    if options['ctags_file']:
-        args += ['-f', os.path.join(options['ctags_file_dir'], options['ctags_file'])]
-
-    if not options['include_docs']:
-        args += ["--exclude=docs", "--exclude=Documentation"]
-
-    if options['include_locals']:
-        Debug("Including local variables in tag generation", "Information")
-        kinds = options['language_handler'].GetKindList()
-        def FindLocalVariableKinds(language_kinds):
-            """Finds the key associated with a value in a dictionary.
-
-            Assumes presence has already been checked."""
-            Debug("Finding local variable types from " + repr(language_kinds), "Information")
-            return "".join(key[-1] for key,val in language_kinds.items() if val == 'CTagsLocalVariable')
-
-        for language in ctags_languages:
-            if language in kinds and 'CTagsLocalVariable' in kinds[language].values():
-                Debug("Finding local variables for " + language, "Information")
-                args += ['--{language}-kinds=+{kind}'.format(language=language,
-                    kind=FindLocalVariableKinds(kinds[language]))]
-            else:
-                Debug("Skipping language: " + language, "Information")
-
-    # Must be last as it includes the file list:
-    if options['recurse']:
-        args += ['--recurse']
-        args += ['.']
-    else:
-        args += glob.glob(os.path.join(options['source_root'],'*'))
-
-    Debug("Command arguments: " + repr(args), "Information")
-
-    return args
-
-key_regexp = re.compile('^(?P<keyword>.*?)\t(?P<remainder>.*\t(?P<kind>[a-zA-Z])(?:\t|$).*)')
-
-def ctags_key(ctags_line):
-    match = key_regexp.match(ctags_line)
-    if match is None:
-        return ctags_line
-    return match.group('keyword') + match.group('kind') + match.group('remainder')
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.pyc
deleted file mode 100644 (file)
index faa863c..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/ctags_interface.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.py
deleted file mode 100644 (file)
index 1aafdf0..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-
-import os
-
-debug_log_levels = ('Critical', 'Error', 'Warning', 'Status', 'Information', 'None')
-debug_log_file = None
-debug_log_level = 'None'
-
-def SetDebugLogFile(filename):
-    global debug_log_file
-    debug_log_file = filename
-
-def SetDebugLogLevel(level):
-    global debug_log_level
-    debug_log_level = level
-
-def Debug(msg, level):
-    if level not in debug_log_levels:
-        raise Exception("Invalid log level: " + level)
-    this_index = debug_log_levels.index(level)
-    current_index = debug_log_levels.index(debug_log_level)
-
-    if this_index > current_index:
-        return
-
-    if debug_log_file is None:
-        print(msg)
-    else:
-        fh = open(debug_log_file, 'a')
-        fh.write(msg)
-        fh.write("\n")
-        fh.close()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.pyc
deleted file mode 100644 (file)
index 918249b..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/debug.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.py
deleted file mode 100644 (file)
index f0b50a8..0000000
+++ /dev/null
@@ -1,178 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-import os
-import re
-from .utilities import GenerateValidKeywordRange, IsValidKeyword
-from .debug import Debug
-
-vim_synkeyword_arguments = [
-        'contains',
-        'oneline',
-        'fold',
-        'display',
-        'extend',
-        'contained',
-        'containedin',
-        'nextgroup',
-        'transparent',
-        'skipwhite',
-        'skipnl',
-        'skipempty'
-        ]
-
-def CreateTypesFile(options, language, tags):
-    tag_types = list(tags.keys())
-    tag_types.sort()
-
-    Debug("Writing types file", "Information")
-
-    language_handler = options['language_handler'].GetLanguageHandler(language)
-
-    if options['check_keywords']:
-        iskeyword = GenerateValidKeywordRange(language_handler['IsKeyword'])
-        Debug("Is Keyword is {0!r}".format(iskeyword), "Information")
-
-    matchEntries = set()
-    vimtypes_entries = []
-
-
-    typesUsedByLanguage = list(options['language_handler'].GetKindList(language).values())
-    # TODO: This may be included elsewhere, but we'll leave it in for now
-    #clear_string = 'silent! syn clear ' + " ".join(typesUsedByLanguage)
-
-    vimtypes_entries = []
-    #vimtypes_entries.append(clear_string)
-
-    # Get the priority list from the language handler
-    priority = language_handler['Priority'][:]
-    # Reverse the priority such that highest priority
-    # is last.
-    priority.reverse()
-
-    fullTypeList = list(reversed(sorted(tags.keys())))
-    # Reorder type list according to priority sort order
-    allTypes = []
-    for thisType in priority:
-        if thisType in fullTypeList:
-            allTypes.append(thisType)
-            fullTypeList.remove(thisType)
-    # Add the ones not specified in priority
-    allTypes = fullTypeList + allTypes
-
-    Debug("Type priority list: " + repr(allTypes), "Information")
-
-    patternREs = []
-    for pattern in options['skip_patterns']:
-        patternREs.append(re.compile(pattern))
-
-    for thisType in allTypes:
-        keystarter = 'syn keyword ' + thisType
-        keycommand = keystarter
-        for keyword in tags[thisType]:
-            skip_this = False
-            for pattern in patternREs:
-                if pattern.search(keyword) != None:
-                    skip_this = True
-                    break
-            if skip_this:
-                continue
-
-            if options['check_keywords']:
-                # In here we should check that the keyword only matches
-                # vim's \k parameter (which will be different for different
-                # languages).  This is quite slow so is turned off by
-                # default; however, it is useful for some things where the
-                # default generated file contains a lot of rubbish.  It may
-                # be worth optimising IsValidKeyword at some point.
-                if not IsValidKeyword(keyword, iskeyword):
-                    matchDone = False
-                    if options['include_matches']:
-
-                        patternCharacters = "/@#':"
-                        charactersToEscape = '\\' + '~[]*.$^'
-
-                        for patChar in patternCharacters:
-                            if keyword.find(patChar) == -1:
-                                escapedKeyword = keyword
-                                for ch in charactersToEscape:
-                                    escapedKeyword = escapedKeyword.replace(ch, '\\' + ch)
-                                if options['include_matches']:
-                                    matchEntries.add('syn match ' + thisType + ' ' + patChar + escapedKeyword + patChar)
-                                matchDone = True
-                                break
-
-                    if not matchDone:
-                        Debug("Skipping keyword '" + keyword + "'", "Information")
-
-                    continue
-
-
-            if keyword.lower() in vim_synkeyword_arguments:
-                if not options['skip_vimkeywords']:
-                    matchEntries.add('syn match ' + thisType + ' /' + keyword + '/')
-                continue
-
-            temp = keycommand + " " + keyword
-            if len(temp) >= 512:
-                vimtypes_entries.append(keycommand)
-                keycommand = keystarter
-            keycommand = keycommand + " " + keyword
-        if keycommand != keystarter:
-            vimtypes_entries.append(keycommand)
-
-    # Sort the matches
-    matchEntries = sorted(list(matchEntries))
-
-    if (len(matchEntries) + len(vimtypes_entries)) == 0:
-        # All keywords have been filtered out, give up
-        return
-
-    vimtypes_entries.append('')
-    vimtypes_entries += matchEntries
-
-    if options['include_locals']:
-        LocalTagType = ',CTagsLocalVariable'
-    else:
-        LocalTagType = ''
-
-    if options['types_file_name_override'] is not None and options['types_file_name_override'] != 'None':
-        type_file_name = options['types_file_name_override']
-    else:
-        type_file_name = options['types_file_prefix'] + '_' + language_handler['Suffix'] + '.' + options['types_file_extension']
-    filename = os.path.join(options['types_file_location'], type_file_name)
-    Debug("Filename is {0}\n".format(filename), "Information")
-
-    try:
-        # Have to open in binary mode as we want to write with Unix line endings
-        # The resulting file will then work with any Vim (Windows, Linux, Cygwin etc)
-        fh = open(filename, 'wb')
-    except IOError:
-        Debug("ERROR: Couldn't create {file}\n".format(file=outfile), "Error")
-        sys.exit(1)
-
-    try:
-        for line in vimtypes_entries:
-            try:
-                fh.write(line.encode('ascii'))
-            except UnicodeDecodeError:
-                Debug("Error decoding line '{0!r}'".format(line), "Error")
-                fh.write('echoerr "Types generation error"\n'.encode('ascii'))
-            fh.write('\n'.encode('ascii'))
-    except IOError:
-        Debug("ERROR: Couldn't write {file} contents\n".format(file=outfile), "Error")
-        sys.exit(1)
-    finally:
-        fh.close()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.pyc
deleted file mode 100644 (file)
index 845fe3b..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/generation.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.py
deleted file mode 100644 (file)
index ebdec26..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-import os
-import glob
-
-from .config import config
-from .loaddata import LoadDataFile, LoadFile, GlobData
-from .debug import Debug
-
-class Languages():
-    registry = {}
-
-    def __init__(self, options):
-        self.options = options
-        self.kinds = None
-
-        language_list_entries = ['SkipList','Priority']
-
-        # Import language specific modules: this will make them be parsed
-        # and will add to the registry
-        self.defaults = LoadDataFile('language_defaults.txt', language_list_entries)
-
-        for language_file in GlobData('languages/*.txt'):
-            language_dict = LoadDataFile(language_file, language_list_entries)
-            language_dict['Filename'] = language_file
-            language_dict = self.VerifyLanguage(language_dict)
-            self.registry[language_dict['FriendlyName']] = language_dict
-
-    def ReadConfigFile(self, filename):
-        result = {}
-        fh = open(filename, 'r')
-        list_entries = ['SkipList','Priority']
-        key = None
-        for line in fh:
-            if line.strip().endswith(':') and line[0] not in [' ','\t',':','#']:
-                key = line.strip()[:-1]
-                result[key] = []
-            elif key is not None and line.startswith('\t'):
-                result[key] += [line.strip()]
-            elif ':' in line and line[0] not in [' ','\t',':','#']:
-                # End of the previous list, so reset key
-                key = None
-                parts = line.strip().split(':',1)
-                if parts[0] in list_entries:
-                    if ',' in parts[1]:
-                        result[parts[0]] = parts[1].split(',')
-                    else:
-                        result[parts[0]] = [parts[1]]
-                else:
-                    result[parts[0]] = parts[1]
-        fh.close()
-        return result
-
-    def VerifyLanguage(self, language_dict):
-        required_keys = [
-                'FriendlyName',
-                'CTagsName',
-                'PythonExtensionMatcher',
-                'VimExtensionMatcher',
-                'Suffix',
-                'SkipList',
-                'IsKeyword',
-                'Priority',
-                ]
-        for key in required_keys:
-            if key not in language_dict:
-                if key in self.defaults:
-                    language_dict[key] = self.defaults[key]
-                else:
-                    raise Exception("Language data from file {filename} is " \
-                            "missing required key {key} (no default " \
-                            "available).".format(filename=language_dict['Filename'],
-                                key=key))
-        return language_dict
-
-    def GetAllLanguages(self):
-        return list(self.registry.keys())
-
-    def GetAllLanguageHandlers(self):
-        return list(self.registry.values())
-
-    def GetLanguageHandler(self, name):
-        return self.registry[name]
-
-    def GenerateExtensionTable(self):
-        results = {}
-        for handler in list(self.registry.values()):
-            extensions = handler.GetVimMatcher()
-            suffix = handler.GetSuffix()
-            results[extensions] = suffix
-        return results
-
-    def GenerateFullKindList(self):
-        self.LoadKindList()
-        kinds = set()
-        for language in list(self.kinds.keys()):
-            kinds |= set(self.kinds[language].values())
-        return sorted(list(kinds))
-
-    def GetKindList(self, language=None):
-        """Explicit list of kinds exported from ctags help."""
-        if self.kinds is None:
-            kind_import = LoadDataFile('kinds.txt')
-            # Generate the kind database with 'ctags_' prefix on the keys
-            self.kinds = {}
-            for key in kind_import:
-                self.kinds[key] = {}
-                for kind in kind_import[key]:
-                    self.kinds[key]['ctags_'+kind] = kind_import[key][kind]
-
-        if language is None:
-            return self.kinds
-        elif language in self.kinds:
-            return self.kinds[language]
-        else:
-            return None
-
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.pyc
deleted file mode 100644 (file)
index e19bd4a..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/languages.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.py
deleted file mode 100644 (file)
index 50b0c74..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-import os
-import glob
-
-data_directory = None
-
-def SetLoadDataDirectory(directory):
-    global data_directory
-    data_directory = directory
-
-def LoadFile(filename, list_entries=[]):
-    results = {}
-    fh = open(filename, 'r')
-    key = None
-    for line in fh:
-        if line.strip().endswith(':') and line[0] not in [' ','\t',':','#']:
-            key = line.strip()[:-1]
-        elif key is not None and line.startswith('\t'):
-            if ':' in line:
-                # Dict entry, split onto multiple lines
-                parts = line.strip().split(':',1)
-                if key not in results:
-                    results[key] = {}
-                elif not isinstance(results[key], dict):
-                    raise ValueError("Mixed data types in data file {file} for entry {key}".format(filename, key))
-                if parts[0] in list_entries:
-                    results[key][parts[0]] = parts[1].split(',')
-                else:
-                    results[key][parts[0]] = parts[1]
-            else:
-                # List entry, split onto multiple lines
-                if key not in results:
-                    results[key] = []
-                elif not isinstance(results[key], list):
-                    raise ValueError("Mixed data types in data file {file} for entry {key}".format(filename, key))
-                results[key].append(line.strip())
-        elif ':' in line and line[0] not in [' ','\t',':','#']:
-            # End of previous list: was it a real list or
-            # an empty entry?
-            if key not in results:
-                # Empty entry: add as such
-                if key in list_entries:
-                    results[key] = []
-                else:
-                    results[key] = ''
-            key = None
-            parts = line.strip().split(':',1)
-            if parts[0] in list_entries:
-                # Registered list entry: split on commas
-                results[parts[0]] = parts[1].split(',')
-            else:
-                # Treat as a string
-                results[parts[0]] = parts[1]
-    return results
-
-
-def LoadDataFile(relative, list_entries=[]):
-    filename = os.path.join(data_directory,relative)
-    return LoadFile(filename, list_entries)
-
-def GlobData(matcher):
-    files = glob.glob(os.path.join(data_directory, matcher))
-    return [os.path.relpath(i,data_directory) for i in files]
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.pyc
deleted file mode 100644 (file)
index 181bf69..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/loaddata.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.py
deleted file mode 100644 (file)
index 0fc1b57..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from .config import config
-import os
-from .loaddata import LoadDataFile
-
-AllOptions = {}
-
-def LoadOptionSpecification():
-    ListKeys = ['CommandLineSwitches']
-    RequiredKeys = ['CommandLineSwitches', 'Type', 'Default', 'Help']
-
-    global AllOptions
-    AllOptions = LoadDataFile('options.txt', ListKeys)
-
-    for dest in AllOptions.keys():
-        # Check we've got all of the required keys
-        for key in RequiredKeys:
-            if key not in AllOptions[dest]:
-                if 'VimOptionMap' in AllOptions[dest]:
-                    # This is probably just a Vim option: ignore
-                    pass
-                else:
-                    raise Exception("Missing option {key} in option {dest}".format(key=key,dest=dest))
-        # Handle special types of options
-        if AllOptions[dest]['Type'] == 'bool':
-            if AllOptions[dest]['Default'] == 'True':
-                AllOptions[dest]['Default'] = True
-            else:
-                AllOptions[dest]['Default'] = False
-        elif AllOptions[dest]['Type'] == 'list':
-            if AllOptions[dest]['Default'] == '[]':
-                AllOptions[dest]['Default'] = []
-            else:
-                AllOptions[dest]['Default'] = AllOptions[dest]['Default'].split(',')
-
-LoadOptionSpecification()
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.pyc
deleted file mode 100644 (file)
index 9a8824f..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/options.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.py
deleted file mode 100644 (file)
index b7e39db..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-import time
-import re
-
-# Used for timing a function; from http://www.daniweb.com/code/snippet368.html
-# decorator: put @print_timing before a function to time it.
-def print_timing(func):
-    def wrapper(*arg):
-        t1 = time.time()
-        res = func(*arg)
-        t2 = time.time()
-        print('{name} took {time:0.3f} ms'.format(name=func.__name__, time=(t2-t1)*1000.0))
-        return res
-    return wrapper
-
-class TagHighlightOptionDict(dict):
-    """Customised version of a dictionary that allows access by attribute."""
-    def __getattr__(self, name):
-        return self[name]
-
-    def __getitem__(self, name):
-        if name not in self:
-            from .options import AllOptions
-            for option in AllOptions.keys():
-                if option == name:
-                    return AllOptions[option]['Default']
-        return super(TagHighlightOptionDict, self).__getitem__(name)
-
-    def __setattr__(self, name, value):
-        self[name] = value
-
-class SetDict(dict):
-    """Customised version of a dictionary that auto-creates non-existent keys as sets."""
-    def __getitem__(self, key):
-        if key not in self:
-            self[key] = set()
-        return super(SetDict, self).__getitem__(key)
-
-    def __setitem__(self, key, value):
-        if isinstance(value, set):
-            super(SetDict, self).__setitem__(key, value)
-        else:
-            super(SetDict, self).__setitem__(key, set([value]))
-
-class DictDict(dict):
-    """Customised version of a dictionary that auto-creates non-existent keys as SetDicts."""
-    def __getitem__(self, key):
-        if key not in self:
-            self[key] = SetDict()
-        return super(DictDict, self).__getitem__(key)
-
-    def __setitem__(self, key, value):
-        if isinstance(value, SetDict):
-            super(DictDict, self).__setitem__(key, value)
-        else:
-            raise NotImplementedError
-
-def GenerateValidKeywordRange(iskeyword):
-    # Generally obeys Vim's iskeyword setting, but
-    # only allows characters in ascii range
-    ValidKeywordSets = iskeyword.split(',')
-    rangeMatcher = re.compile('^(?P<from>(?:\d+|\S))-(?P<to>(?:\d+|\S))$')
-    falseRangeMatcher = re.compile('^^(?P<from>(?:\d+|\S))-(?P<to>(?:\d+|\S))$')
-    validList = []
-    for valid in ValidKeywordSets:
-        m = rangeMatcher.match(valid)
-        fm = falseRangeMatcher.match(valid)
-        if valid == '@':
-            for ch in [chr(i) for i in range(0,128)]:
-                if ch.isalpha():
-                    validList.append(ch)
-        elif m is not None:
-            # We have a range of ascii values
-            if m.group('from').isdigit():
-                rangeFrom = int(m.group('from'))
-            else:
-                rangeFrom = ord(m.group('from'))
-
-            if m.group('to').isdigit():
-                rangeTo = int(m.group('to'))
-            else:
-                rangeTo = ord(m.group('to'))
-
-            validRange = list(range(rangeFrom, rangeTo+1))
-            # Restrict to ASCII
-            validRange = [i for i in validRange if i < 128]
-            for ch in [chr(i) for i in validRange]:
-                validList.append(ch)
-
-        elif fm is not None:
-            # We have a range of ascii values: remove them!
-            if fm.group('from').isdigit():
-                rangeFrom = int(fm.group('from'))
-            else:
-                rangeFrom = ord(fm.group('from'))
-
-            if fm.group('to').isdigit():
-                rangeTo = int(fm.group('to'))
-            else:
-                rangeTo = ord(fm.group('to'))
-
-            validRange = range(rangeFrom, rangeTo+1)
-            for ch in [chr(i) for i in validRange]:
-                for i in range(validList.count(ch)):
-                    validList.remove(ch)
-
-        elif len(valid) == 1:
-            # Just a char
-            if ord(valid) < 128:
-                validList.append(valid)
-
-        else:
-            raise ValueError('Unrecognised iskeyword part: ' + valid)
-
-    return validList
-
-
-def IsValidKeyword(keyword, iskeyword):
-    for char in keyword:
-        if not char in iskeyword:
-            return False
-    return True
-
-
-if __name__ == "__main__":
-    import pprint
-    test_obj = SetDict()
-    # Should be able to add an item to the list
-    pprint.pprint(test_obj)
-    test_obj['MyIndex'].add('Hello')
-    test_obj['SetList'] = ['This', 'Is', 'A', 'List']
-    test_obj['SetString'] = 'This is a string'
-    # These should all be lists:
-    pprint.pprint(test_obj)
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.pyc
deleted file mode 100644 (file)
index 2d004fb..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/utilities.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.py
deleted file mode 100644 (file)
index 652fcee..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-# Tag Highlighter:
-#   Author:  A. S. Budden <abudden _at_ gmail _dot_ com>
-# Copyright: Copyright (C) 2009-2011 A. S. Budden
-#            Permission is hereby granted to use and distribute this code,
-#            with or without modifications, provided that this copyright
-#            notice is copied with it. Like anything else that's free,
-#            the TagHighlight plugin is provided *as is* and comes with no
-#            warranty of any kind, either expressed or implied. By using
-#            this plugin, you agree that in no event will the copyright
-#            holder be liable for any damages resulting from the use
-#            of this software.
-
-# ---------------------------------------------------------------------
-from __future__ import print_function
-import sys
-import os
-
-def RunWithOptions(options):
-    start_directory = os.getcwd()
-    from .config import config, SetInitialOptions, LoadLanguages
-    from .debug import Debug
-
-    SetInitialOptions(options)
-
-    Debug("Running types highlighter generator", "Information")
-    Debug("Release:" + config['release'], "Information")
-    Debug("Version:" + repr(config['version']), "Information")
-    Debug("Options:" + repr(options), "Information")
-
-    tag_file_absolute = os.path.join(config['ctags_file_dir'], config['ctags_file'])
-    if config['use_existing_tagfile'] and not os.path.exists(tag_file_absolute):
-        Debug("Cannot use existing tagfile as it doesn't exist (checking for " + tag_file_absolute + ")", "Information")
-        config['use_existing_tagfile'] = False
-
-    LoadLanguages()
-
-    if config['print_config']:
-        import pprint
-        pprint.pprint(config)
-        return
-
-    if config['print_py_version']:
-        print(sys.version)
-        return
-
-    from .ctags_interface import GenerateTags, ParseTags
-    from .generation import CreateTypesFile
-
-    if not config['use_existing_tagfile']:
-        Debug("Generating tag file", "Information")
-        GenerateTags(config)
-    tag_db = ParseTags(config)
-
-    for language in config['language_list']:
-        if language in tag_db:
-            CreateTypesFile(config, language, tag_db[language])
-
-    os.chdir(start_directory)
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.pyc b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.pyc
deleted file mode 100644 (file)
index e3ff053..0000000
Binary files a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/module/worker.pyc and /dev/null differ
diff --git a/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/version_check.py b/vim/vimfiles/bundle/tagHL/plugin/TagHighlight/version_check.py
deleted file mode 100644 (file)
index 62d545f..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-try:\r
-    import import_check\r
-    import sys\r
-    if sys.hexversion < 0x02060000:\r
-        raise ValueError("Incorrect python version")\r
-    operational = True\r
-except:\r
-    operational = False\r
-\r
-if operational:\r
-    sys.stdout.write("OK\nVERSION:%s\n" % sys.version)\r
-else:\r
-    # May not have imported sys\r
-    import sys\r
-    sys.stdout.write("NOT OK\nVERSION:%s\n" % sys.version)\r
diff --git a/vim/vimfiles/bundle/tagbar b/vim/vimfiles/bundle/tagbar
deleted file mode 160000 (submodule)
index cc222f5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit cc222f5d8c22825af2906453ebe3833dfa670689