We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98eb5f7 + 4c1fdd0 commit aaff4e0Copy full SHA for aaff4e0
src/etc/vim/ftplugin/rust.vim
@@ -31,6 +31,12 @@ setlocal formatoptions-=t formatoptions+=croqnl
31
" j was only added in 7.3.541, so stop complaints about its nonexistence
32
silent! setlocal formatoptions+=j
33
34
+" smartindent will be overridden by indentexpr if filetype indent is on, but
35
+" otherwise it's better than nothing.
36
+setlocal smartindent nocindent
37
+
38
+setlocal tabstop=4 shiftwidth=4 expandtab
39
40
" This includeexpr isn't perfect, but it's a good start
41
setlocal includeexpr=substitute(v:fname,'::','/','g')
42
0 commit comments