diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-11-05 12:15:44 +0800 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-11-05 12:15:44 +0800 |
| commit | a6d7906807e59026fa99aeebb1942bcac831e723 (patch) | |
| tree | 8da9efff6304e530e2b7f257133c70c423cc9cbd | |
| parent | 6bac767124a1e8b776b7169f2cae6dde245cc195 (diff) | |
| parent | f9351d65eb05d4c388ac90560723c5a231998f7d (diff) | |
Merge remote-tracking branch 'Screwtapello/support-rust-doc-comments'
| -rw-r--r-- | rc/base/rust.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/base/rust.kak b/rc/base/rust.kak index d5e7ded0..9909cb8e 100644 --- a/rc/base/rust.kak +++ b/rc/base/rust.kak @@ -42,7 +42,7 @@ define-command -hidden rust-filter-around-selections %{ define-command -hidden rust-indent-on-new-line %~ evaluate-commands -draft -itersel %< # copy // comments prefix and following white spaces - try %{ execute-keys -draft k <a-x> s ^\h*\K//\h* <ret> y gh j P } + try %{ execute-keys -draft k <a-x> s ^\h*\K//[!/]?\h* <ret> y gh j P } # preserve previous line indent try %{ execute-keys -draft \; K <a-&> } # filter previous line |
