diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-12 22:28:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-12 22:32:28 -0700 |
commit | 1ae4e0d95f7e37dc7d0b146542fc39b4aed491de (patch) | |
tree | 9d55bc2c172e57b980a7003d58aa84b453d83016 /vimrc.vim | |
parent | 8a8911703fdbdd132f6b64b12ccb834a624bb22f (diff) | |
download | mu-1ae4e0d95f7e37dc7d0b146542fc39b4aed491de.tar.gz |
1555 - mu.vim: distinguish control-flow from constants
We also do this in regular C++ now.
Diffstat (limited to 'vimrc.vim')
-rw-r--r-- | vimrc.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vimrc.vim b/vimrc.vim index 34fbbb9d..a3f31d1e 100644 --- a/vimrc.vim +++ b/vimrc.vim @@ -24,8 +24,7 @@ function! HighlightTangledFile() syntax match muCommentedCode /#? .*$/ | highlight link muCommentedCode CommentedCode set comments+=n:# " Some other bare-bones mu highlighting. - syntax match muAssign " <- " | highlight link muAssign SpecialChar - syntax match muAssign "\<raw\>" + syntax match muAssign " <- \|\<raw\>" | highlight link muAssign SpecialChar endfunction call HighlightTangledFile() autocmd BufRead,BufNewFile *.mu set ft=mu |