1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20:06 +08:00
SpaceVim/docs/layers/format.md

34 lines
691 B
Markdown
Raw Normal View History

2018-09-12 20:14:20 +08:00
---
title: "SpaceVim format layer"
description: "Code formatting support for SpaceVim"
---
# [Available Layers](../) >> format
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Install](#install)
- [Configuration](#configuration)
<!-- vim-markdown-toc -->
## Description
This layer provides code format feature SpaceVim, and neoformat is included in this layer.
## Install
This layer is enabled by default. If you want to disable this layer, add following to your configuration file:
```toml
[[layers]]
name = "tools"
enable = false
```
## Configuration
neoformat provide better default for different languages, but you can also config it in bootstrap function.