2018-08-25 19:27:53 +08:00
|
|
|
---
|
|
|
|
title: "SpaceVim lang#scala layer"
|
2019-02-03 20:51:01 +08:00
|
|
|
description: "This layer adds Scala language support to SpaceVim"
|
2018-08-25 19:27:53 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# [Available Layers](../../) >> lang#scala
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Description](#description)
|
|
|
|
- [Features](#features)
|
|
|
|
- [Install](#install)
|
2019-02-03 20:51:01 +08:00
|
|
|
- [Key bindings](#key-bindings)
|
2018-08-25 19:27:53 +08:00
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
2019-02-03 20:51:01 +08:00
|
|
|
This layer adds Scala language support to SpaceVim. This layer includes the [vim-scala](https://github.com/derekwyatt/vim-scala) plugin.
|
2018-08-25 19:27:53 +08:00
|
|
|
|
|
|
|
## 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"
|
|
|
|
```
|
2018-12-28 01:14:42 +08:00
|
|
|
|
|
|
|
## Key bindings
|
|
|
|
|
|
|
|
**Import key bindings:**
|
|
|
|
|
2019-02-03 20:51:01 +08:00
|
|
|
| Key Bindings | Descriptions |
|
|
|
|
| ------------ | ------------------------- |
|
|
|
|
| `SPC l s` | sort imports |
|