You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-core/src
PiergiorgioZagaria 219d2c2515
Change default formatter for any language (#2942)
* Change default formatter for any language

* Fix clippy error

* Close stdin for Stdio formatters

* Better indentation and pattern matching

* Return Result<Option<...>> for fn format instead of Option

* Remove unwrap for stdin

* Handle FormatterErrors instead of Result<Option<...>>

* Use Transaction instead of LspFormatting

* Use Transaction directly in Document::format

* Perform stdin type formatting asynchronously

* Rename formatter.type values to kebab-case

* Debug format for displaying io::ErrorKind (msrv fix)

* Solve conflict?

* Use only stdio type formatters

* Remove FormatterType enum

* Remove old comment

* Check if the formatter exited correctly

* Add formatter configuration to the book

* Avoid allocations when writing to stdin and formatting errors

* Remove unused import

Co-authored-by: Gokul Soumya <gokulps15@gmail.com>
2 years ago
..
increment Improve Readability (#2639) 2 years ago
auto_pairs.rs use main application event loop 2 years ago
chars.rs Temporarily turn on unicode-lines 2 years ago
comment.rs Fix toggle_comments command on multiple selections (#1882) 2 years ago
config.rs Add support for local language configuration (#1249) 2 years ago
diagnostic.rs Suport diagnostic code (#3096) 2 years ago
diff.rs Fix Clippy lints in tests (#1563) 2 years ago
graphemes.rs Improve Readability (#2639) 2 years ago
history.rs Improve Readability (#2639) 2 years ago
indent.rs Fix some typos (#2978) 2 years ago
lib.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2 years ago
line_ending.rs Add (prev) paragraph motion 2 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fix match brackets comment (#1346) 3 years ago
movement.rs respect count in treesitter movement (#3058) 2 years ago
object.rs Fix edge-case in tree-sitter expand_selection selection command (#2877) 2 years ago
path.rs Add workspace and document diagnostics picker (#2013) 2 years ago
position.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2 years ago
register.rs fixes showing the last prompt on empty input (#2870) 2 years ago
search.rs Jump to the next number on the line before incrementing (#1778) 2 years ago
selection.rs Fix initial selection of Document in new view 2 years ago
shellwords.rs Enable shellwords for Windows (with escaping disabled) (#2767) 2 years ago
state.rs Reduce State use a bit further 3 years ago
surround.rs Improve Readability (#2639) 2 years ago
syntax.rs Change default formatter for any language (#2942) 2 years ago
test.rs Remove usage of format ident feature from tests (#2028) 2 years ago
textobject.rs Add `m` textobject to select closest surround pair 2 years ago
transaction.rs core: transaction: Resolve some TODOs 2 years ago
wrap.rs add reflow command (#2128) 2 years ago