Updated and fixed Rust format config
This commit is contained in:
parent
75ea831454
commit
e6e8d86e45
@ -193,7 +193,17 @@
|
||||
|
||||
Use tab characters for indentation, spaces for alignment.
|
||||
#+BEGIN_SRC toml
|
||||
hard_tabs = true
|
||||
hard_tabs = false
|
||||
#+END_SRC
|
||||
|
||||
Number of spaces per tab.
|
||||
#+BEGIN_SRC toml
|
||||
tab_spaces = 4
|
||||
#+END_SRC
|
||||
|
||||
I want newlines to always be Unix style.
|
||||
#+BEGIN_SRC toml
|
||||
newline_style = "Unix"
|
||||
#+END_SRC
|
||||
|
||||
Maximum width of each line
|
||||
@ -206,11 +216,6 @@
|
||||
merge_imports = true
|
||||
#+END_SRC
|
||||
|
||||
My newline style will always be Unix.
|
||||
#+BEGIN_SRC toml
|
||||
newline_style = Unix
|
||||
#+END_SRC
|
||||
|
||||
Convert =/* */= comments to =//= comments where possible.
|
||||
#+BEGIN_SRC toml
|
||||
normalize_comments = true
|
||||
@ -243,11 +248,6 @@
|
||||
struct_field_align_threshold = 20
|
||||
#+END_SRC
|
||||
|
||||
Number of spaces per tab.
|
||||
#+BEGIN_SRC toml
|
||||
tab_spaces = 2
|
||||
#+END_SRC
|
||||
|
||||
Break comments to fit on the line.
|
||||
#+BEGIN_SRC toml
|
||||
wrap_comments = true
|
||||
|
Loading…
Reference in New Issue
Block a user