diff options
author | Teddy Wing | 2016-03-27 19:43:48 -0400 |
---|---|---|
committer | Teddy Wing | 2016-03-27 19:44:34 -0400 |
commit | dd7757bdd7b051c4f0aa2b7011b0a9b44a03a920 (patch) | |
tree | 209aaa8c6681a3501dff2dfcfb3b9dd27a52fe61 /ftplugin/rust.vim | |
parent | cebac9b3cb9cb850cb1ea9412a6260762c5e2361 (diff) | |
download | dotvim-dd7757bdd7b051c4f0aa2b7011b0a9b44a03a920.tar.bz2 |
ftplugin/rust.vim: Add commentstring
Set `// ` as the comment string for the Rust language (otherwise it
defaults to `/* %s */`).
Diffstat (limited to 'ftplugin/rust.vim')
-rw-r--r-- | ftplugin/rust.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim index 4e466bc..c45091f 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -5,3 +5,7 @@ setlocal expandtab setlocal tabstop=4 setlocal softtabstop=4 setlocal shiftwidth=4 + + +" Comment string +setlocal commentstring=//\ %s |