We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc92c7 commit 4aa69b8Copy full SHA for 4aa69b8
indent/rust.vim
@@ -24,6 +24,8 @@ setlocal indentkeys=0{,0},!^F,o,O,0[,0],0(,0)
24
25
setlocal indentexpr=GetRustIndent(v:lnum)
26
27
+let b:undo_indent = "setlocal cindent< cinoptions< cinkeys< cinwords< lisp< autoindent< indentkeys< indentexpr<"
28
+
29
" Only define the function once.
30
if exists("*GetRustIndent")
31
finish
0 commit comments