mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-06 07:56:53 -04:00
43 lines
1.1 KiB
VimL
43 lines
1.1 KiB
VimL
Plug 'tpope/vim-projectionist'
|
|
|
|
let g:projectionist_heuristics = {
|
|
\ "artisan": {
|
|
\ "*": {
|
|
\ "start": "sail up",
|
|
\ "console": "sail tinker",
|
|
\ },
|
|
\ "app/*Controller.php": {
|
|
\ "type": "source",
|
|
\ "alternate": "tests/Feature/{}ControllerTest.php",
|
|
\ },
|
|
\ "app/**/Models/*.php": {
|
|
\ "type": "source",
|
|
\ "alternate": [
|
|
\ "tests/Unit/{dirname}/Models/{basename}Test.php",
|
|
\ "tests/Unit/{dirname}/{basename}Test.php",
|
|
\ ],
|
|
\ },
|
|
\ "app/**/Listeners/*.php": {
|
|
\ "type": "source",
|
|
\ "alternate": "tests/Unit/{dirname}/Listeners/{basename}Test.php",
|
|
\ },
|
|
\ "app/*.php": {
|
|
\ "type": "source",
|
|
\ "alternate": [
|
|
\ "tests/Unit/{}Test.php",
|
|
\ "tests/Feature/{}Test.php",
|
|
\ ]
|
|
\ },
|
|
\ "tests/Feature/*Test.php": {
|
|
\ "type": "test",
|
|
\ "alternate": "app/{}.php",
|
|
\ },
|
|
\ "tests/Unit/*Test.php": {
|
|
\ "type": "test",
|
|
\ "alternate": [
|
|
\ "app/{}.php",
|
|
\ "app/Models/{}.php",
|
|
\ ],
|
|
\ },
|
|
\ }}
|