From df42d18bd760e2ef43dfb7dab78561a7da801a62 Mon Sep 17 00:00:00 2001 From: Peter Odding Date: Thu, 18 Apr 2013 00:33:54 +0200 Subject: Bug fix for highlighting of function names in shell scripts --- autoload/xolox/easytags.vim | 6 +++--- doc/easytags.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/autoload/xolox/easytags.vim b/autoload/xolox/easytags.vim index 2088f48..b261a6a 100644 --- a/autoload/xolox/easytags.vim +++ b/autoload/xolox/easytags.vim @@ -1,9 +1,9 @@ " Vim script " Author: Peter Odding -" Last Change: January 15, 2012 +" Last Change: April 18, 2013 " URL: http://peterodding.com/code/vim/easytags/ -let g:xolox#easytags#version = '2.8.1' +let g:xolox#easytags#version = '2.8.2' " Public interface through (automatic) commands. {{{1 @@ -923,7 +923,7 @@ call xolox#easytags#define_tagkind({ \ 'filetype': 'sh', \ 'hlgroup': 'shFunctionTag', \ 'tagkinds': 'f', - \ 'pattern_suffix': '\(\s*()\)\@!'}) + \ 'pattern_suffix': '\(\w\|\s*()\)\@!'}) highlight def link shFunctionTag Operator diff --git a/doc/easytags.txt b/doc/easytags.txt index 372c541..138bef9 100644 --- a/doc/easytags.txt +++ b/doc/easytags.txt @@ -1,5 +1,49 @@ *easytags.txt* Automated tag generation and syntax highlighting in Vim +=============================================================================== + *easytags-contents* +Contents ~ + + 1. Introduction |easytags-introduction| + 2. Installation |easytags-installation| + 1. A note about Windows |easytags-a-note-about-windows| + 3. Commands |easytags-commands| + 1. The |:UpdateTags| command + 2. The |:HighlightTags| command + 4. Options |easytags-options| + 1. The |g:easytags_cmd| option + 2. The |g:easytags_file| option + 3. The |g:easytags_dynamic_files| option + 4. The |g:easytags_by_filetype| option + 5. The |g:easytags_always_enabled| option + 6. The |g:easytags_on_cursorhold| option + 7. The |g:easytags_updatetime_min| option + 8. The |g:easytags_updatetime_autodisable| option + 9. The |g:easytags_auto_update| option + 10. The |g:easytags_auto_highlight| option + 11. The |g:easytags_autorecurse| option + 12. The |g:easytags_include_members| option + 13. The |g:easytags_resolve_links| option + 14. The |g:easytags_suppress_ctags_warning| option + 15. The |g:easytags_ignored_syntax_groups| option + 5. Faster syntax highlighting using Python |easytags-faster-syntax-highlighting-using-python| + 1. The |g:easytags_python_enabled| option + 2. The |g:easytags_python_script| option + 6. How to customize the highlighting colors? + 7. Passing custom command line arguments to Exuberant Ctags + 8. Troubleshooting |easytags-troubleshooting| + 1. |:HighlightTags| only works for the tags file created by |:UpdateTags| + 2. The plug-in complains that Exuberant Ctags isn't installed + 3. Vim locks up while the plug-in is running + 4. Failed to highlight tags because pattern is too big! + 5. The plug-in doesn't seem to work in Cygwin + 9. Contact |easytags-contact| + 10. License |easytags-license| + +=============================================================================== + *easytags-introduction* +Introduction ~ + Vim has long been my favorite text editor and combined with Exuberant Ctags [1] it has the potential to provide most of what I expect from an integrated development environment [2]. Exuberant Ctags is the latest incarnation of a -- cgit v1.2.3