aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-07-20 19:41:19 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-07-22 05:06:27 +0000
commit84928888e1d47d9e013c38a0b260d5042e4d2392 (patch)
tree43bc168082a478029a0d092beccccf4c48d632dd
parenta7a6a4833f5eb2d6c2270945ec762fdae0bb0786 (diff)
downloadmeson-84928888e1d47d9e013c38a0b260d5042e4d2392.zip
meson-84928888e1d47d9e013c38a0b260d5042e4d2392.tar.gz
meson-84928888e1d47d9e013c38a0b260d5042e4d2392.tar.bz2
vim: Syntax-highlight continue and break statements
-rw-r--r--data/syntax-highlighting/vim/syntax/meson.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/syntax-highlighting/vim/syntax/meson.vim b/data/syntax-highlighting/vim/syntax/meson.vim
index d0d15d9..1100113 100644
--- a/data/syntax-highlighting/vim/syntax/meson.vim
+++ b/data/syntax-highlighting/vim/syntax/meson.vim
@@ -32,8 +32,9 @@ set cpo&vim
" http://mesonbuild.com/Syntax.html
syn keyword mesonConditional elif else if endif
-syn keyword mesonRepeat foreach endforeach
+syn keyword mesonRepeat foreach endforeach
syn keyword mesonOperator and not or in
+syn keyword mesonStatement continue break
syn match mesonComment "#.*$" contains=mesonTodo,@Spell
syn keyword mesonTodo FIXME NOTE NOTES TODO XXX contained