about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/vimrc.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/vimrc.vim b/cpp/vimrc.vim
index 6dd7f18e..d0992eb2 100644
--- a/cpp/vimrc.vim
+++ b/cpp/vimrc.vim
@@ -11,6 +11,12 @@ function! HighlightTangledFile()
   highlight traceAbsent ctermfg=darkred
 endfunction
 call HighlightTangledFile()
-autocmd BufReadPost,BufNewFile 0* call HighlightTangledFile()
+autocmd BufRead,BufNewFile 0* call HighlightTangledFile()
 
 set isk+=-
+
+" scenarios inside c++ files
+syntax match muComment /#.*$/ | highlight link muComment Comment
+syntax keyword muControl reply jump jump-if jump-unless loop loop-if loop-unless break-if break-unless | highlight link muControl Identifier
+syntax match muAssign "<-" | highlight link muAssign SpecialChar
+syntax match muAssign "\<raw\>"
> 2012-05-02 00:15:56 +0100 Added license to new files' href='/danisanti/profani-tty/commit/prof_history.h?id=5fe3b1ff7990954ec3822f7a41d8ac84df221186'>5fe3b1ff ^
c72d7ad6 ^

b6c5fef4 ^
c72d7ad6 ^
b6c5fef4 ^
c72d7ad6 ^



b6c5fef4 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45