LuaFormatter Versions Save

Code formatter for Lua

1.3.6

3 years ago

What’s Changed

  • fix: avoid break line before shorter explist (#187) @Koihik
  • fix: windows build (#185) @Koihik
  • fix: cache result when detecting whether the AST node exceeds the column limit (#184) @Koihik
  • Fixed align_parameter when using tabs (#181) @Thomasims
  • Fix namespace alias for <experimental/filesystem> (#182) @Hs293Go
  • Implement --check option (#179) @carlsmedstad
  • Support $XDG_CONFIG_HOME on MacOS (#178) @carlsmedstad
  • feat: support config line_separator (#175) @SafeteeWoW
  • fix: put align space after tab indent (#173) @Koihik
  • Fix bug with option spaces-inside-functioncall-parens. (#169) @dpacbach
  • [Feature] New format option "line_breaks_after_function_body" (#167) @mrRomeoT
  • fix: unexpected linebreak in functioncall (#165) @Koihik
  • Add Four New Spacing Options (#163) @dpacbach

1.3.5

3 years ago

What’s Changed

  • fix: redundant indent of break_after_functiondef_lp (#159) @Koihik
  • Fix configuration file fallback on Linux (#155) @yut23
  • docs: Add information about disable formatting feature (#153) @rafauke
  • fix: fix break line logic for 'break_after_functioncall_lp' (#143) @tammela
  • tidy: fix most of clang-tidy suggestions (#141) @tammela
  • ci: move to github actions (#138) @tammela
  • fix: fix build (#134) @tammela
  • Conflicting Configuration Validators (#130) @karanankit01
  • Allow to be built with g++ version less than 8 on Linux (#133) @spacewander
  • feat: support disable format (#131) @Koihik
  • Lazy configuration validator (#124) @karanankit01
  • Look in parent directories for .lua-format config file (#127) @Ruin0x11
  • Fix an example in Style-Config.md: indent_width (#123) @ki-foobar

1.3.4

3 years ago
  • Fix some indent bug
  • Support specify config in command line

1.3.3

4 years ago
  • Fixes an issue that doubles comment after formatting in some case.

1.3.1

4 years ago
  • replace keep_simple_funciton_one_line to keep_simple_control_block_one_line and keep_simple_block_one_line
  • support style config spaces_before_call

1.3.0

4 years ago
  • support transform quote of string literal
  • build on C++ 17 now

1.2.2

4 years ago
  • fix some indent bug

1.2.1

4 years ago
  • fix some line break bug on unary operator

1.2.0

5 years ago

BREAKING CHANGE Style config options has been completely refactored. see Wiki

1.1.0

5 years ago
  • chop down parameter and table when they are too long.

Breaking Change

  • remove 'keep_simple_function_one_line' in config file replace 'keep_simple_function_one_line' to 'keep_simple_block_one_line'.

  • remove 'keep_simple_table_one_line' in config file Now the default will format table to one line.