Skip to content

Commit df42d18

Browse files
committed
Bug fix for highlighting of function names in shell scripts
1 parent 44b0487 commit df42d18

File tree

2 files changed

+47
-3
lines changed

2 files changed

+47
-3
lines changed

autoload/xolox/easytags.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim script
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: January 15, 2012
3+
" Last Change: April 18, 2013
44
" URL: http://peterodding.com/code/vim/easytags/
55

6-
let g:xolox#easytags#version = '2.8.1'
6+
let g:xolox#easytags#version = '2.8.2'
77

88
" Public interface through (automatic) commands. {{{1
99

@@ -923,7 +923,7 @@ call xolox#easytags#define_tagkind({
923923
\ 'filetype': 'sh',
924924
\ 'hlgroup': 'shFunctionTag',
925925
\ 'tagkinds': 'f',
926-
\ 'pattern_suffix': '\(\s*()\)\@!'})
926+
\ 'pattern_suffix': '\(\w\|\s*()\)\@!'})
927927

928928
highlight def link shFunctionTag Operator
929929

doc/easytags.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,49 @@
11
*easytags.txt* Automated tag generation and syntax highlighting in Vim
22

3+
===============================================================================
4+
*easytags-contents*
5+
Contents ~
6+
7+
1. Introduction |easytags-introduction|
8+
2. Installation |easytags-installation|
9+
1. A note about Windows |easytags-a-note-about-windows|
10+
3. Commands |easytags-commands|
11+
1. The |:UpdateTags| command
12+
2. The |:HighlightTags| command
13+
4. Options |easytags-options|
14+
1. The |g:easytags_cmd| option
15+
2. The |g:easytags_file| option
16+
3. The |g:easytags_dynamic_files| option
17+
4. The |g:easytags_by_filetype| option
18+
5. The |g:easytags_always_enabled| option
19+
6. The |g:easytags_on_cursorhold| option
20+
7. The |g:easytags_updatetime_min| option
21+
8. The |g:easytags_updatetime_autodisable| option
22+
9. The |g:easytags_auto_update| option
23+
10. The |g:easytags_auto_highlight| option
24+
11. The |g:easytags_autorecurse| option
25+
12. The |g:easytags_include_members| option
26+
13. The |g:easytags_resolve_links| option
27+
14. The |g:easytags_suppress_ctags_warning| option
28+
15. The |g:easytags_ignored_syntax_groups| option
29+
5. Faster syntax highlighting using Python |easytags-faster-syntax-highlighting-using-python|
30+
1. The |g:easytags_python_enabled| option
31+
2. The |g:easytags_python_script| option
32+
6. How to customize the highlighting colors?
33+
7. Passing custom command line arguments to Exuberant Ctags
34+
8. Troubleshooting |easytags-troubleshooting|
35+
1. |:HighlightTags| only works for the tags file created by |:UpdateTags|
36+
2. The plug-in complains that Exuberant Ctags isn't installed
37+
3. Vim locks up while the plug-in is running
38+
4. Failed to highlight tags because pattern is too big!
39+
5. The plug-in doesn't seem to work in Cygwin
40+
9. Contact |easytags-contact|
41+
10. License |easytags-license|
42+
43+
===============================================================================
44+
*easytags-introduction*
45+
Introduction ~
46+
347
Vim has long been my favorite text editor and combined with Exuberant Ctags
448
[1] it has the potential to provide most of what I expect from an integrated
549
development environment [2]. Exuberant Ctags is the latest incarnation of a

0 commit comments

Comments
 (0)