mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:40:05 +08:00
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
- reference 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.