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

Unified Diff: tools/gn/misc/vim/syntax/gn.vim

Issue 914873002: Rework handling of os and cpu_arch in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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
Index: tools/gn/misc/vim/syntax/gn.vim
diff --git a/tools/gn/misc/vim/syntax/gn.vim b/tools/gn/misc/vim/syntax/gn.vim
index d9049b291249c89341c3d2b63fba2067f4fa3e51..2a2fc4a921f5c1680ef29f6ec72747f15a57b2a8 100644
--- a/tools/gn/misc/vim/syntax/gn.vim
+++ b/tools/gn/misc/vim/syntax/gn.vim
@@ -17,9 +17,10 @@ hi def link gnConditional Conditional
" Predefined variables
syn keyword gnPredefVar build_cpu_arch build_os cpu_arch current_toolchain
-syn keyword gnPredefVar default_toolchain os python_path root_build_dir
-syn keyword gnPredefVar root_gen_dir root_out_dir target_gen_dir
-syn keyword gnPredefVar target_out_dir
+syn keyword gnPredefVar default_toolchain os python_path
+syn keyword gnPredefVar root_build_dir root_gen_dir root_out_dir
+syn keyword gnPredefVar target_cpu_arch target_gen_dir target_out_dir
scottmg 2015/02/11 03:06:20 Thanks for updating this!
+syn keyword gnPredefVar target_os
syn keyword gnPredefVar true false
hi def link gnPredefVar Constant

Powered by Google App Engine
This is Rietveld 408576698