diff options
author | kongo2002 <kongo2002@googlemail.com> | 2011-02-22 20:52:28 +0100 |
---|---|---|
committer | kongo2002 <kongo2002@googlemail.com> | 2011-02-22 20:52:28 +0100 |
commit | 9bcb10bb282dd23eaab62ea43b40b7eec921eb52 (patch) | |
tree | a391b221626fb281d45a7e6ea56ee872a590f486 /extras | |
parent | 050e1f793e3f266bbec8a1e886d2b47eb77c2a27 (diff) |
modify js/sh keyword matches
Diffstat (limited to 'extras')
-rw-r--r-- | extras/vim/syntax/uzbl.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extras/vim/syntax/uzbl.vim b/extras/vim/syntax/uzbl.vim index ee69e18..4e50be2 100644 --- a/extras/vim/syntax/uzbl.vim +++ b/extras/vim/syntax/uzbl.vim @@ -34,7 +34,11 @@ syn keyword uzblKeyword request menu_add menu_link_add menu_image_add syn keyword uzblKeyword menu_editable_add menu_separator menu_link_separator syn keyword uzblKeyword menu_image_separator menu_editable_separator syn keyword uzblKeyword menu_remove menu_link_remove menu_image_remove -syn keyword uzblKeyword menu_editable_remove hardcopy include js sh +syn keyword uzblKeyword menu_editable_remove hardcopy include + +" Match 'js' and 'sh' only without a dot in front +syn match uzblKeyword /\.\@<!sh/ +syn match uzblKeyword /\.\@<!js/ " Comments syn match uzblTodo /TODO:/ contained |