mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
64708d7856
Change phpcd to phpcomplete, as phpcd does not work in windows
1.2 KiB
1.2 KiB
title | description |
---|---|
SpaceVim lang#php layer | PHP language support, including code completion, syntax lint and code runner |
Available Layers >> lang#php
Description
This layer adds PHP language support to SpaceVim.
Features
- auto-completion
- syntax checking
- goto definition
- refernce finder
- lsp support (require lsp layer)
Install
To use this configuration layer, update custom configuration file with:
[[layers]]
name = "lang#php"
Key bindings
Jump to definition
Mode | Key Bindings | Description |
---|---|---|
normal | g d |
Jump to the definition position of cursor symbol |
Running current script
To running a php script, you can press SPC l r
to run current file without loss focus,
and the result will be shown in a runner buffer.