Skip to content

Commit 627790f

Browse files
committed
Invoke artisan serve via :Start
The old behavior is superseded by the :Homestead command.
1 parent c8be088 commit 627790f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Vim support for [Laravel/Lumen 5+][laravel] projects.
1919
* Enhanced `gf` command works on class names, template names, config and translation keys.
2020
* Complete view/route names in insert mode.
2121
* Use `:Console` to fire up a REPL (`artisan tinker`).
22+
* Use `:Start` to serve the app locally (`artisan serve`).
2223

2324
[wiki-navigation]: https://github.com/noahfrederick/vim-laravel/wiki/Navigation-Commands
2425

autoload/laravel/projectionist.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function! laravel#projectionist#append() abort
4545

4646
let projections = {
4747
\ '*': {
48-
\ 'start': 'homestead ssh',
48+
\ 'start': [laravel#app().makeprg(), 'serve'],
4949
\ 'console': [laravel#app().makeprg(), 'tinker'],
5050
\ 'framework': 'laravel',
5151
\ },

0 commit comments

Comments
 (0)