Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update end_line when using g:neoformat_run_all_formatters. #257

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aetherknight
Copy link
Contributor

fixes #256 by making end_line mutable, so that it can be updated after each formatter runs, when g:neoformat_run_all_formatters is enabled.

I think this is a test case that could be easily tested, but I don't have much experience with vader and the test suite here.

@aetherknight
Copy link
Contributor Author

Hmm, it looks like travis hasn't passed tests anytime recently though.

novadev94 added a commit to novadev94/neoformat that referenced this pull request Feb 17, 2020
novadev94 added a commit to novadev94/neoformat that referenced this pull request Feb 17, 2020
…atters-num-line-fix

* upstream/master: (35 commits)
  Don't reset `&filetype`, unless we really have to (sbdchd#323)
  Support for GDScript with gdformat (sbdchd#321)
  Remove unused flag from ormolu (sbdchd#319)
  add javascriptreact (sbdchd#320)
  Add prettier-eslint formatter for typescript (sbdchd#315)
  Add nixpkgs-fmt Nix formatter (sbdchd#312)
  Add support for beancount and minor doc updates (sbdchd#311)
  Add F# formatting with Fantomas (sbdchd#310)
  Fix R linting with styler (sbdchd#307)
  Fix php-cs-fixer sending blank file to neoformat (sbdchd#306)
  Remove deprecated prettier --stdin option as per prettier/prettier#7668 (sbdchd#305)
  adding support for typescriptreact filetype (sbdchd#279) (sbdchd#304)
  Add support for semistandard (sbdchd#301)
  go: add gofumpt (sbdchd#300)
  Add support for puppet via puppet-lint (sbdchd#299)
  Add support for cabal files through cabal-fmt (sbdchd#298)
  Sync supported formatters in docs with readme (sbdchd#294)
  Add clang-format to default C# formatters (sbdchd#293)
  Add support for V (v fmt) (sbdchd#292)
  Update README.md (sbdchd#291)
  ...
novadev94 added a commit to novadev94/neoformat that referenced this pull request Jun 22, 2021
novadev94 added a commit to novadev94/neoformat that referenced this pull request Aug 16, 2021
novadev94 added a commit to novadev94/neoformat that referenced this pull request Sep 5, 2021
novadev94 added a commit to novadev94/neoformat that referenced this pull request Sep 23, 2021
…atters-num-line-fix

* upstream/master: (58 commits)
  doc: add caddyfile related info to README.md (sbdchd#440)
  feat: add formatter for caddyfile (sbdchd#439)
  Add formatter for d2lang (sbdchd#438)
  feat: add verible-verilog-format as verilog and system verilog formatter (sbdchd#437)
  feat: add prettier as astro formatter (sbdchd#436)
  Add forge as solidity formatter (sbdchd#435)
  feat: add htmldjano filetype and formatter (sbdchd#434)
  fix: adjust comments of Example (sbdchd#433)
  Wrong usage of expand function (sbdchd#430)
  feat: Added support for csharpier (sbdchd#428)
  fix: global flag `loaded_neoformat` (sbdchd#427)
  add: support opencl language which is a subset of C language and is added some additional keywords (sbdchd#425)
  fix: laravel pint not shown as an option (sbdchd#422)
  feat: add yamlfmt support for YAML (sbdchd#421)
  Add laravel/pint as php formatter (sbdchd#420)
  feat: add blade-formatter (sbdchd#419)
  Add prisma formatter (sbdchd#417)
  Fix tabs in shfmt (sbdchd#416)
  Add prettier to ruby autoformatters (sbdchd#415)
  Added a new formatter for Zig because previous one was slow AF! (sbdchd#413)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

g:neoformat_run_all_formatters = 1 can break multiple formatters
1 participant