diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-27 23:55:18 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-27 23:55:18 +0800 |
| commit | e79f55fd9bf0e6d0e2ff03d95e05d8f23ceea213 (patch) | |
| tree | 1517353b26dc4196dbaa4b7fa961029090352ef2 /after/ftplugin/cpp.vim | |
| parent | 42751cb1dd9cff3090a7552926eb8871e83e3c14 (diff) | |
update commentstring for cpp
Diffstat (limited to 'after/ftplugin/cpp.vim')
| -rw-r--r-- | after/ftplugin/cpp.vim | 2 |
1 files changed, 2 insertions, 0 deletions
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 <silent> <buffer> <F9> :call <SID>compile_run_cpp()<CR> function! s:compile_run_cpp() abort |
