From e79f55fd9bf0e6d0e2ff03d95e05d8f23ceea213 Mon Sep 17 00:00:00 2001 From: jdhao Date: Fri, 27 Nov 2020 23:55:18 +0800 Subject: [PATCH] update commentstring for cpp --- after/ftplugin/cpp.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/after/ftplugin/cpp.vim b/after/ftplugin/cpp.vim index 4dd59bc..135e477 100644 --- a/after/ftplugin/cpp.vim +++ b/after/ftplugin/cpp.vim @@ -1,3 +1,5 @@ +set commentstring=//\ %s + nnoremap :call compile_run_cpp() function! s:compile_run_cpp() abort