142 items
NAME ↑ SIZE MODIFIED PERMS ACTIONS
.. / Parent Directory
arabic.txt — 11.62 KB
2026-04-29 09:50 · rw-r--r--
11.62 KB 2026-04-29 09:50 rw-r--r--
autocmd.txt — 70.53 KB
2026-04-29 09:50 · rw-r--r--
70.53 KB 2026-04-29 09:50 rw-r--r--
change.txt — 76.22 KB
2026-04-29 09:50 · rw-r--r--
76.22 KB 2026-04-29 09:50 rw-r--r--
channel.txt — 49.13 KB
2026-04-29 09:50 · rw-r--r--
49.13 KB 2026-04-29 09:50 rw-r--r--
cmdline.txt — 48.19 KB
2026-04-29 09:50 · rw-r--r--
48.19 KB 2026-04-29 09:50 rw-r--r--
debug.txt — 6.73 KB
2026-04-29 09:50 · rw-r--r--
6.73 KB 2026-04-29 09:50 rw-r--r--
debugger.txt — 5.32 KB
2026-04-29 09:50 · rw-r--r--
5.32 KB 2026-04-29 09:50 rw-r--r--
develop.txt — 22.33 KB
2026-04-29 09:50 · rw-r--r--
22.33 KB 2026-04-29 09:50 rw-r--r--
diff.txt — 16.63 KB
2026-04-29 09:50 · rw-r--r--
16.63 KB 2026-04-29 09:50 rw-r--r--
digraph.txt — 60.53 KB
2026-04-29 09:50 · rw-r--r--
60.53 KB 2026-04-29 09:50 rw-r--r--
editing.txt — 72.42 KB
2026-04-29 09:50 · rw-r--r--
72.42 KB 2026-04-29 09:50 rw-r--r--
eval.txt — 528.52 KB
2026-04-29 09:50 · rw-r--r--
528.52 KB 2026-04-29 09:50 rw-r--r--
farsi.txt — 523 B
2026-04-29 09:50 · rw-r--r--
523 B 2026-04-29 09:50 rw-r--r--
filetype.txt — 26.95 KB
2026-04-29 09:50 · rw-r--r--
26.95 KB 2026-04-29 09:50 rw-r--r--
fold.txt — 23.13 KB
2026-04-29 09:50 · rw-r--r--
23.13 KB 2026-04-29 09:50 rw-r--r--
ft_ada.txt — 17.82 KB
2026-04-29 09:50 · rw-r--r--
17.82 KB 2026-04-29 09:50 rw-r--r--
ft_rust.txt — 9.37 KB
2026-04-29 09:50 · rw-r--r--
9.37 KB 2026-04-29 09:50 rw-r--r--
ft_sql.txt — 29.98 KB
2026-04-29 09:50 · rw-r--r--
29.98 KB 2026-04-29 09:50 rw-r--r--
gui.txt — 51.5 KB
2026-04-29 09:50 · rw-r--r--
51.5 KB 2026-04-29 09:50 rw-r--r--
gui_w32.txt — 19 KB
2026-04-29 09:50 · rw-r--r--
19 KB 2026-04-29 09:50 rw-r--r--
gui_x11.txt — 29.21 KB
2026-04-29 09:50 · rw-r--r--
29.21 KB 2026-04-29 09:50 rw-r--r--
hangulin.txt — 598 B
2026-04-29 09:50 · rw-r--r--
598 B 2026-04-29 09:50 rw-r--r--
hebrew.txt — 5.53 KB
2026-04-29 09:50 · rw-r--r--
5.53 KB 2026-04-29 09:50 rw-r--r--
help.txt — 8.69 KB
2026-04-29 09:50 · rw-r--r--
8.69 KB 2026-04-29 09:50 rw-r--r--
helphelp.txt — 15.36 KB
2026-04-29 09:50 · rw-r--r--
15.36 KB 2026-04-29 09:50 rw-r--r--
howto.txt — 2.85 KB
2026-04-29 09:50 · rw-r--r--
2.85 KB 2026-04-29 09:50 rw-r--r--
if_cscop.txt — 18.87 KB
2026-04-29 09:50 · rw-r--r--
18.87 KB 2026-04-29 09:50 rw-r--r--
if_lua.txt — 16.36 KB
2026-04-29 09:50 · rw-r--r--
16.36 KB 2026-04-29 09:50 rw-r--r--
if_mzsch.txt — 11.66 KB
2026-04-29 09:50 · rw-r--r--
11.66 KB 2026-04-29 09:50 rw-r--r--
if_ole.txt — 7.19 KB
2026-04-29 09:50 · rw-r--r--
7.19 KB 2026-04-29 09:50 rw-r--r--
if_perl.txt — 11.02 KB
2026-04-29 09:50 · rw-r--r--
11.02 KB 2026-04-29 09:50 rw-r--r--
if_pyth.txt — 37.53 KB
2026-04-29 09:50 · rw-r--r--
37.53 KB 2026-04-29 09:50 rw-r--r--
if_ruby.txt — 8.32 KB
2026-04-29 09:50 · rw-r--r--
8.32 KB 2026-04-29 09:50 rw-r--r--
if_sniff.txt — 271 B
2026-04-29 09:50 · rw-r--r--
271 B 2026-04-29 09:50 rw-r--r--
if_tcl.txt — 22.41 KB
2026-04-29 09:50 · rw-r--r--
22.41 KB 2026-04-29 09:50 rw-r--r--
indent.txt — 41.29 KB
2026-04-29 09:50 · rw-r--r--
41.29 KB 2026-04-29 09:50 rw-r--r--
index.txt — 78.75 KB
2026-04-29 09:50 · rw-r--r--
78.75 KB 2026-04-29 09:50 rw-r--r--
insert.txt — 83.29 KB
2026-04-29 09:50 · rw-r--r--
83.29 KB 2026-04-29 09:50 rw-r--r--
intro.txt — 38.06 KB
2026-04-29 09:50 · rw-r--r--
38.06 KB 2026-04-29 09:50 rw-r--r--
map.txt — 69.14 KB
2026-04-29 09:50 · rw-r--r--
69.14 KB 2026-04-29 09:50 rw-r--r--
mbyte.txt — 58.24 KB
2026-04-29 09:50 · rw-r--r--
58.24 KB 2026-04-29 09:50 rw-r--r--
message.txt — 30.69 KB
2026-04-29 09:50 · rw-r--r--
30.69 KB 2026-04-29 09:50 rw-r--r--
mlang.txt — 8 KB
2026-04-29 09:50 · rw-r--r--
8 KB 2026-04-29 09:50 rw-r--r--
motion.txt — 50.14 KB
2026-04-29 09:50 · rw-r--r--
50.14 KB 2026-04-29 09:50 rw-r--r--
netbeans.txt — 37.09 KB
2026-04-29 09:50 · rw-r--r--
37.09 KB 2026-04-29 09:50 rw-r--r--
options.txt — 382.34 KB
2026-04-29 09:50 · rw-r--r--
382.34 KB 2026-04-29 09:50 rw-r--r--
os_390.txt — 4.64 KB
2026-04-29 09:50 · rw-r--r--
4.64 KB 2026-04-29 09:50 rw-r--r--
os_amiga.txt — 5.34 KB
2026-04-29 09:50 · rw-r--r--
5.34 KB 2026-04-29 09:50 rw-r--r--
os_beos.txt — 293 B
2026-04-29 09:50 · rw-r--r--
293 B 2026-04-29 09:50 rw-r--r--
os_dos.txt — 12.09 KB
2026-04-29 09:50 · rw-r--r--
12.09 KB 2026-04-29 09:50 rw-r--r--
os_haiku.txt — 8.39 KB
2026-04-29 09:50 · rw-r--r--
8.39 KB 2026-04-29 09:50 rw-r--r--
os_mac.txt — 6.7 KB
2026-04-29 09:50 · rw-r--r--
6.7 KB 2026-04-29 09:50 rw-r--r--
os_mint.txt — 391 B
2026-04-29 09:50 · rw-r--r--
391 B 2026-04-29 09:50 rw-r--r--
os_msdos.txt — 523 B
2026-04-29 09:50 · rw-r--r--
523 B 2026-04-29 09:50 rw-r--r--
os_os2.txt — 299 B
2026-04-29 09:50 · rw-r--r--
299 B 2026-04-29 09:50 rw-r--r--
os_qnx.txt — 3.98 KB
2026-04-29 09:50 · rw-r--r--
3.98 KB 2026-04-29 09:50 rw-r--r--
os_risc.txt — 328 B
2026-04-29 09:50 · rw-r--r--
328 B 2026-04-29 09:50 rw-r--r--
os_unix.txt — 2.54 KB
2026-04-29 09:50 · rw-r--r--
2.54 KB 2026-04-29 09:50 rw-r--r--
os_vms.txt — 32.13 KB
2026-04-29 09:50 · rw-r--r--
32.13 KB 2026-04-29 09:50 rw-r--r--
os_win32.txt — 13.04 KB
2026-04-29 09:50 · rw-r--r--
13.04 KB 2026-04-29 09:50 rw-r--r--
pattern.txt — 58.73 KB
2026-04-29 09:50 · rw-r--r--
58.73 KB 2026-04-29 09:50 rw-r--r--
pi_getscript.txt — 20.59 KB
2026-04-29 09:50 · rw-r--r--
20.59 KB 2026-04-29 09:50 rw-r--r--
pi_gzip.txt — 1.26 KB
2026-04-29 09:50 · rw-r--r--
1.26 KB 2026-04-29 09:50 rw-r--r--
pi_logipat.txt — 4.1 KB
2026-04-29 09:50 · rw-r--r--
4.1 KB 2026-04-29 09:50 rw-r--r--
pi_netrw.txt — 175.08 KB
2026-04-29 09:50 · rw-r--r--
175.08 KB 2026-04-29 09:50 rw-r--r--
pi_paren.txt — 2.22 KB
2026-04-29 09:50 · rw-r--r--
2.22 KB 2026-04-29 09:50 rw-r--r--
pi_spec.txt — 4.03 KB
2026-04-29 09:50 · rw-r--r--
4.03 KB 2026-04-29 09:50 rw-r--r--
pi_tar.txt — 6.65 KB
2026-04-29 09:50 · rw-r--r--
6.65 KB 2026-04-29 09:50 rw-r--r--
pi_vimball.txt — 11.58 KB
2026-04-29 09:50 · rw-r--r--
11.58 KB 2026-04-29 09:50 rw-r--r--
pi_zip.txt — 7.12 KB
2026-04-29 09:50 · rw-r--r--
7.12 KB 2026-04-29 09:50 rw-r--r--
popup.txt — 38.55 KB
2026-04-29 09:50 · rw-r--r--
38.55 KB 2026-04-29 09:50 rw-r--r--
print.txt — 30.3 KB
2026-04-29 09:50 · rw-r--r--
30.3 KB 2026-04-29 09:50 rw-r--r--
quickfix.txt — 80.98 KB
2026-04-29 09:50 · rw-r--r--
80.98 KB 2026-04-29 09:50 rw-r--r--
quickref.txt — 70.45 KB
2026-04-29 09:50 · rw-r--r--
70.45 KB 2026-04-29 09:50 rw-r--r--
quotes.txt — 12.45 KB
2026-04-29 09:50 · rw-r--r--
12.45 KB 2026-04-29 09:50 rw-r--r--
recover.txt — 10.47 KB
2026-04-29 09:50 · rw-r--r--
10.47 KB 2026-04-29 09:50 rw-r--r--
remote.txt — 8.22 KB
2026-04-29 09:50 · rw-r--r--
8.22 KB 2026-04-29 09:50 rw-r--r--
repeat.txt — 41.2 KB
2026-04-29 09:50 · rw-r--r--
41.2 KB 2026-04-29 09:50 rw-r--r--
rileft.txt — 4.82 KB
2026-04-29 09:50 · rw-r--r--
4.82 KB 2026-04-29 09:50 rw-r--r--
russian.txt — 2.95 KB
2026-04-29 09:50 · rw-r--r--
2.95 KB 2026-04-29 09:50 rw-r--r--
scroll.txt — 13.46 KB
2026-04-29 09:50 · rw-r--r--
13.46 KB 2026-04-29 09:50 rw-r--r--
sign.txt — 25.25 KB
2026-04-29 09:50 · rw-r--r--
25.25 KB 2026-04-29 09:50 rw-r--r--
spell.txt — 62.6 KB
2026-04-29 09:50 · rw-r--r--
62.6 KB 2026-04-29 09:50 rw-r--r--
sponsor.txt — 7.03 KB
2026-04-29 09:50 · rw-r--r--
7.03 KB 2026-04-29 09:50 rw-r--r--
starting.txt — 71.87 KB
2026-04-29 09:50 · rw-r--r--
71.87 KB 2026-04-29 09:50 rw-r--r--
syntax.txt — 220.57 KB
2026-04-29 09:50 · rw-r--r--
220.57 KB 2026-04-29 09:50 rw-r--r--
tabpage.txt — 16.84 KB
2026-04-29 09:50 · rw-r--r--
16.84 KB 2026-04-29 09:50 rw-r--r--
tags — 346.5 KB
2026-04-29 09:50 · rw-r--r--
346.5 KB 2026-04-29 09:50 rw-r--r--
tagsrch.txt — 39.33 KB
2026-04-29 09:50 · rw-r--r--
39.33 KB 2026-04-29 09:50 rw-r--r--
term.txt — 46.38 KB
2026-04-29 09:50 · rw-r--r--
46.38 KB 2026-04-29 09:50 rw-r--r--
terminal.txt — 54.79 KB
2026-04-29 09:50 · rw-r--r--
54.79 KB 2026-04-29 09:50 rw-r--r--
testing.txt — 14.6 KB
2026-04-29 09:50 · rw-r--r--
14.6 KB 2026-04-29 09:50 rw-r--r--
textprop.txt — 13.09 KB
2026-04-29 09:50 · rw-r--r--
13.09 KB 2026-04-29 09:50 rw-r--r--
tips.txt — 20.57 KB
2026-04-29 09:50 · rw-r--r--
20.57 KB 2026-04-29 09:50 rw-r--r--
todo.txt — 302.17 KB
2026-04-29 09:50 · rw-r--r--
302.17 KB 2026-04-29 09:50 rw-r--r--
uganda.txt — 13.7 KB
2026-04-29 09:50 · rw-r--r--
13.7 KB 2026-04-29 09:50 rw-r--r--
undo.txt — 16.2 KB
2026-04-29 09:50 · rw-r--r--
16.2 KB 2026-04-29 09:50 rw-r--r--
usr_01.txt — 6.92 KB
2026-04-29 09:50 · rw-r--r--
6.92 KB 2026-04-29 09:50 rw-r--r--
usr_02.txt — 23.66 KB
2026-04-29 09:50 · rw-r--r--
23.66 KB 2026-04-29 09:50 rw-r--r--
usr_03.txt — 23.31 KB
2026-04-29 09:50 · rw-r--r--
23.31 KB 2026-04-29 09:50 rw-r--r--
usr_04.txt — 18.68 KB
2026-04-29 09:50 · rw-r--r--
18.68 KB 2026-04-29 09:50 rw-r--r--
usr_05.txt — 26.39 KB
2026-04-29 09:50 · rw-r--r--
26.39 KB 2026-04-29 09:50 rw-r--r--
usr_06.txt — 9.39 KB
2026-04-29 09:50 · rw-r--r--
9.39 KB 2026-04-29 09:50 rw-r--r--
usr_07.txt — 15.62 KB
2026-04-29 09:50 · rw-r--r--
15.62 KB 2026-04-29 09:50 rw-r--r--
usr_08.txt — 18.92 KB
2026-04-29 09:50 · rw-r--r--
18.92 KB 2026-04-29 09:50 rw-r--r--
usr_09.txt — 11.23 KB
2026-04-29 09:50 · rw-r--r--
11.23 KB 2026-04-29 09:50 rw-r--r--
usr_10.txt — 28.52 KB
2026-04-29 09:50 · rw-r--r--
28.52 KB 2026-04-29 09:50 rw-r--r--
usr_11.txt — 12.72 KB
2026-04-29 09:50 · rw-r--r--
12.72 KB 2026-04-29 09:50 rw-r--r--
usr_12.txt — 13.11 KB
2026-04-29 09:50 · rw-r--r--
13.11 KB 2026-04-29 09:50 rw-r--r--
usr_20.txt — 13.39 KB
2026-04-29 09:50 · rw-r--r--
13.39 KB 2026-04-29 09:50 rw-r--r--
usr_21.txt — 18.02 KB
2026-04-29 09:50 · rw-r--r--
18.02 KB 2026-04-29 09:50 rw-r--r--
usr_22.txt — 14.65 KB
2026-04-29 09:50 · rw-r--r--
14.65 KB 2026-04-29 09:50 rw-r--r--
usr_23.txt — 12.45 KB
2026-04-29 09:50 · rw-r--r--
12.45 KB 2026-04-29 09:50 rw-r--r--
usr_24.txt — 20.34 KB
2026-04-29 09:50 · rw-r--r--
20.34 KB 2026-04-29 09:50 rw-r--r--
usr_25.txt — 18.73 KB
2026-04-29 09:50 · rw-r--r--
18.73 KB 2026-04-29 09:50 rw-r--r--
usr_26.txt — 8.07 KB
2026-04-29 09:50 · rw-r--r--
8.07 KB 2026-04-29 09:50 rw-r--r--
usr_27.txt — 17.29 KB
2026-04-29 09:50 · rw-r--r--
17.29 KB 2026-04-29 09:50 rw-r--r--
usr_28.txt — 15.64 KB
2026-04-29 09:50 · rw-r--r--
15.64 KB 2026-04-29 09:50 rw-r--r--
usr_29.txt — 19.65 KB
2026-04-29 09:50 · rw-r--r--
19.65 KB 2026-04-29 09:50 rw-r--r--
usr_30.txt — 22.13 KB
2026-04-29 09:50 · rw-r--r--
22.13 KB 2026-04-29 09:50 rw-r--r--
usr_31.txt — 10.16 KB
2026-04-29 09:50 · rw-r--r--
10.16 KB 2026-04-29 09:50 rw-r--r--
usr_32.txt — 5.25 KB
2026-04-29 09:50 · rw-r--r--
5.25 KB 2026-04-29 09:50 rw-r--r--
usr_40.txt — 22.65 KB
2026-04-29 09:50 · rw-r--r--
22.65 KB 2026-04-29 09:50 rw-r--r--
usr_41.txt — 95.1 KB
2026-04-29 09:50 · rw-r--r--
95.1 KB 2026-04-29 09:50 rw-r--r--
usr_42.txt — 13.53 KB
2026-04-29 09:50 · rw-r--r--
13.53 KB 2026-04-29 09:50 rw-r--r--
usr_43.txt — 7.24 KB
2026-04-29 09:50 · rw-r--r--
7.24 KB 2026-04-29 09:50 rw-r--r--
usr_44.txt — 28.27 KB
2026-04-29 09:50 · rw-r--r--
28.27 KB 2026-04-29 09:50 rw-r--r--
usr_45.txt — 17.27 KB
2026-04-29 09:50 · rw-r--r--
17.27 KB 2026-04-29 09:50 rw-r--r--
usr_46.txt — 6.93 KB
2026-04-29 09:50 · rw-r--r--
6.93 KB 2026-04-29 09:50 rw-r--r--
usr_90.txt — 16.44 KB
2026-04-29 09:50 · rw-r--r--
16.44 KB 2026-04-29 09:50 rw-r--r--
usr_toc.txt — 9.28 KB
2026-04-29 09:50 · rw-r--r--
9.28 KB 2026-04-29 09:50 rw-r--r--
various.txt — 30.37 KB
2026-04-29 09:50 · rw-r--r--
30.37 KB 2026-04-29 09:50 rw-r--r--
version4.txt — 13.58 KB
2026-04-29 09:50 · rw-r--r--
13.58 KB 2026-04-29 09:50 rw-r--r--
version5.txt — 301.3 KB
2026-04-29 09:50 · rw-r--r--
301.3 KB 2026-04-29 09:50 rw-r--r--
version6.txt — 563.42 KB
2026-04-29 09:50 · rw-r--r--
563.42 KB 2026-04-29 09:50 rw-r--r--
version7.txt — 658.89 KB
2026-04-29 09:50 · rw-r--r--
658.89 KB 2026-04-29 09:50 rw-r--r--
version8.txt — 1.85 MB
2026-04-29 09:50 · rw-r--r--
1.85 MB 2026-04-29 09:50 rw-r--r--
vi_diff.txt — 56.08 KB
2026-04-29 09:50 · rw-r--r--
56.08 KB 2026-04-29 09:50 rw-r--r--
vim9.txt — 55.82 KB
2026-04-29 09:50 · rw-r--r--
55.82 KB 2026-04-29 09:50 rw-r--r--
visual.txt — 21.28 KB
2026-04-29 09:50 · rw-r--r--
21.28 KB 2026-04-29 09:50 rw-r--r--
windows.txt — 54.43 KB
2026-04-29 09:50 · rw-r--r--
54.43 KB 2026-04-29 09:50 rw-r--r--
workshop.txt — 371 B
2026-04-29 09:50 · rw-r--r--
371 B 2026-04-29 09:50 rw-r--r--
ONLINE
doc
142 items
09:50:33
TERMINAL FM
Edit
Preview
Download
Rename
Copy
Chmod
Delete
*ft_rust.txt* For Vim version 8.2. Last change: 2017 Nov 02 This is documentation for the Rust filetype plugin. ============================================================================== CONTENTS *rust* 1. Introduction |rust-intro| 2. Settings |rust-settings| 3. Commands |rust-commands| 4. Mappings |rust-mappings| ============================================================================== INTRODUCTION *rust-intro* This plugin provides syntax and supporting functionality for the Rust filetype. ============================================================================== SETTINGS *rust-settings* This plugin has a few variables you can define in your vimrc that change the behavior of the plugin. *g:rustc_path* g:rustc_path~ Set this option to the path to rustc for use in the |:RustRun| and |:RustExpand| commands. If unset, "rustc" will be located in $PATH: > let g:rustc_path = $HOME."/bin/rustc" < *g:rustc_makeprg_no_percent* g:rustc_makeprg_no_percent~ Set this option to 1 to have 'makeprg' default to "rustc" instead of "rustc %": > let g:rustc_makeprg_no_percent = 1 < *g:rust_conceal* g:rust_conceal~ Set this option to turn on the basic |conceal| support: > let g:rust_conceal = 1 < *g:rust_conceal_mod_path* g:rust_conceal_mod_path~ Set this option to turn on |conceal| for the path connecting token "::": > let g:rust_conceal_mod_path = 1 < *g:rust_conceal_pub* g:rust_conceal_pub~ Set this option to turn on |conceal| for the "pub" token: > let g:rust_conceal_pub = 1 < *g:rust_recommended_style* g:rust_recommended_style~ Set this option to enable vim indentation and textwidth settings to conform to style conventions of the rust standard library (i.e. use 4 spaces for indents and sets 'textwidth' to 99). This option is enabled by default. To disable it: > let g:rust_recommended_style = 0 < *g:rust_fold* g:rust_fold~ Set this option to turn on |folding|: > let g:rust_fold = 1 < Value Effect ~ 0 No folding 1 Braced blocks are folded. All folds are open by default. 2 Braced blocks are folded. 'foldlevel' is left at the global value (all folds are closed by default). *g:rust_bang_comment_leader* g:rust_bang_comment_leader~ Set this option to 1 to preserve the leader on multi-line doc comments using the /*! syntax: > let g:rust_bang_comment_leader = 1 < *g:ftplugin_rust_source_path* g:ftplugin_rust_source_path~ Set this option to a path that should be prepended to 'path' for Rust source files: > let g:ftplugin_rust_source_path = $HOME.'/dev/rust' < *g:rustfmt_command* g:rustfmt_command~ Set this option to the name of the 'rustfmt' executable in your $PATH. If not specified it defaults to 'rustfmt' : > let g:rustfmt_command = 'rustfmt' < *g:rustfmt_autosave* g:rustfmt_autosave~ Set this option to 1 to run |:RustFmt| automatically when saving a buffer. If not specified it defaults to 0 : > let g:rustfmt_autosave = 0 < *g:rustfmt_fail_silently* g:rustfmt_fail_silently~ Set this option to 1 to prevent 'rustfmt' from populating the |location-list| with errors. If not specified it defaults to 0: > let g:rustfmt_fail_silently = 0 < *g:rustfmt_options* g:rustfmt_options~ Set this option to a string of options to pass to 'rustfmt'. The write-mode is already set to 'overwrite'. If not specified it defaults to '' : > let g:rustfmt_options = '' < *g:rust_playpen_url* g:rust_playpen_url~ Set this option to override the URL for the playpen to use: > let g:rust_playpen_url = 'https://play.rust-lang.org/' < *g:rust_shortener_url* g:rust_shortener_url~ Set this option to override the URL for the URL shortener: > let g:rust_shortener_url = 'https://is.gd/' < ============================================================================== COMMANDS *rust-commands* :RustRun [args] *:RustRun* :RustRun! [rustc-args] [--] [args] Compiles and runs the current file. If it has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The compiled binary is always placed in a temporary directory, but is run from the current directory. The arguments given to |:RustRun| will be passed to the compiled binary. If ! is specified, the arguments are passed to rustc instead. A "--" argument will separate the rustc arguments from the arguments passed to the binary. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustExpand [args] *:RustExpand* :RustExpand! [TYPE] [args] Expands the current file using --pretty and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustExpand| will be passed to rustc. This is largely intended for specifying various --cfg configurations. If ! is specified, the first argument is the expansion type to pass to rustc --pretty. Otherwise it will default to "expanded". If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustEmitIr [args] *:RustEmitIr* Compiles the current file to LLVM IR and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustEmitIr| will be passed to rustc. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustEmitAsm [args] *:RustEmitAsm* Compiles the current file to assembly and displays the results in a new split. If the current file has unsaved changes, it will be saved first using |:update|. If the current file is an unnamed buffer, it will be written to a temporary file first. The arguments given to |:RustEmitAsm| will be passed to rustc. If |g:rustc_path| is defined, it is used as the path to rustc. Otherwise it is assumed rustc can be found in $PATH. :RustPlay *:RustPlay* This command will only work if you have web-api.vim installed (available at https://github.com/mattn/webapi-vim). It sends the current selection, or if nothing is selected, the entirety of the current buffer to the Rust playpen, and emits a message with the shortened URL to the playpen. |g:rust_playpen_url| is the base URL to the playpen, by default "https://play.rust-lang.org/". |g:rust_shortener_url| is the base URL for the shortener, by default "https://is.gd/" :RustFmt *:RustFmt* Runs |g:rustfmt_command| on the current buffer. If |g:rustfmt_options| is set then those will be passed to the executable. If |g:rustfmt_fail_silently| is 0 (the default) then it will populate the |location-list| with the errors from |g:rustfmt_command|. If |g:rustfmt_fail_silently| is set to 1 then it will not populate the |location-list|. :RustFmtRange *:RustFmtRange* Runs |g:rustfmt_command| with selected range. See |:RustFmt| for any other information. ============================================================================== MAPPINGS *rust-mappings* This plugin defines mappings for |[[| and |]]| to support hanging indents. It also has a few other mappings: *rust_* Executes |:RustRun| with no arguments. Note: This binding is only available in MacVim. *rust_* Populates the command line with |:RustRun|! using the arguments given to the last invocation, but does not execute it. Note: This binding is only available in MacVim. ============================================================================== vim:tw=78:sw=4:ts=8:noet:ft=help:norl: