[vim/vim] runtime(rustfmt): Recover accidentally deleted code. (PR #19251)

0 views
Skip to first unread message

arkissa

unread,
9:48 AM (2 hours ago) 9:48 AM
to vim/vim, Subscribed

':RustFmt' will report this error.

Error detected while processing function rustfmt#Format[1]..<SNR>111_RustfmtCommand[2]..<SNR>111_RustfmtConfigOptions:
line   12:
E121: Undefined variable: default
rust.vim: was not able to parse rustfmt messages. Here is the raw output:

Unrecognized option: 'write-mode'
Error detected while processing function rustfmt#Format[1]..<SNR>111_RunRustfmt:
line  104:
E776: No location list
Press ENTER or type command to continue
image.png (view on web)

I search in blame and found 'default' variable was removed in this pr #18650, IMO this part of the code wouldn't affect the original meaning this pr, so i added it back.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19251

Commit Summary

  • 0e8f6ae runtime(rustfmt): Recover accidentally deleted code.

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19251@github.com>

Christian Brabandt

unread,
10:35 AM (1 hour ago) 10:35 AM
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19251)

Thanks, apparently no-one noticed until now 🤷 .
I think we need to have the rustfmt_find_toml variable also being documented then.
Let me do that in addition.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19251/c3796842439@github.com>

Christian Brabandt

unread,
10:48 AM (1 hour ago) 10:48 AM
to vim/vim, Subscribed

Closed #19251 via ad0dd7c.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19251/issue_event/22275013943@github.com>

Reply all
Reply to author
Forward
0 new messages