diff options
-rw-r--r-- | cpp/vimrc.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/vimrc.vim b/cpp/vimrc.vim index d0992eb2..920e26a7 100644 --- a/cpp/vimrc.vim +++ b/cpp/vimrc.vim @@ -1,8 +1,6 @@ " Highlighting literate directives in C++ sources. function! HighlightTangledFile() - if &ft == "" - set ft=cpp - endif + set ft=cpp syntax region tangleDirective start=+:(+ skip=+".*"+ end=+)+ highlight link tangleDirective Delimiter syntax region traceContains start="^+" end="$" |