代码拉取完成,页面将自动刷新
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>ft_rust - Vim Documentation</title>
<meta name="Generator" content="Vim/8.0">
<meta name="plugin-version" content="vim8.0">
<meta name="syntax" content="help">
<meta name="settings" content="no_pre,use_css,expand_tabs">
<link rel="stylesheet" href="style.css" type="text/css" />
<script src="jquery.min.js" type="text/javascript"></script>
<script src="mark-current-page.js" type="text/javascript"></script>
</head>
<body>
<header>
<div class="header">
<a href="http://vim-jp.org/">vim-jp</a>
/ <a href="http://vim-jp.org/vimdoc-en/">vimdoc-en</a>
/ ft_rust<br />
<a name="top"></a><h1>ft_rust - Vim Documentation</h1>
<a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
</div>
</header>
<nav>
<dl>
<dt>BASIC</dt>
<dd><ul>
<li><a href="quickref.html">quickref</a></li>
<li><a href="sponsor.html">sponsor</a></li>
</ul></dd>
<dt>USER MANUAL</dt>
<dd><ul>
<li><a href="usr_toc.html">usr_toc</a></li>
</ul></dd>
<dt>Getting Started</dt>
<dd><ul>
<li><a href="usr_01.html">usr_01</a></li>
<li><a href="usr_02.html">usr_02</a></li>
<li><a href="usr_03.html">usr_03</a></li>
<li><a href="usr_04.html">usr_04</a></li>
<li><a href="usr_05.html">usr_05</a></li>
<li><a href="usr_06.html">usr_06</a></li>
<li><a href="usr_07.html">usr_07</a></li>
<li><a href="usr_08.html">usr_08</a></li>
<li><a href="usr_09.html">usr_09</a></li>
<li><a href="usr_10.html">usr_10</a></li>
<li><a href="usr_11.html">usr_11</a></li>
<li><a href="usr_12.html">usr_12</a></li>
</ul></dd>
<dt>Editing Effectively</dt>
<dd><ul>
<li><a href="usr_20.html">usr_20</a></li>
<li><a href="usr_21.html">usr_21</a></li>
<li><a href="usr_22.html">usr_22</a></li>
<li><a href="usr_23.html">usr_23</a></li>
<li><a href="usr_24.html">usr_24</a></li>
<li><a href="usr_25.html">usr_25</a></li>
<li><a href="usr_26.html">usr_26</a></li>
<li><a href="usr_27.html">usr_27</a></li>
<li><a href="usr_28.html">usr_28</a></li>
<li><a href="usr_29.html">usr_29</a></li>
<li><a href="usr_30.html">usr_30</a></li>
<li><a href="usr_31.html">usr_31</a></li>
<li><a href="usr_32.html">usr_32</a></li>
</ul></dd>
<dt>Tuning Vim</dt>
<dd><ul>
<li><a href="usr_40.html">usr_40</a></li>
<li><a href="usr_41.html">usr_41</a></li>
<li><a href="usr_42.html">usr_42</a></li>
<li><a href="usr_43.html">usr_43</a></li>
<li><a href="usr_44.html">usr_44</a></li>
<li><a href="usr_45.html">usr_45</a></li>
</ul></dd>
<dt>Making Vim Run</dt>
<dd><ul>
<li><a href="usr_90.html">usr_90</a></li>
</ul></dd>
<dt>General subjects</dt>
<dd><ul>
<li><a href="intro.html">intro</a></li>
<li><a href="index.html">help</a></li>
<li><a href="helphelp.html">helphelp</a></li>
<li><a href="vimindex.html">index</a></li>
<li><a href="tags.html">tags</a></li>
<li><a href="howto.html">howto</a></li>
<li><a href="tips.html">tips</a></li>
<li><a href="message.html">message</a></li>
<li><a href="quotes.html">quotes</a></li>
<li><a href="todo.html">todo</a></li>
<li><a href="debug.html">debug</a></li>
<li><a href="develop.html">develop</a></li>
<li><a href="uganda.html">uganda</a></li>
</ul></dd>
<dt>Basic editing</dt>
<dd><ul>
<li><a href="starting.html">starting</a></li>
<li><a href="editing.html">editing</a></li>
<li><a href="motion.html">motion</a></li>
<li><a href="scroll.html">scroll</a></li>
<li><a href="insert.html">insert</a></li>
<li><a href="change.html">change</a></li>
<li><a href="indent.html">indent</a></li>
<li><a href="undo.html">undo</a></li>
<li><a href="repeat.html">repeat</a></li>
<li><a href="visual.html">visual</a></li>
<li><a href="various.html">various</a></li>
<li><a href="recover.html">recover</a></li>
</ul></dd>
<dt>Advanced editing</dt>
<dd><ul>
<li><a href="cmdline.html">cmdline</a></li>
<li><a href="options.html">options</a></li>
<li><a href="pattern.html">pattern</a></li>
<li><a href="map.html">map</a></li>
<li><a href="tagsrch.html">tagsrch</a></li>
<li><a href="quickfix.html">quickfix</a></li>
<li><a href="windows.html">windows</a></li>
<li><a href="tabpage.html">tabpage</a></li>
<li><a href="syntax.html">syntax</a></li>
<li><a href="spell.html">spell</a></li>
<li><a href="diff.html">diff</a></li>
<li><a href="autocmd.html">autocmd</a></li>
<li><a href="filetype.html">filetype</a></li>
<li><a href="eval.html">eval</a></li>
<li><a href="channel.html">channel</a></li>
<li><a href="fold.html">fold</a></li>
</ul></dd>
<dt>Special issues</dt>
<dd><ul>
<li><a href="print.html">print</a></li>
<li><a href="remote.html">remote</a></li>
<li><a href="term.html">term</a></li>
<li><a href="digraph.html">digraph</a></li>
<li><a href="mbyte.html">mbyte</a></li>
<li><a href="mlang.html">mlang</a></li>
<li><a href="arabic.html">arabic</a></li>
<li><a href="farsi.html">farsi</a></li>
<li><a href="hebrew.html">hebrew</a></li>
<li><a href="russian.html">russian</a></li>
<li><a href="ft_ada.html">ft_ada</a></li>
<li><a href="ft_sql.html">ft_sql</a></li>
<li><a href="hangulin.html">hangulin</a></li>
<li><a href="rileft.html">rileft</a></li>
</ul></dd>
<dt>GUI</dt>
<dd><ul>
<li><a href="gui.html">gui</a></li>
<li><a href="gui_w32.html">gui_w32</a></li>
<li><a href="gui_x11.html">gui_x11</a></li>
</ul></dd>
<dt>Interfaces</dt>
<dd><ul>
<li><a href="if_cscop.html">if_cscop</a></li>
<li><a href="if_lua.html">if_lua</a></li>
<li><a href="if_mzsch.html">if_mzsch</a></li>
<li><a href="if_perl.html">if_perl</a></li>
<li><a href="if_pyth.html">if_pyth</a></li>
<li><a href="if_tcl.html">if_tcl</a></li>
<li><a href="if_ole.html">if_ole</a></li>
<li><a href="if_ruby.html">if_ruby</a></li>
<li><a href="debugger.html">debugger</a></li>
<li><a href="workshop.html">workshop</a></li>
<li><a href="netbeans.html">netbeans</a></li>
<li><a href="sign.html">sign</a></li>
</ul></dd>
<dt>Versions</dt>
<dd><ul>
<li><a href="vi_diff.html">vi_diff</a></li>
<li><a href="version4.html">version4</a></li>
<li><a href="version5.html">version5</a></li>
<li><a href="version6.html">version6</a></li>
<li><a href="version7.html">version7</a></li>
<li><a href="version8.html">version8</a></li>
</ul></dd>
<dt>Remarks about specific systems</dt>
<dd><ul>
<li><a href="os_390.html">os_390</a></li>
<li><a href="os_amiga.html">os_amiga</a></li>
<li><a href="os_beos.html">os_beos</a></li>
<li><a href="os_dos.html">os_dos</a></li>
<li><a href="os_mac.html">os_mac</a></li>
<li><a href="os_mint.html">os_mint</a></li>
<li><a href="os_msdos.html">os_msdos</a></li>
<li><a href="os_os2.html">os_os2</a></li>
<li><a href="os_qnx.html">os_qnx</a></li>
<li><a href="os_risc.html">os_risc</a></li>
<li><a href="os_unix.html">os_unix</a></li>
<li><a href="os_vms.html">os_vms</a></li>
<li><a href="os_win32.html">os_win32</a></li>
</ul></dd>
<dt>Standard plugins</dt>
<dd><ul>
<li><a href="pi_getscript.html">pi_getscript</a></li>
<li><a href="pi_gzip.html">pi_gzip</a></li>
<li><a href="pi_logipat.html">pi_logipat</a></li>
<li><a href="pi_netrw.html">pi_netrw</a></li>
<li><a href="pi_paren.html">pi_paren</a></li>
<li><a href="pi_tar.html">pi_tar</a></li>
<li><a href="pi_vimball.html">pi_vimball</a></li>
<li><a href="pi_zip.html">pi_zip</a></li>
</ul></dd>
<dt>Filetype plugins</dt>
<dd><ul>
<li><a href="pi_spec.html">pi_spec</a></li>
</ul></dd>
<dt>Others</dt>
<dd><ul>
<li><a href="vim_faq.html">vim_faq</a></li>
</ul></dd>
</dl>
</nav>
<article class="Vimdoc VimdocJa">
<div id='vimCodeElement'>
<a class="Constant" href="ft_rust.html" name="ft_rust.txt">ft_rust.txt</a> Filetype plugin for Rust<br>
<br>
<span class="PreProc">==============================================================================</span><br>
<span class="Statement">CONTENTS </span><a class="Constant" href="ft_rust.html#rust" name="rust">rust</a><br>
<br>
1. Introduction <a class="Identifier" href="ft_rust.html#rust-intro">rust-intro</a><br>
2. Settings <a class="Identifier" href="ft_rust.html#rust-settings">rust-settings</a><br>
3. Commands <a class="Identifier" href="ft_rust.html#rust-commands">rust-commands</a><br>
4. Mappings <a class="Identifier" href="ft_rust.html#rust-mappings">rust-mappings</a><br>
<br>
<span class="PreProc">==============================================================================</span><br>
<span class="Statement">INTRODUCTION </span><a class="Constant" href="ft_rust.html#rust-intro" name="rust-intro">rust-intro</a><br>
<br>
This plugin provides syntax and supporting functionality for the Rust<br>
filetype.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
<span class="Statement">SETTINGS </span><a class="Constant" href="ft_rust.html#rust-settings" name="rust-settings">rust-settings</a><br>
<br>
This plugin has a few variables you can define in your vimrc that change the<br>
behavior of the plugin.<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustc_path" name="g:rustc_path">g:rustc_path</a><br>
<span class="PreProc">g:rustc_path</span><br>
Set this option to the path to rustc for use in the <a class="Identifier" href="ft_rust.html#:RustRun">:RustRun</a> and<br>
<a class="Identifier" href="ft_rust.html#:RustExpand">:RustExpand</a> commands. If unset, "rustc" will be located in $PATH:<br>
<div class="helpExample"> let g:rustc_path = $HOME."/bin/rustc"</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustc_makeprg_no_percent" name="g:rustc_makeprg_no_percent">g:rustc_makeprg_no_percent</a><br>
<span class="PreProc">g:rustc_makeprg_no_percent</span><br>
Set this option to 1 to have <a class="Type" href="options.html#'makeprg'">'makeprg'</a> default to "rustc" instead of<br>
"rustc %":<br>
<div class="helpExample"> let g:rustc_makeprg_no_percent = 1</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_conceal" name="g:rust_conceal">g:rust_conceal</a><br>
<span class="PreProc">g:rust_conceal</span><br>
Set this option to turn on the basic <a class="Identifier" href="syntax.html#conceal">conceal</a> support:<br>
<div class="helpExample"> let g:rust_conceal = 1</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_conceal_mod_path" name="g:rust_conceal_mod_path">g:rust_conceal_mod_path</a><br>
<span class="PreProc">g:rust_conceal_mod_path</span><br>
Set this option to turn on <a class="Identifier" href="syntax.html#conceal">conceal</a> for the path connecting token<br>
"::":<br>
<div class="helpExample"> let g:rust_conceal_mod_path = 1</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_conceal_pub" name="g:rust_conceal_pub">g:rust_conceal_pub</a><br>
<span class="PreProc">g:rust_conceal_pub</span><br>
Set this option to turn on <a class="Identifier" href="syntax.html#conceal">conceal</a> for the "pub" token:<br>
<div class="helpExample"> let g:rust_conceal_pub = 1</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_recommended_style" name="g:rust_recommended_style">g:rust_recommended_style</a><br>
<span class="PreProc">g:rust_recommended_style</span><br>
Set this option to enable vim indentation and textwidth settings to<br>
conform to style conventions of the rust standard library (i.e. use 4<br>
spaces for indents and sets <a class="Type" href="options.html#'textwidth'">'textwidth'</a> to 99). This option is enabled<br>
by default. To disable it:<br>
<div class="helpExample"> let g:rust_recommended_style = 0</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_fold" name="g:rust_fold">g:rust_fold</a><br>
<span class="PreProc">g:rust_fold</span><br>
Set this option to turn on <a class="Identifier" href="fold.html#folding">folding</a>:<br>
<div class="helpExample"> let g:rust_fold = 1</div>
<br>
<span class="PreProc">Value Effect</span><br>
0 No folding<br>
1 Braced blocks are folded. All folds are open by<br>
default.<br>
2 Braced blocks are folded. <a class="Type" href="options.html#'foldlevel'">'foldlevel'</a> is left at the<br>
global value (all folds are closed by default).<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_bang_comment_leader" name="g:rust_bang_comment_leader">g:rust_bang_comment_leader</a><br>
<span class="PreProc">g:rust_bang_comment_leader</span><br>
Set this option to 1 to preserve the leader on multi-line doc comments<br>
using the /*! syntax:<br>
<div class="helpExample"> let g:rust_bang_comment_leader = 1</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:ftplugin_rust_source_path" name="g:ftplugin_rust_source_path">g:ftplugin_rust_source_path</a><br>
<span class="PreProc">g:ftplugin_rust_source_path</span><br>
Set this option to a path that should be prepended to <a class="Type" href="options.html#'path'">'path'</a> for Rust<br>
source files:<br>
<div class="helpExample"> let g:ftplugin_rust_source_path = $HOME.'/dev/rust'</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustfmt_command" name="g:rustfmt_command">g:rustfmt_command</a><br>
<span class="PreProc">g:rustfmt_command</span><br>
Set this option to the name of the <span class="MissingTag">'rustfmt'</span> executable in your $PATH. If<br>
not specified it defaults to <span class="MissingTag">'rustfmt'</span> :<br>
<div class="helpExample"> let g:rustfmt_command = 'rustfmt'</div>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustfmt_autosave" name="g:rustfmt_autosave">g:rustfmt_autosave</a><br>
<span class="PreProc">g:rustfmt_autosave</span><br>
Set this option to 1 to run <a class="Identifier" href="ft_rust.html#:RustFmt">:RustFmt</a> automatically when saving a<br>
buffer. If not specified it defaults to 0 :<br>
<div class="helpExample"> let g:rustfmt_autosave = 0</div>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustfmt_fail_silently" name="g:rustfmt_fail_silently">g:rustfmt_fail_silently</a><br>
<span class="PreProc">g:rustfmt_fail_silently</span><br>
Set this option to 1 to prevent <span class="MissingTag">'rustfmt'</span> from populating the<br>
<a class="Identifier" href="quickfix.html#location-list">location-list</a> with errors. If not specified it defaults to 0:<br>
<div class="helpExample"> let g:rustfmt_fail_silently = 0</div>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rustfmt_options" name="g:rustfmt_options">g:rustfmt_options</a><br>
<span class="PreProc">g:rustfmt_options</span><br>
Set this option to a string of options to pass to <span class="MissingTag">'rustfmt'</span>. The<br>
write-mode is already set to <span class="MissingTag">'overwrite'</span>. If not specified it<br>
defaults to '' :<br>
<div class="helpExample"> let g:rustfmt_options = ''</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_playpen_url" name="g:rust_playpen_url">g:rust_playpen_url</a><br>
<span class="PreProc">g:rust_playpen_url</span><br>
Set this option to override the URL for the playpen to use:<br>
<div class="helpExample"> let g:rust_playpen_url = '<a href="https://play.rust-lang.org/">https://play.rust-lang.org/</a>'</div>
<br>
<br>
<span class="Statement"> </span><a class="Constant" href="ft_rust.html#g:rust_shortener_url" name="g:rust_shortener_url">g:rust_shortener_url</a><br>
<span class="PreProc">g:rust_shortener_url</span><br>
Set this option to override the URL for the URL shortener:<br>
<div class="helpExample"> let g:rust_shortener_url = '<a href="https://is.gd/">https://is.gd/</a>'</div>
<br>
<br>
<br>
<span class="PreProc">==============================================================================</span><br>
<span class="Statement">COMMANDS </span><a class="Constant" href="ft_rust.html#rust-commands" name="rust-commands">rust-commands</a><br>
<br>
:RustRun <span class="Special">[args]</span> <a class="Constant" href="ft_rust.html#:RustRun" name=":RustRun">:RustRun</a><br>
:RustRun! <span class="Special">[rustc-args]</span> <span class="Special">[--]</span> <span class="Special">[args]</span><br>
Compiles and runs the current file. If it has unsaved changes,<br>
it will be saved first using <a class="Identifier" href="editing.html#:update">:update</a>. If the current file is<br>
an unnamed buffer, it will be written to a temporary file<br>
first. The compiled binary is always placed in a temporary<br>
directory, but is run from the current directory.<br>
<br>
The arguments given to <a class="Identifier" href="ft_rust.html#:RustRun">:RustRun</a> will be passed to the<br>
compiled binary.<br>
<br>
If ! is specified, the arguments are passed to rustc instead.<br>
A "--" argument will separate the rustc arguments from the<br>
arguments passed to the binary.<br>
<br>
If <a class="Identifier" href="ft_rust.html#g:rustc_path">g:rustc_path</a> is defined, it is used as the path to rustc.<br>
Otherwise it is assumed rustc can be found in $PATH.<br>
<br>
:RustExpand <span class="Special">[args]</span> <a class="Constant" href="ft_rust.html#:RustExpand" name=":RustExpand">:RustExpand</a><br>
:RustExpand! <span class="Special">[TYPE]</span> <span class="Special">[args]</span><br>
Expands the current file using --pretty and displays the<br>
results in a new split. If the current file has unsaved<br>
changes, it will be saved first using <a class="Identifier" href="editing.html#:update">:update</a>. If the<br>
current file is an unnamed buffer, it will be written to a<br>
temporary file first.<br>
<br>
The arguments given to <a class="Identifier" href="ft_rust.html#:RustExpand">:RustExpand</a> will be passed to rustc.<br>
This is largely intended for specifying various --cfg<br>
configurations.<br>
<br>
If ! is specified, the first argument is the expansion type to<br>
pass to rustc --pretty. Otherwise it will default to<br>
"expanded".<br>
<br>
If <a class="Identifier" href="ft_rust.html#g:rustc_path">g:rustc_path</a> is defined, it is used as the path to rustc.<br>
Otherwise it is assumed rustc can be found in $PATH.<br>
<br>
:RustEmitIr <span class="Special">[args]</span> <a class="Constant" href="ft_rust.html#:RustEmitIr" name=":RustEmitIr">:RustEmitIr</a><br>
Compiles the current file to LLVM IR and displays the results<br>
in a new split. If the current file has unsaved changes, it<br>
will be saved first using <a class="Identifier" href="editing.html#:update">:update</a>. If the current file is an<br>
unnamed buffer, it will be written to a temporary file first.<br>
<br>
The arguments given to <a class="Identifier" href="ft_rust.html#:RustEmitIr">:RustEmitIr</a> will be passed to rustc.<br>
<br>
If <a class="Identifier" href="ft_rust.html#g:rustc_path">g:rustc_path</a> is defined, it is used as the path to rustc.<br>
Otherwise it is assumed rustc can be found in $PATH.<br>
<br>
:RustEmitAsm <span class="Special">[args]</span> <a class="Constant" href="ft_rust.html#:RustEmitAsm" name=":RustEmitAsm">:RustEmitAsm</a><br>
Compiles the current file to assembly and displays the results<br>
in a new split. If the current file has unsaved changes, it<br>
will be saved first using <a class="Identifier" href="editing.html#:update">:update</a>. If the current file is an<br>
unnamed buffer, it will be written to a temporary file first.<br>
<br>
The arguments given to <a class="Identifier" href="ft_rust.html#:RustEmitAsm">:RustEmitAsm</a> will be passed to rustc.<br>
<br>
If <a class="Identifier" href="ft_rust.html#g:rustc_path">g:rustc_path</a> is defined, it is used as the path to rustc.<br>
Otherwise it is assumed rustc can be found in $PATH.<br>
<br>
:RustPlay <a class="Constant" href="ft_rust.html#:RustPlay" name=":RustPlay">:RustPlay</a><br>
This command will only work if you have web-api.vim installed<br>
(available at <span class="Constant"><a href="https://github.com/mattn/webapi-vim">https://github.com/mattn/webapi-vim</a></span>). It sends the<br>
current selection, or if nothing is selected, the entirety of the<br>
current buffer to the Rust playpen, and emits a message with the<br>
shortened URL to the playpen.<br>
<br>
<a class="Identifier" href="ft_rust.html#g:rust_playpen_url">g:rust_playpen_url</a> is the base URL to the playpen, by default<br>
"<span class="Constant"><a href="https://play.rust-lang.org/">https://play.rust-lang.org/</a></span>".<br>
<br>
<a class="Identifier" href="ft_rust.html#g:rust_shortener_url">g:rust_shortener_url</a> is the base URL for the shorterner, by<br>
default "<span class="Constant"><a href="https://is.gd/">https://is.gd/</a></span>"<br>
<br>
:RustFmt <a class="Constant" href="ft_rust.html#:RustFmt" name=":RustFmt">:RustFmt</a><br>
Runs <a class="Identifier" href="ft_rust.html#g:rustfmt_command">g:rustfmt_command</a> on the current buffer. If<br>
<a class="Identifier" href="ft_rust.html#g:rustfmt_options">g:rustfmt_options</a> is set then those will be passed to the<br>
executable.<br>
<br>
If <a class="Identifier" href="ft_rust.html#g:rustfmt_fail_silently">g:rustfmt_fail_silently</a> is 0 (the default) then it<br>
will populate the <a class="Identifier" href="quickfix.html#location-list">location-list</a> with the errors from<br>
<a class="Identifier" href="ft_rust.html#g:rustfmt_command">g:rustfmt_command</a>. If <a class="Identifier" href="ft_rust.html#g:rustfmt_fail_silently">g:rustfmt_fail_silently</a> is set to 1<br>
then it will not populate the <a class="Identifier" href="quickfix.html#location-list">location-list</a>.<br>
<br>
:RustFmtRange <a class="Constant" href="ft_rust.html#:RustFmtRange" name=":RustFmtRange">:RustFmtRange</a><br>
Runs <a class="Identifier" href="ft_rust.html#g:rustfmt_command">g:rustfmt_command</a> with selected range. See<br>
<a class="Identifier" href="ft_rust.html#:RustFmt">:RustFmt</a> for any other information.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
<span class="Statement">MAPPINGS </span><a class="Constant" href="ft_rust.html#rust-mappings" name="rust-mappings">rust-mappings</a><br>
<br>
This plugin defines mappings for <a class="Identifier" href="motion.html#[[">[[</a> and <a class="Identifier" href="motion.html#]]">]]</a> to support hanging indents.<br>
<br>
It also has a few other mappings:<br>
<br>
<a class="Constant" href="ft_rust.html#rust_<D-r>" name="rust_<D-r>">rust_<D-r></a><br>
<span class="Special"><D-r></span> Executes <a class="Identifier" href="ft_rust.html#:RustRun">:RustRun</a> with no arguments.<br>
<span class="Todo">Note</span>: This binding is only available in MacVim.<br>
<br>
<a class="Constant" href="ft_rust.html#rust_<D-R>" name="rust_<D-R>">rust_<D-R></a><br>
<span class="Special"><D-R></span> Populates the command line with <a class="Identifier" href="ft_rust.html#:RustRun">:RustRun</a>! using the<br>
arguments given to the last invocation, but does not<br>
execute it.<br>
<span class="Todo">Note</span>: This binding is only available in MacVim.<br>
<br>
<span class="PreProc">==============================================================================</span><br>
vim:tw=78:sw=4:noet:ts=8:ft=help:norl:<br>
</div>
</article>
<footer>
<a href="#top">Return to the top</a> - <a href="index.html">Return to main</a>
<span class="EnglishJapaneseLink">
<span class="CurrentLanguage">English</span>
</span>
<br />
<div style="text-align:right;">
Hosted by <a href="https://github.com/vim-jp/vimdoc-en">vimdoc-en project</a><br />
If you met any problem, please report it to <a href="https://github.com/vim-jp/vimdoc-en/issues">issue</a>.<br />
</div>
</footer>
<!--<script src="js/check-referrer.js" type="text/javascript"></script>-->
</body>
</html>
<!-- vim:set ts=8 sts=2 sw=2 tw=0 et: -->
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。