Merge pull request #32 from yut23/patch-1
Match the inner brace scope when on an opening bracket
Match the inner brace scope when on an opening bracket
Fixes #3.
Merge pull request #27 from camilledejoye/fix/php-smart-brace-handle-static-methods
Fix PHP smart brace hook for static method
remove remaining spaces at the end of the line after unwrapping
Fix PHP smart brace hook for static method
Merge pull request #24 from elythyr/improvement-preserve-cursor-position
Improvement preserve cursor position
Merge pull request #23 from elythyr/improvement-hooks
improvement: hooks & PHP open brace handling for methods
improvement: preserve the cursor position
The idea was to be able to keep the cursor on the same position than
before an operation.
To solve this issue I first extract the position of the cursor, this
position is given relative to the argument list. It contains the number
of the argument and a column number relative to the start of the
argument.
This way it is possible to position the cursor later on and I hope it
should be pretty easy for any extension to adapt it if needed since it's
provided in the container dictionary.
doc: update the doc for the order of hooks
improvement: globally initialize the settings
The settings were initialize in an autoload which is not a good
practice.
So I initialize them in the plugin directly, this way there are
initialize only once when the plugin is loaded and they can be access
anywhere without having to worry about what the default value.