diff options
Diffstat (limited to 'cpp/vimrc.vim')
-rw-r--r-- | cpp/vimrc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/vimrc.vim b/cpp/vimrc.vim index fa9adc79..42d17fc0 100644 --- a/cpp/vimrc.vim +++ b/cpp/vimrc.vim @@ -26,7 +26,7 @@ function! HighlightTangledFile() endfunction call HighlightTangledFile() autocmd BufRead,BufNewFile *.mu set ft=mu -autocmd BufRead,BufNewFile 0* call HighlightTangledFile() +autocmd BufRead,BufNewFile [0-9]* call HighlightTangledFile() " Scenarios considered: " opening or starting vim with a new or existing file without an extension (should interpret as C++) |