about summary refs log tree commit diff stats
path: root/arc/vimrc.vim
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-05 21:17:24 -0700
commitb96af395b9af2ff9df94b3e82213171f30827c8d (patch)
tree17c8c12648ccc25625e2534ec8d74fbe8f1542cc /arc/vimrc.vim
parent2e3b597fe85b654e82b891c22d50754fa5a26156 (diff)
downloadmu-b96af395b9af2ff9df94b3e82213171f30827c8d.tar.gz
1276 - make C++ version the default
I've tried to update the Readme, but there are at least a couple of issues.
Diffstat (limited to 'arc/vimrc.vim')
-rw-r--r--arc/vimrc.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/arc/vimrc.vim b/arc/vimrc.vim
new file mode 100644
index 00000000..d2a65146
--- /dev/null
+++ b/arc/vimrc.vim
@@ -0,0 +1,8 @@
+syntax sync minlines=999
+
+function! HighlightMuInArc()
+  set ft=mu
+  syntax keyword muHack begin | highlight link muHack CommentedCode
+  syntax match muHack "[()]" | highlight link muHack CommentedCode
+endfunction
+autocmd BufRead,BufNewFile *.mu call HighlightMuInArc()
='n141' href='#n141'>141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267