1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
SpaceVim/docs/layers/lang/sh.md
2019-09-04 22:56:45 +08:00

1.2 KiB

title description
SpaceVim lang#sh layer Shell script development layer, provides autocompletion, syntax checking, code format for bash and zsh script.

Available Layers >> lang#sh

Description

This layer is for shell script development. Shell script includes bash, zsh and fish script.

Features

  • Code completion
  • Syntax highlighting and indent
  • Syntax checking
  • Code formatting
  • Jump to declaration

SpaceVim also provides language server protocol support for bash script. To enable language server protocol for bash script, you need to load lsp layer for bash.

Install

Layer

To use this configuration layer, update custom configuration file with:

[[layers]]
  name = "lang#sh"

Key bindings

Language specific key bindings

Key Bindings Descriptions
SPC l d / K Show doc of cursor symbol
g d Jump to definition