Commit Graph

26 Commits

Author SHA1 Message Date
Camille Dejoye
209ae8f20a doc: update the doc for the order of hooks 2020-06-13 12:46:57 +02:00
Camille Dejoye
0fc75c596c improvement: generalize the hook system
It is still not possible to override an existing hook but with this
system users can create new hooks really simply without having to update
any configuration since they will be autodetected.

The only missing thins is the possibility to disable hook, therefore it
is the responsibility of each hook to provide a way to the user to use
it or not.
2020-06-07 15:26:06 +02:00
Camille Dejoye
18621cafcb improvement: add a filetype hook for PHP
This solve the issue #19
I put it there as an example, it might be better in its own repository.
This way a user will be able to choose to use it or not, which will
allow them to be able to provide their own implementation.

This attempt only deal with methods.
Functions are not part of the PSR-2.
Closures should always have the opening brace on the same line as the
closing parenthesis, this extension is not a CS fixer and therefore as
no reason to deal with them.
2020-06-07 10:58:28 +02:00
Camille Dejoye
51806e3548 improvement: allow to repeat with . 2020-06-06 16:19:38 +02:00
93d1a33400 updating docs 2018-03-31 14:28:16 -07:00
Matteo Landi
9beff4da68 Add new setting: argwrap_tail_comma_braces 2016-10-12 23:23:20 +02:00
7e5465a2ff Updating readme 2016-07-10 13:43:09 -07:00
4057c955bc Updating docs to reflect new features 2015-12-17 22:03:08 +09:00
bb599e5126 Updating readme 2015-08-19 18:56:11 +09:00
d790b83664 Updating doc 2015-08-19 18:26:56 +09:00
e143792bd8 Updating doc 2015-08-19 18:24:27 +09:00
a610a83972 Updating doc 2015-08-19 18:20:19 +09:00
c766ebcd31 Updating docs 2015-08-09 15:06:04 +09:00
d40ab2f671 Updating doc 2015-07-09 17:22:04 +09:00
57147e5382 Small updates 2015-07-09 13:12:35 +09:00
255271338d Updating README 2015-06-03 23:36:02 +09:00
4bc6e8623a Fixing readme 2015-03-25 22:35:58 +09:00
08b2ff9bc5 Updating documentation 2015-03-25 14:40:04 +09:00
b7fc4d414f Make changes work with buffers 2015-03-25 14:31:14 +09:00
ebe4380188 Adding g:argwrap_wrap_closing_brace , getting rid of g_argwrap_wrap_style 2015-03-25 14:17:45 +09:00
7ed22d6602 Updating documentation 2015-01-28 23:15:22 +09:00
0c89e2ef6b Updating documentation 2015-01-28 14:09:04 +09:00
c4f7aa3d80 Tweaking documentation 2014-12-19 09:38:32 +09:00
20227f2c6e Fixing typo 2014-12-07 11:53:12 +09:00
f8584e8964 Updating documentation 2014-12-07 11:41:49 +09:00
f7c15bb3c6 Adding documentation 2014-12-07 11:18:05 +09:00