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.
1 parent a2be08b commit fa5e871Copy full SHA for fa5e871
2 files changed
ftplugin/rust.vim
@@ -1,5 +1,5 @@
1
function! s:DebugStringFunBase(desc, var)
2
- let l:debug_str = 'println!("' . a:desc . '{}", ' . a:var . ');'
+ let l:debug_str = 'println!("' . a:desc . '{:#?}", ' . a:var . ');'
3
return l:debug_str
4
endfunc
5
test/ft/a.rust
@@ -1,2 +1,2 @@
-println!("[[Vader-workbench]:$1$] DEBUGGING STRING ==> {}", $2$);
-println!("a**2 + b**2: {}", a**2 + b**2);
+println!("[[Vader-workbench]:$1$] DEBUGGING STRING ==> {:#?}", $2$);
+println!("a**2 + b**2: {:#?}", a**2 + b**2);
0 commit comments