aboutsummaryrefslogtreecommitdiffstats
path: root/oni-php
Commit message (Collapse)AuthorAgeFilesLines
* oni-php: Add PHP treesitter overrideGravatar Tom Willemse8 days1-1/+8
|
* oni-php: Switch out ‘php-mode’ for ‘php-ts-mode’Gravatar Tom Willemse8 days2-38/+40
|
* oni-php: Add some snippetsGravatar Tom Willemse2026-03-104-0/+25
|
* find-php-class: Ignore cdk.out directoryGravatar Tom Willemse2026-03-091-1/+4
| | | | | This directory is large and slows down the find operation AND causes old matches to show up.
* oni-php: oni-php-comment-dwim: Require inactive regionGravatar Tom Willemse2026-03-091-1/+2
| | | | | If the region is active, don't try to be smart about what to insert, just do the normal ‘comment-dwim’.
* oni-php: ‘oni-php-add-use’: Search for existing use ↵Gravatar Tom Willemse2026-02-091-2/+2
| | | | | | | | more strictly Before searching for ‘App\Models\Promotion’ would also match ‘App\Models\PromotionBulkImport’ and not add the use, but by searching for ‘use App\Models\Promotion;’ we ensure that we don't accidentally match a substring.
* oni-php/snippets/test-comment: Update test method annotationGravatar Tom Willemse2026-02-091-1/+1
| | | | We don't use comments anymore, but annotations instead.
* oni-php/snippets/test-class: Remove WithFakerGravatar Tom Willemse2026-02-091-2/+1
| | | | We can use ‘$this->faker()’ instead.
* oni-php/snippets/namespace: Don't capitalize already ↵Gravatar Tom Willemse2026-02-091-1/+5
| | | | | | | capitalized If a part of the directory tree is already capitalized a certain way, don't capitalize it.
* oni-php: Add conditions to expanding short snippetsGravatar Tom Willemse2026-01-084-1/+13
|
* oni-php: Remove unused snippetGravatar Tom Willemse2026-01-081-8/+0
|
* oni-php: Add rainbow-identifiers modeGravatar Tom Willemse2025-12-221-2/+11
|
* oni-php: Add snippetsGravatar Tom Willemse2025-12-104-2/+26
|
* oni-php: Add snippetsGravatar Tom Willemse2025-05-202-0/+12
|
* oni-php: Change key of test-comment snippet to @tGravatar Tom Willemse2025-05-201-1/+1
|
* oni-php: Add auto-insert template for Laravel test filesGravatar Tom Willemse2025-04-161-1/+26
|
* oni-php: Add logger-info snippetGravatar Tom Willemse2025-04-101-0/+5
|
* oni-php: Add more snippetsGravatar Tom Willemse2025-04-072-0/+13
|
* oni-php: Swap electric-pair-mode for smartparensGravatar Tom Willemse2025-04-071-2/+2
|
* oni-php: Make sure imports aren't duplicatedGravatar Tom Willemse2025-04-071-5/+6
|
* oni-php: Fix casts snippetGravatar Tom Willemse2025-04-071-1/+1
|
* oni-php: Add ‘rainbow-delimiters-mode’Gravatar Tom Willemse2025-04-071-3/+4
|
* oni-php: Make ‘oni-php-comment-dwim’ work with classesGravatar Tom Willemse2025-04-071-2/+3
|
* Add strict-types snippet to PHPGravatar Tom Willemse2025-04-071-0/+5
|
* Add casts snippet to PHPGravatar Tom Willemse2025-04-071-0/+7
|
* oni-php: Add function that makes ‘comment-dwim’ add ↵Gravatar Tom Willemse2025-02-111-1/+24
| | | | | | | | doc comments This checks to see if point is right before a function and if so adds a documentation comment. Otherwise it calls to the original ‘comment-dwim’ to do the right thing for that particular place.
* oni-php: Add command to enter expected operatorGravatar Tom Willemse2025-01-241-1/+19
| | | | | The command either inserts a ‘.’ if point is next to, or inside, a string or inside a comment. Otherwise it'll insert the access operator ‘->’ instead.
* oni-php: Add snippet for test classGravatar Tom Willemse2025-01-221-0/+15
|
* oni-php: Add support to add first use statementGravatar Tom Willemse2025-01-221-3/+8
|
* Add snippet for PHP modeGravatar Tom Willemsen2025-01-131-0/+5
|
* oni-php: Enable subword-modeGravatar Tom Willemsen2024-12-301-1/+2
|
* oni-php: Warn me when I'm trying to use a non-existent classGravatar Tom Willemsen2024-12-301-3/+6
|
* oni-php: find-php-class: Only match namespace at ↵Gravatar Tom Willemsen2024-12-301-1/+1
| | | | beginning of line
* Add snippet to add the namespace to a fileGravatar Tom Willemsen2024-12-301-0/+5
|
* oni-php: Make sure the use script runs in the right ↵Gravatar Tom Willemsen2024-12-301-2/+3
| | | | directory
* oni-php: Add command to add use statementGravatar Tom Willemsen2024-12-302-1/+39
|
* Enable yasnippets in PHPGravatar Tom Willemsen2024-12-241-1/+2
|
* Add PHP snippets for writing testsGravatar Tom Willemsen2024-12-242-0/+17
|
* Add PHP snippet for <?php headerGravatar Tom Willemsen2024-12-231-0/+5
|
* Replace all Cask files with Eldev filesGravatar Tom Willemse2023-05-252-8/+13
| | | | | | | | | I'm working on moving my build setup to my own laminar[1] instance. To do this I need to be able to package files up. It appears that I couldn't quite get Cask to work, and Eldev exists in the Guix[2] package repository. [1]: https://laminar.ryuslash.org/ [2]: https://guix.gnu.org/
* Remove autoloads for snippet loadingGravatar Tom Willemse2021-12-011-3/+1
| | | | | Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my package configuration hasn't been loaded it shouldn't try to include my snippets.
* Remove all self-loading autoload cookiesGravatar Tom Willemse2021-11-231-5/+10
| | | | | | | | The big downside of usuing these cookies to inject my configuration into the loading of a package is that it means that I can't load that package without my configuration anymore. This means that when I start ‘emacs -Q’ and then call ‘package-initialize’ it'll load my configuration as well. This makes debugging things very difficult.
* [oni-fci] Remove configurationGravatar Tom Willemse2021-06-221-7/+3
| | | | | ‘fci-mode’ has been completely superseded by the built-in ‘display-fill-column-indicator-mode’.
* Remove phpcbf, it doesn’t seem to exist anymoreGravatar Tom Willemse2021-02-061-3/+2
|
* Explicitly require hydra for configs that create hydrasGravatar Tom Willemse2020-09-091-1/+2
|
* Use ‘display-fill-column-indicator-mode’ if possibleGravatar Tom Willemse2020-09-071-2/+6
| | | | | Fall back to ‘fci-mode’ if the function ‘display-fill-column-indicator-mode’ doesn’t exist.
* Remove dependency declarations from Cask filesGravatar Tom Willemse2020-03-201-11/+0
| | | | | | The dependencies are also in the package files themselves and are the actual source of truth. The way I’ve reorganized the stages should mean that this isn’t necessary anymore.
* Add oni-hydra configuration, spruce up some hydrasGravatar Tom Willemse2020-03-051-2/+2
|
* Enable ‘auto-fill-mode’ for comments in most ↵Gravatar Tom Willemse2019-12-101-1/+7
| | | | | | | programming modes The ones that are already backed by a formatter, such as Java, Python and sh don’t need it.
* Change version formatGravatar Tom Willemse2019-09-041-1/+1
| | | | | | | | | | | In order to support my tablet which seems to have a lower maximum integer value (I guess it’s 32-bit? I’m surprised) and can’t handle the version numbers I was using before. It would turn them into floating point numbers, which adds a ~.0~, this made it impossible to install any package. Any installations I have will need to reinstall all their oni packages so that the new version number is picked up, since the new version number will be lower than the old one.