diff options
author | Teddy Wing | 2020-07-17 19:54:18 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-17 19:54:18 +0200 |
commit | 38cddd2e0d8c692c00b584869bce602e155fb355 (patch) | |
tree | 64431500dadcfa8a46dd0d59198530318aff10d6 /ftplugin/rust.vim | |
parent | d8812a2637337fc8bd5e8d352bd3477093c1646e (diff) | |
download | dotvim-38cddd2e0d8c692c00b584869bce602e155fb355.tar.bz2 |
ftplugin/rust.vim: Turn on `b:argwrap_tail_comma`
Rust style seems to prefer trailing commas.
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 c45091f..6f6b275 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -9,3 +9,7 @@ setlocal shiftwidth=4 " Comment string setlocal commentstring=//\ %s + + +" Add a trailing comma when expanding elements to multiple lines +let b:argwrap_tail_comma = 1 |