Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: tools/utils/vim/syntax/dart.vim

Issue 8954011: Add operator keyword to vim syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils/vim/syntax/dart.vim
diff --git a/tools/utils/vim/syntax/dart.vim b/tools/utils/vim/syntax/dart.vim
index 1d30e9fac84c92d11093a7942f0d6aad9fbceb3f..231179b96c6fa6056ba3ae1516a643bc85dc52ba 100644
--- a/tools/utils/vim/syntax/dart.vim
+++ b/tools/utils/vim/syntax/dart.vim
@@ -31,7 +31,7 @@ syn keyword dartAssert assert
syn keyword dartClassDecl extends implements interface
" TODO(antonm): check if labels on break and continue are supported.
syn keyword dartBranch break continue nextgroup=dartUserLabelRef skipwhite
-syn keyword dartKeyword function get set
+syn keyword dartKeyword function get set operator
syn match dartUserLabelRef "\k\+" contained
syn match dartVarArg "\.\.\."
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698