Skip to content

Commit d7ecfea

Browse files
committed
* Fixed .vimshrc syntax.
1 parent e5fdb89 commit d7ecfea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/vimshrc.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"=============================================================================
22
" FILE: syntax/vimshrc.vim
33
" AUTHOR: Shougo Matsushita <[email protected]>
4-
" Last Modified: 17 Apr 2010
4+
" Last Modified: 18 Apr 2010
55
" Usage: Just source this file.
66
" License: MIT license {{{
77
" Permission is hereby granted, free of charge, to any person obtaining
@@ -31,7 +31,7 @@ elseif exists('b:current_syntax')
3131
finish
3232
endif
3333

34-
syn match VimShellRcCommand '\%(^\|\s\)[[:alnum:]_.][[:alnum:]_.-]\+[[:blank:]\n]' contained
34+
syn match VimShellRcCommand '\%(^\|[;|]\)\s*\zs[[:alnum:]_.][[:alnum:]_.-]\+' contained
3535
syn match VimShellRcVariable '$\h\w*' contained
3636
syn match VimShellRcVariable '$$\h\w*' contained
3737
syn region VimShellRcVariable start=+${+ end=+}+ contained

0 commit comments

Comments
 (0)