We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fdb89 commit d7ecfeaCopy full SHA for d7ecfea
syntax/vimshrc.vim
@@ -1,7 +1,7 @@
1
"=============================================================================
2
" FILE: syntax/vimshrc.vim
3
" AUTHOR: Shougo Matsushita <[email protected]>
4
-" Last Modified: 17 Apr 2010
+" Last Modified: 18 Apr 2010
5
" Usage: Just source this file.
6
" License: MIT license {{{
7
" Permission is hereby granted, free of charge, to any person obtaining
@@ -31,7 +31,7 @@ elseif exists('b:current_syntax')
31
finish
32
endif
33
34
-syn match VimShellRcCommand '\%(^\|\s\)[[:alnum:]_.][[:alnum:]_.-]\+[[:blank:]\n]' contained
+syn match VimShellRcCommand '\%(^\|[;|]\)\s*\zs[[:alnum:]_.][[:alnum:]_.-]\+' contained
35
syn match VimShellRcVariable '$\h\w*' contained
36
syn match VimShellRcVariable '$$\h\w*' contained
37
syn region VimShellRcVariable start=+${+ end=+}+ contained
0 commit comments