Commit f4bd106
Changed files (1)
vimrc
@@ -153,7 +153,7 @@ function! ExtractLet()
let cursor_position = getpos(".")
normal 0
normal! dd
- exec "?^\\s*\\<\\(describe\\|context\\)\\>"
+ exec "?^\\s*\\<\\(describe\\|context\\|let\\)\\>"
normal! $p
exec 's/\v([a-z_][a-zA-Z0-9_]*) \= (.+)/let(:\1) { \2 }'
normal V=