1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:10:05 +08:00
SpaceVim/docs/layers/lang/scala.md

44 lines
843 B
Markdown
Raw Normal View History

---
title: "SpaceVim lang#scala layer"
description: "This layer adds scala language support to SpaceVim"
---
# [Available Layers](../../) >> lang#scala
<!-- vim-markdown-toc GFM -->
- [Description](#description)
- [Features](#features)
- [Install](#install)
<!-- vim-markdown-toc -->
## Description
This layer adds scala language support to SpaceVim. This layer includes the [vim-scala](https://github.com/derekwyatt/vim-scala) plugin.
## Features
- syntax highlighting
- indent
- sbt compiler
- soring imports
- tagbar support
## Install
To use this configuration layer, update custom configuration file with:
```toml
[[layers]]
name = "lang#scala"
```
## Key bindings
**Import key bindings:**
| Key Binding | Description |
| ----------- | ------------------------- |
| `SPC l s` | sort imports |